Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/mining.cpp
Show First 20 Lines • Show All 763 Lines • ▼ Show 20 Lines | for (const auto &it : pblock->vtx) { | ||||
pblocktemplate->entries[index_in_template].sigOpCount; | pblocktemplate->entries[index_in_template].sigOpCount; | ||||
entry.__pushKV("sigops", nTxSigOps); | entry.__pushKV("sigops", nTxSigOps); | ||||
transactions.push_back(entry); | transactions.push_back(entry); | ||||
index_in_template++; | index_in_template++; | ||||
} | } | ||||
UniValue aux(UniValue::VOBJ); | UniValue aux(UniValue::VOBJ); | ||||
aux.pushKV("flags", HexStr(COINBASE_FLAGS.begin(), COINBASE_FLAGS.end())); | |||||
UniValue minerFundList(UniValue::VARR); | UniValue minerFundList(UniValue::VARR); | ||||
const Consensus::Params &consensusParams = chainparams.GetConsensus(); | const Consensus::Params &consensusParams = chainparams.GetConsensus(); | ||||
for (auto fundDestination : | for (auto fundDestination : | ||||
GetMinerFundWhitelist(consensusParams, pindexPrev)) { | GetMinerFundWhitelist(consensusParams, pindexPrev)) { | ||||
minerFundList.push_back(EncodeCashAddr(fundDestination, chainparams)); | minerFundList.push_back(EncodeCashAddr(fundDestination, chainparams)); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 216 Lines • Show Last 20 Lines |