Changeset View
Changeset View
Standalone View
Standalone View
src/miner.cpp
Show All 26 Lines | |||||
#include <utilmoneystr.h> | #include <utilmoneystr.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <validationinterface.h> | #include <validationinterface.h> | ||||
#include <algorithm> | #include <algorithm> | ||||
#include <queue> | #include <queue> | ||||
#include <utility> | #include <utility> | ||||
////////////////////////////////////////////////////////////////////////////// | |||||
// | |||||
// BitcoinMiner | |||||
// | |||||
// | |||||
// Unconfirmed transactions in the memory pool often depend on other | // Unconfirmed transactions in the memory pool often depend on other | ||||
// transactions in the memory pool. When we select transactions from the | // transactions in the memory pool. When we select transactions from the | ||||
// pool, we select by highest priority or fee rate, so we might consider | // pool, we select by highest priority or fee rate, so we might consider | ||||
// transactions that depend on transactions that aren't yet in the block. | // transactions that depend on transactions that aren't yet in the block. | ||||
uint64_t nLastBlockTx = 0; | uint64_t nLastBlockTx = 0; | ||||
uint64_t nLastBlockSize = 0; | uint64_t nLastBlockSize = 0; | ||||
▲ Show 20 Lines • Show All 672 Lines • Show Last 20 Lines |