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:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user