Block template interface.
More...
#include <mining.h>
Block template interface.
Definition at line 31 of file mining.h.
◆ ~BlockTemplate()
| virtual interfaces::BlockTemplate::~BlockTemplate |
( |
| ) |
|
|
virtualdefault |
◆ getBlock()
| virtual CBlock interfaces::BlockTemplate::getBlock |
( |
| ) |
|
|
pure virtual |
◆ getBlockHeader()
| virtual CBlockHeader interfaces::BlockTemplate::getBlockHeader |
( |
| ) |
|
|
pure virtual |
◆ getCoinbaseCommitment()
| virtual std::vector<unsigned char> interfaces::BlockTemplate::getCoinbaseCommitment |
( |
| ) |
|
|
pure virtual |
◆ getCoinbaseMerklePath()
| virtual std::vector<uint256> interfaces::BlockTemplate::getCoinbaseMerklePath |
( |
| ) |
|
|
pure virtual |
Compute merkle path to the coinbase transaction.
- Returns
- merkle path ordered from the deepest
◆ getCoinbaseTx()
◆ getTxFees()
| virtual std::vector<CAmount> interfaces::BlockTemplate::getTxFees |
( |
| ) |
|
|
pure virtual |
◆ getTxSigops()
| virtual std::vector<int64_t> interfaces::BlockTemplate::getTxSigops |
( |
| ) |
|
|
pure virtual |
◆ getWitnessCommitmentIndex()
| virtual int interfaces::BlockTemplate::getWitnessCommitmentIndex |
( |
| ) |
|
|
pure virtual |
◆ submitSolution()
| virtual bool interfaces::BlockTemplate::submitSolution |
( |
uint32_t |
version, |
|
|
uint32_t |
timestamp, |
|
|
uint32_t |
nonce, |
|
|
CTransactionRef |
coinbase |
|
) |
| |
|
pure virtual |
Construct and broadcast the block.
- Returns
- if the block was processed, independent of block validity
The documentation for this class was generated from the following file: