![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
#include "amount.h"#include "base58.h"#include "chainparams.h"#include "core_io.h"#include "init.h"#include "main.h"#include "miner.h"#include "net.h"#include "poa.h"#include "rpc/server.h"#include "util.h"#include <stdint.h>#include <boost/assign/list_of.hpp>#include <univalue.h>Go to the source code of this file.
Classes | |
| class | submitblock_StateCatcher |
Functions | |
| 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 UniValue ¶ms, bool fHelp) |
| UniValue | getmininginfo (const UniValue ¶ms, bool fHelp) |
| UniValue | prioritisetransaction (const UniValue ¶ms, bool fHelp) |
| UniValue | getblocktemplate (const UniValue ¶ms, bool fHelp) |
| UniValue | getpoablocktemplate (const UniValue ¶ms, bool fHelp) |
| UniValue | setminingnbits (const UniValue ¶ms, bool fHelp) |
| UniValue | submitblock (const UniValue ¶ms, bool fHelp) |
| UniValue | estimatefee (const UniValue ¶ms, bool fHelp) |
| UniValue | estimatepriority (const UniValue ¶ms, bool fHelp) |
Definition at line 405 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 39 of file mining.cpp.
1.8.17