Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <base58.h>
#include <amount.h>
#include <chain.h>
#include <chainparams.h>
#include <consensus/consensus.h>
#include <consensus/params.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <crypto/equihash.h>
#include <init.h>
#include <validation.h>
#include <miner.h>
#include <net.h>
#include <policy/fees.h>
#include <pow.h>
#include <rpc/blockchain.h>
#include <rpc/mining.h>
#include <rpc/server.h>
#include <txmempool.h>
#include <util.h>
#include <utilstrencodings.h>
#include <validationinterface.h>
#include <warnings.h>
#include <timedata.h>
#include <memory>
#include <stdint.h>
#include <boost/assign/list_of.hpp>
#include <boost/shared_ptr.hpp>
#include <univalue.h>
Go to the source code of this file.
Classes | |
class | submitblock_StateCatcher |
Functions | |
unsigned int | ParseConfirmTarget (const UniValue &value) |
Check bounds on a command line confirm target. More... | |
UniValue | GetNetworkHashPS (int lookup, int height) |
Return average network hashes per second based on the last 'lookup' blocks, or from the last difficulty change if 'lookup' is nonpositive. More... | |
UniValue | getnetworkhashps (const JSONRPCRequest &request) |
UniValue | generateBlocks (std::shared_ptr< CReserveScript > coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript) |
Generate blocks (mine) More... | |
UniValue | generatetoaddress (const JSONRPCRequest &request) |
UniValue | getmininginfo (const JSONRPCRequest &request) |
UniValue | prioritisetransaction (const JSONRPCRequest &request) |
std::string | gbt_vb_name (const Consensus::DeploymentPos pos) |
UniValue | getblocktemplate (const JSONRPCRequest &request) |
UniValue | submitblock (const JSONRPCRequest &request) |
UniValue | getblocksubsidy (const JSONRPCRequest &request) |
UniValue | estimatefee (const JSONRPCRequest &request) |
UniValue | estimatesmartfee (const JSONRPCRequest &request) |
UniValue | estimaterawfee (const JSONRPCRequest &request) |
UniValue | getgenerate (const JSONRPCRequest &request) |
UniValue | setgenerate (const JSONRPCRequest &request) |
void | RegisterMiningRPCCommands (CRPCTable &t) |
Register mining RPC commands. More... | |
UniValue estimatefee | ( | const JSONRPCRequest & | request | ) |
Definition at line 1003 of file mining.cpp.
UniValue estimaterawfee | ( | const JSONRPCRequest & | request | ) |
Definition at line 1099 of file mining.cpp.
UniValue estimatesmartfee | ( | const JSONRPCRequest & | request | ) |
Definition at line 1038 of file mining.cpp.
std::string gbt_vb_name | ( | const Consensus::DeploymentPos | pos | ) |
UniValue generateBlocks | ( | std::shared_ptr< CReserveScript > | coinbaseScript, |
int | nGenerate, | ||
uint64_t | nMaxTries, | ||
bool | keepScript | ||
) |
Generate blocks (mine)
Definition at line 172 of file mining.cpp.
UniValue generatetoaddress | ( | const JSONRPCRequest & | request | ) |
Definition at line 346 of file mining.cpp.
UniValue getblocksubsidy | ( | const JSONRPCRequest & | request | ) |
Definition at line 969 of file mining.cpp.
UniValue getblocktemplate | ( | const JSONRPCRequest & | request | ) |
Definition at line 484 of file mining.cpp.
UniValue getgenerate | ( | const JSONRPCRequest & | request | ) |
Definition at line 1201 of file mining.cpp.
UniValue getmininginfo | ( | const JSONRPCRequest & | request | ) |
Definition at line 382 of file mining.cpp.
UniValue GetNetworkHashPS | ( | int | lookup, |
int | height | ||
) |
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 62 of file mining.cpp.
UniValue getnetworkhashps | ( | const JSONRPCRequest & | request | ) |
Definition at line 101 of file mining.cpp.
unsigned int ParseConfirmTarget | ( | const UniValue & | value | ) |
Check bounds on a command line confirm target.
Definition at line 47 of file mining.cpp.
UniValue prioritisetransaction | ( | const JSONRPCRequest & | request | ) |
Definition at line 422 of file mining.cpp.
void RegisterMiningRPCCommands | ( | CRPCTable & | t | ) |
Register mining RPC commands.
Definition at line 1292 of file mining.cpp.
UniValue setgenerate | ( | const JSONRPCRequest & | request | ) |
UniValue submitblock | ( | const JSONRPCRequest & | request | ) |
Definition at line 897 of file mining.cpp.