nimbus-eth1/nimbus
Jordan Hrycaj 134fe26997
Store proved snap accounts (#1145)
* Relocated `IntervalSets` to nim-stew repo

* Accumulate accounts on temporary kv-DB

why:
  Explore the data as returned from snap/1. Will be converted to a
  `eth/db` next.

details:
  Verify and accumulate per/state-root accounts downloaded via snap.

also:
  Some unit tests

* Replace `Table` by `TrieDatabaseRef` for accounts accumulator

* update ticker statistics

details:
  mean/variance based counter update

* allow persistent db for proved accounts

* rebase, and globally activate unit test

* fix statistics
2022-07-01 12:42:17 +01:00
..
accounts Initial implementation of the merge spec 2022-01-24 09:44:39 +02:00
db Store proved snap accounts (#1145) 2022-07-01 12:42:17 +01:00
docs.static Kludge for 'make docs' to produce pretty nim manuals 2022-01-22 08:26:57 +02:00
graphql first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
merge add haveBlockAndState to BaseChainDB and use it in engine api 2022-06-30 16:11:43 +07:00
p2p handle PoA block difficulty during block creation 2022-06-15 07:55:00 +07:00
rpc add haveBlockAndState to BaseChainDB and use it in engine api 2022-06-30 16:11:43 +07:00
sync Store proved snap accounts (#1145) 2022-07-01 12:42:17 +01:00
transaction Squashed snap-sync-preview patch (#1076) 2022-05-09 15:04:48 +01:00
utils Store proved snap accounts (#1145) 2022-07-01 12:42:17 +01:00
vm handle PoA block difficulty during block creation 2022-06-15 07:55:00 +07:00
vm2 handle PoA block difficulty during block creation 2022-06-15 07:55:00 +07:00
block_types.nim reduce compiler warnings 2019-11-13 21:49:39 +07:00
chain_config.nim Update header accumulator test to start from Mainnet genesis (#1111) 2022-06-01 15:21:22 +02:00
conf_utils.nim modify hive simulators to run in CI 2022-04-21 12:01:18 +07:00
config.nim fix enable rpc logic in makeConfig 2022-06-17 07:54:13 +07:00
constants.nim first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
context.nim config: remove global rng from NimbusConfiguration 2021-09-07 22:02:29 +07:00
debug.nim fix header.extraData printer in debug.nim 2022-03-25 14:00:44 +07:00
errors.nim Redesign of BaseVMState descriptor (#923) 2022-01-18 16:19:32 +00:00
forks.nim fix EIP-4399 'random' opcode 2022-02-08 20:23:40 +07:00
genesis.nim first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
genesis_alloc.nim add goerli testnet genesis data[skip ci] 2020-04-09 19:13:17 +03:00
launcher.nim Premix-related changes 2019-01-28 12:38:23 +02:00
lightchain_shell.nim Some renames 2018-05-28 13:22:28 +03:00
makefile Kludge for 'make docs' to produce pretty nim manuals 2022-01-22 08:26:57 +02:00
nim.cfg NAT port mapping 2019-04-17 03:56:28 +02:00
nimbus.nim fix rpc and websocket server config if they share the same port with engine api 2022-06-13 19:32:19 +07:00
sealer.nim handle PoA block difficulty during block creation 2022-06-15 07:55:00 +07:00
tracer.nim first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
transaction.nim Cleanup some imports and fix some warnings in the process (#1096) 2022-05-22 22:44:15 +02:00
utils.nim first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
validation.nim first step into styleCheck fixes 2022-04-14 08:39:50 +07:00
version.nim dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
vm_compile_info.nim Updated account scheduler (#1124) 2022-06-16 09:58:50 +01:00
vm_computation.nim EVM: Apply EIP-6 in the code (affects both vm and vm2) 2021-06-08 15:36:30 +01:00
vm_gas_costs.nim EIP-3529: Replace SSTORE_CLEARS_SCHEDULE 2021-06-29 07:37:17 +07:00
vm_internals.nim EIP 4399 changes: random -> prevRandao 2022-02-27 14:37:35 +07:00
vm_precompiles.nim re-named some v2*.nim sources to its original name *.nim (without the v2) 2021-04-28 15:24:14 +03:00
vm_state.nim handle PoA block difficulty during block creation 2022-06-15 07:55:00 +07:00
vm_state_transactions.nim Transaction: Prepare txRefundGas to support txCallEvm 2021-05-03 19:51:20 +01:00
vm_types.nim cleanup: remove unused accessLogs code from vm_state 2021-10-28 11:30:18 +07:00