nimbus-eth1/nimbus/db
Jordan Hrycaj 3198ad1bbd
Fix default pruning for ledger and update core db and ledger logging (#1861)
* Make sure that storage tries are not pruned (by default) on the new Ledger API

why:
  Pruning might kill some unwanted entries from storage tries ending up with an unstable database
  leading to crashes.

* Implement `CoreDb` and `LedgerRef` API tracing

details:
+ Locally enabled at compile time via constants `ProvideCoreDbLegacyAPI`
  and `EnableApiTracking` in either `base.nim` source
+ If enabled it can be selectively turned on/off via public switches in
  the `CoreDb` descriptor.

* Allow suppressing opportunistic `ifNecessaryGetXxx()` functions

why:
  Better troubleshooting when the system crashes (assertions will then
  most probably happen outside an `async` function.)
2023-10-25 15:03:09 +01:00
..
aristo Aristo and core db updates (#1800) 2023-10-03 12:56:13 +01:00
core_db Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
kvt Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
ledger Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
notused Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
access_list.nim implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
accounts_cache.nim processBeaconBlockRoot in TxPool(EIP-4788) 2023-10-19 07:50:07 +07:00
aristo.nim Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
core_db.nim Aristo db refactor tx paradim (#1674) 2023-08-07 18:45:23 +01:00
distinct_tries.nim Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
geth_db.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
incomplete_db.nim Core db update providing additional results code interface (#1776) 2023-09-26 10:21:13 +01:00
kvstore_rocksdb.nim Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
kvt.nim Core db aristo and kvt updates preparing for integration (#1760) 2023-09-18 21:20:28 +01:00
ledger.nim Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
select_backend.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
state_db.nim Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
storage_types.nim Refactor beacon skeleton (#1761) 2023-09-19 11:52:28 +07:00
transient_storage.nim implement EIP-1153: Transient storage 2023-06-23 14:04:36 +07:00
values_from_bytes.nim More work on stateless mode (#1535) 2023-04-12 08:39:11 -04:00