mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
getblockchaininfo: add trim_headers field
This commit is contained in:
parent
4171939b58
commit
eed85dc5df
3 changed files with 6 additions and 1 deletions
|
|
@ -1741,6 +1741,7 @@ RPCHelpMan getblockchaininfo()
|
|||
}
|
||||
obj.pushKV("size_on_disk", chainman.m_blockman.CalculateCurrentUsage());
|
||||
obj.pushKV("pruned", node::fPruneMode);
|
||||
obj.pushKV("trim_headers", node::fTrimHeaders); // ELEMENTS
|
||||
if (g_signed_blocks) {
|
||||
if (!DeploymentActiveAfter(tip, chainparams.GetConsensus(), Consensus::DEPLOYMENT_DYNA_FED)) {
|
||||
CScript sign_block_script = chainparams.GetConsensus().signblockscript;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue