|
|
@ -5,7 +5,8 @@
|
|
|
|
#ifndef BITCOIN_INTERFACES_CHAIN_H
|
|
|
|
#ifndef BITCOIN_INTERFACES_CHAIN_H
|
|
|
|
#define BITCOIN_INTERFACES_CHAIN_H
|
|
|
|
#define BITCOIN_INTERFACES_CHAIN_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <optional.h>
|
|
|
|
#include <optional.h> // For Optional and nullopt
|
|
|
|
|
|
|
|
#include <policy/rbf.h> // For RBFTransactionState
|
|
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <memory>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
@ -131,6 +132,9 @@ public:
|
|
|
|
//! Estimate fraction of total transactions verified if blocks up to
|
|
|
|
//! Estimate fraction of total transactions verified if blocks up to
|
|
|
|
//! the specified block hash are verified.
|
|
|
|
//! the specified block hash are verified.
|
|
|
|
virtual double guessVerificationProgress(const uint256& block_hash) = 0;
|
|
|
|
virtual double guessVerificationProgress(const uint256& block_hash) = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//! Check if transaction is RBF opt in.
|
|
|
|
|
|
|
|
virtual RBFTransactionState isRBFOptIn(const CTransaction& tx) = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//! Interface to let node manage chain clients (wallets, or maybe tools for
|
|
|
|
//! Interface to let node manage chain clients (wallets, or maybe tools for
|
|
|
|