|
|
@ -116,9 +116,6 @@ public:
|
|
|
|
//! or one of its ancestors.
|
|
|
|
//! or one of its ancestors.
|
|
|
|
virtual std::optional<int> findLocatorFork(const CBlockLocator& locator) = 0;
|
|
|
|
virtual std::optional<int> findLocatorFork(const CBlockLocator& locator) = 0;
|
|
|
|
|
|
|
|
|
|
|
|
//! Check if transaction will be final given chain height current time.
|
|
|
|
|
|
|
|
virtual bool checkFinalTx(const CTransaction& tx) = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//! Return whether node has the block and optionally return block metadata
|
|
|
|
//! Return whether node has the block and optionally return block metadata
|
|
|
|
//! or contents.
|
|
|
|
//! or contents.
|
|
|
|
virtual bool findBlock(const uint256& hash, const FoundBlock& block={}) = 0;
|
|
|
|
virtual bool findBlock(const uint256& hash, const FoundBlock& block={}) = 0;
|
|
|
|