mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add 'invalidateblock' and 'reconsiderblock' RPC commands.
These can be used for testing reorganizations or for manual intervention in case of chain forks.
This commit is contained in:
parent
397b9011c9
commit
798faec3ea
5 changed files with 159 additions and 0 deletions
|
|
@ -270,6 +270,8 @@ static const CRPCCommand vRPCCommands[] =
|
|||
{ "blockchain", "gettxout", &gettxout, true, false, false },
|
||||
{ "blockchain", "gettxoutsetinfo", &gettxoutsetinfo, true, false, false },
|
||||
{ "blockchain", "verifychain", &verifychain, true, false, false },
|
||||
{ "blockchain", "invalidateblock", &invalidateblock, true, true, false },
|
||||
{ "blockchain", "reconsiderblock", &reconsiderblock, true, true, false },
|
||||
|
||||
/* Mining */
|
||||
{ "mining", "getblocktemplate", &getblocktemplate, true, false, false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue