plugeth/core
Sina Mahmoodi 711afbc7fd
core,eth: add debug_setTrieFlushInterval to change trie flush frequency (#24785)
This PR makes it possible to modify the flush interval time via RPC. On one extreme, `0s`, it would act as an archive node. If set to `1h`, means that after one hour of effective block processing time, the trie would be flushed. If one block takes 200ms, this means that a flush would occur every `5*3600=18000`  blocks -- however, if the memory size of the cached states grows too large, it will flush sooner. 

Essentially, this makes it possible to configure the node to be more or less "archive:ish", and without restarting the node while reconfiguring it.
2022-12-09 07:40:17 -05:00
..
asm
beacon
bloombits all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
forkid
rawdb core: drop legacy receipt types (#26225) 2022-12-03 21:42:11 +01:00
state core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
txpool all: assign zero after resize in implementations of heap.Interface (#26296) 2022-12-05 13:49:54 +01:00
types all: assign zero after resize in implementations of heap.Interface (#26296) 2022-12-05 13:49:54 +01:00
vm eth/tracers, core/vm: remove time from trace output and tracing interface (#26291) 2022-12-05 16:57:47 +01:00
.gitignore
bench_test.go
block_validator_test.go
block_validator.go
blockchain_insert.go core: fix log order in "Imported new chain segment" (#25768) 2022-09-15 13:18:23 +02:00
blockchain_reader.go core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
blockchain_repair_test.go core, ethclient/gethclient: improve flaky tests (#25918) 2022-10-06 13:39:20 +02:00
blockchain_sethead_test.go core, ethclient/gethclient: improve flaky tests (#25918) 2022-10-06 13:39:20 +02:00
blockchain_snapshot_test.go core, ethclient/gethclient: improve flaky tests (#25918) 2022-10-06 13:39:20 +02:00
blockchain_test.go core: implement EIP-3651, warm coinbase (#25819) 2022-11-22 22:39:52 +01:00
blockchain.go core,eth: add debug_setTrieFlushInterval to change trie flush frequency (#24785) 2022-12-09 07:40:17 -05:00
blocks.go
bloom_indexer.go
chain_indexer_test.go
chain_indexer.go
chain_makers_test.go
chain_makers.go core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
dao_test.go core, ethclient/gethclient: improve flaky tests (#25918) 2022-10-06 13:39:20 +02:00
error.go
events.go
evm.go
forkchoice.go core: clarify code in forkchoice (#26257) 2022-11-28 11:07:25 +01:00
gaspool.go
gen_genesis_account.go
gen_genesis.go
genesis_alloc.go
genesis_test.go core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
genesis.go core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
headerchain_test.go core, eth, les, tests, trie: abstract node scheme (#25532) 2022-11-28 14:31:28 +01:00
headerchain.go common/lru: add generic LRU implementation (#26162) 2022-11-14 15:41:56 +01:00
mkalloc.go
rlp_test.go
sender_cacher.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
state_prefetcher.go all: implement EIP-1153 transient storage (#26003) 2022-11-16 10:18:52 +01:00
state_processor_test.go
state_processor.go all: implement EIP-1153 transient storage (#26003) 2022-11-16 10:18:52 +01:00
state_transition.go core: implement EIP-3651, warm coinbase (#25819) 2022-11-22 22:39:52 +01:00
types.go