Changeset View
Changeset View
Standalone View
Standalone View
src/miner.h
Show All 23 Lines | |||||
static const bool DEFAULT_PRINTPRIORITY = false; | static const bool DEFAULT_PRINTPRIORITY = false; | ||||
struct CBlockTemplateEntry { | struct CBlockTemplateEntry { | ||||
CTransactionRef tx; | CTransactionRef tx; | ||||
Amount fees; | Amount fees; | ||||
int64_t sigOpCount; | int64_t sigOpCount; | ||||
CBlockTemplateEntry(CTransactionRef tx, Amount fees, int64_t sigOpCount) | CBlockTemplateEntry(CTransactionRef _tx, Amount _fees, int64_t _sigOpCount) | ||||
: tx(tx), fees(fees), sigOpCount(sigOpCount){}; | : tx(_tx), fees(_fees), sigOpCount(_sigOpCount){}; | ||||
}; | }; | ||||
struct CBlockTemplate { | struct CBlockTemplate { | ||||
CBlock block; | CBlock block; | ||||
std::vector<CBlockTemplateEntry> entries; | std::vector<CBlockTemplateEntry> entries; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |