nimbus-eth1/nimbus/db/aristo.nim
Jordan Hrycaj ccf639fc3c
Aristo db transaction based interface (#1628)
* Provide transaction based interface for standard operations

* Provide unit tests for new Aristo interface using transactions

details:
  These new tests combine and replace several single-purpose tests.
  The now unused test sources will be kept for a while to be eventually
  removed.
2023-07-05 14:50:11 +01:00

35 lines
869 B
Nim

# nimbus-eth1
# Copyright (c) 2021 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
# http://www.apache.org/licenses/LICENSE-2.0)
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
# http://opensource.org/licenses/MIT)
# at your option. This file may not be copied, modified, or distributed
# except according to those terms.
## Aristo DB -- Standard interface
## ===============================
##
{.push raises: [].}
import
eth/common,
aristo/aristo_desc/[aristo_types_identifiers, aristo_types_structural],
aristo/[aristo_constants, aristo_desc, aristo_init, aristo_transaction]
export
aristo_constants,
aristo_transaction,
aristo_types_identifiers,
aristo_types_structural,
AristoBackendType,
AristoDbRef,
AristoError,
init,
isValid,
finish
# End