#include <chain.h>
#include <chainparams.h>
#include <common/system.h>
#include <consensus/amount.h>
#include <consensus/consensus.h>
#include <consensus/merkle.h>
#include <consensus/params.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <deploymentinfo.h>
#include <deploymentstatus.h>
#include <key_io.h>
#include <net.h>
#include <node/context.h>
#include <node/miner.h>
#include <pow.h>
#include <rpc/blockchain.h>
#include <rpc/mining.h>
#include <rpc/server.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <script/descriptor.h>
#include <script/script.h>
#include <script/signingprovider.h>
#include <shutdown.h>
#include <timedata.h>
#include <txmempool.h>
#include <univalue.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/translation.h>
#include <validation.h>
#include <validationinterface.h>
#include <warnings.h>
#include <memory>
#include <stdint.h>
Go to the source code of this file.
|
| static UniValue | GetNetworkHashPS (int lookup, int height, const CChain &active_chain) |
| | Return average network hashes per second based on the last 'lookup' blocks, or from the last difficulty change if 'lookup' is nonpositive. More...
|
| |
| static RPCHelpMan | getnetworkhashps () |
| |
| static bool | GenerateBlock (ChainstateManager &chainman, CBlock &block, uint64_t &max_tries, std::shared_ptr< const CBlock > &block_out, bool process_new_block) |
| |
| static UniValue | generateBlocks (ChainstateManager &chainman, const CTxMemPool &mempool, const CScript &coinbase_script, int nGenerate, uint64_t nMaxTries) |
| |
| static bool | getScriptFromDescriptor (const std::string &descriptor, CScript &script, std::string &error) |
| |
| static RPCHelpMan | generatetodescriptor () |
| |
| static RPCHelpMan | generate () |
| |
| static RPCHelpMan | generatetoaddress () |
| |
| static RPCHelpMan | generateblock () |
| |
| static RPCHelpMan | getmininginfo () |
| |
| static RPCHelpMan | prioritisetransaction () |
| |
| static RPCHelpMan | getprioritisedtransactions () |
| |
| static UniValue | BIP22ValidationResult (const BlockValidationState &state) |
| |
| static std::string | gbt_vb_name (const Consensus::DeploymentPos pos) |
| |
| static RPCHelpMan | getblocktemplate () |
| |
| static RPCHelpMan | submitblock () |
| |
| static RPCHelpMan | submitheader () |
| |
| void | RegisterMiningRPCCommands (CRPCTable &t) |
| |
◆ BIP22ValidationResult()
◆ gbt_vb_name()
◆ generate()
◆ GenerateBlock()
| static bool GenerateBlock |
( |
ChainstateManager & |
chainman, |
|
|
CBlock & |
block, |
|
|
uint64_t & |
max_tries, |
|
|
std::shared_ptr< const CBlock > & |
block_out, |
|
|
bool |
process_new_block |
|
) |
| |
|
static |
◆ generateblock()
◆ generateBlocks()
◆ generatetoaddress()
◆ generatetodescriptor()
◆ getblocktemplate()
◆ getmininginfo()
◆ GetNetworkHashPS()
| static UniValue GetNetworkHashPS |
( |
int |
lookup, |
|
|
int |
height, |
|
|
const CChain & |
active_chain |
|
) |
| |
|
static |
Return average network hashes per second based on the last 'lookup' blocks, or from the last difficulty change if 'lookup' is nonpositive.
If 'height' is nonnegative, compute the estimate at the time when a given block was found.
Definition at line 55 of file mining.cpp.
◆ getnetworkhashps()
◆ getprioritisedtransactions()
◆ getScriptFromDescriptor()
| static bool getScriptFromDescriptor |
( |
const std::string & |
descriptor, |
|
|
CScript & |
script, |
|
|
std::string & |
error |
|
) |
| |
|
static |
◆ prioritisetransaction()
◆ RegisterMiningRPCCommands()
| void RegisterMiningRPCCommands |
( |
CRPCTable & |
t | ) |
|
◆ submitblock()
◆ submitheader()