mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-26 02:45:29 +00:00
* Provide TDD/debug facility for inspecting `persistBlocks()` working detail: + Make sure that the last block of a test sample is the first batch item in `persistBlocks()`. + Additionally, allow `AccountsCache` API tracing by setting the flag `extraTraceMessages = true` in the file `accounts_cache.nim` * Overload AccountsCache by abstraction wrapper details: Can facilitate CoreDb API switch, details in `ledger/README.md`.
13 lines
227 B
Nim
13 lines
227 B
Nim
import
|
|
../accounts_ledger as impl,
|
|
../base/base_desc
|
|
|
|
type
|
|
AccountsLedgerRef* = ref object of LedgerRef
|
|
ac*: impl.AccountsLedgerRef
|
|
|
|
LedgerSavePoint* = ref object of LedgerSpRef
|
|
sp*: impl.LedgerSavePoint
|
|
|
|
# End
|