Files
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
..
2022-09-10 13:25:40 +02:00
2014-12-04 10:28:02 +01:00
2022-09-07 20:21:59 +02:00
2017-05-25 17:14:33 +03:00
2022-06-08 18:40:37 +02:00
2022-09-10 13:25:40 +02:00
2022-09-07 20:21:59 +02:00