|
|
@ -697,7 +697,7 @@ public: |
|
|
|
bool found; |
|
|
|
bool found; |
|
|
|
CValidationState state; |
|
|
|
CValidationState state; |
|
|
|
|
|
|
|
|
|
|
|
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}; |
|
|
|
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {} |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) { |
|
|
|
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) { |
|
|
@ -705,7 +705,7 @@ protected: |
|
|
|
return; |
|
|
|
return; |
|
|
|
found = true; |
|
|
|
found = true; |
|
|
|
state = stateIn; |
|
|
|
state = stateIn; |
|
|
|
}; |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
UniValue submitblock(const JSONRPCRequest& request) |
|
|
|
UniValue submitblock(const JSONRPCRequest& request) |
|
|
|