eth,core: add api debug_getTrieFlushInterval (#27303)

* core,eth: add api debug_getTrieFlushInterval

Signed-off-by: jsvisa <delweng@gmail.com>

* eth/api_debug: comment of SetTrieFlushInterval

Signed-off-by: jsvisa <delweng@gmail.com>

* Apply suggestions from code review

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
Delweng
2023-06-06 08:41:44 -04:00
committed by GitHub
co-authored by Martin Holst Swende
parent 950d5643b1
commit 0783cb7d91
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -495,6 +495,11 @@ web3._extend({
call: 'debug_setTrieFlushInterval',
params: 1
}),
new web3._extend.Method({
name: 'getTrieFlushInterval',
call: 'debug_getTrieFlushInterval',
params: 0
}),
],
properties: []
});