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