mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
This commit is contained in:
@@ -578,7 +578,7 @@ Value submitblock(const Array& params, bool fHelp)
|
||||
CValidationState state;
|
||||
submitblock_StateCatcher sc(pblock.GetHash());
|
||||
RegisterValidationInterface(&sc);
|
||||
bool fAccepted = ProcessBlock(state, NULL, &pblock);
|
||||
bool fAccepted = ProcessNewBlock(state, NULL, &pblock);
|
||||
UnregisterValidationInterface(&sc);
|
||||
if (fAccepted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user