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
206 B
Nim
13 lines
206 B
Nim
import
|
|
../accounts_cache as impl,
|
|
../base/base_desc
|
|
|
|
type
|
|
AccountsCache* = ref object of LedgerRef
|
|
ac*: impl.AccountsCache
|
|
|
|
SavePoint* = ref object of LedgerSpRef
|
|
sp*: impl.SavePoint
|
|
|
|
# End
|