nimbus-eth1/nimbus/db/kvt/kvt_walk.nim
Jordan Hrycaj dda049cd43
Simple stupid key-value table companion for Aristo DB (#1746)
why:
  Additional tables needed for the `CoreDB` object with separate
  key-value table and MPT.

details:
+ Stripped down copy of Aristo DB to have a similar look'n feel. Otherwise
  it is just a posh way for accessing `Table` objects or `RocksDB` data.
+ No unit tests yet, will be tested on the go.
2023-09-12 19:44:45 +01:00

28 lines
927 B
Nim

# Nimbus - Types, data structures and shared utilities used in network sync
#
# Copyright (c) 2018-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.
## Backend DB traversal for Kvt DB
## ===============================
##
## This module provides iterators for the memory based backend or the
## backend-less database. Do import `kvt_walk/persistent` for the
## persistent backend though avoiding to unnecessarily link to the persistent
## backend library (e.g. `rocksdb`) when a memory only database is used.
##
{.push raises: [].}
import
./kvt_walk/memory_only
export
memory_only
# End