mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-03-01 04:10:45 +00:00
* Merge KvtDbRef/AristoDbRef with their BackendRef * Fix aristo memory_only constructor * Remove aristo_persist.nim
52 lines
1003 B
Nim
52 lines
1003 B
Nim
# nimbus-eth1
|
|
# Copyright (c) 2023-2025 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
|
|
aristo/aristo_constants
|
|
export
|
|
aristo_constants
|
|
|
|
import
|
|
aristo/aristo_init/memory_only,
|
|
aristo/aristo_init/init_common
|
|
export
|
|
finish,
|
|
init
|
|
|
|
import
|
|
aristo/aristo_nearby
|
|
export
|
|
leftPairs, # iterators
|
|
rightPairs,
|
|
rightPairsAccount,
|
|
rightPairsStorage
|
|
|
|
import
|
|
aristo/aristo_desc/[desc_identifiers, desc_structural]
|
|
export
|
|
AristoAccount,
|
|
desc_identifiers,
|
|
`==`
|
|
|
|
import
|
|
aristo/aristo_desc
|
|
export
|
|
AristoDbRef,
|
|
AristoError,
|
|
AristoTxRef,
|
|
isValid
|
|
|
|
# End
|