mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
This commit is contained in:
parent
d29a2917ff
commit
1bea2bbddc
5 changed files with 21 additions and 13 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue