mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
commit
30990b082e
@ -25,7 +25,7 @@ public:
|
||||
};
|
||||
|
||||
/**
|
||||
* Specifiy a (method, idx, name) here if the argument is a non-string RPC
|
||||
* Specify a (method, idx, name) here if the argument is a non-string RPC
|
||||
* argument and needs to be converted from JSON.
|
||||
*
|
||||
* @note Parameter indexes start from 0.
|
||||
|
||||
@ -303,7 +303,7 @@ BOOST_AUTO_TEST_CASE(test_CheckQueue_UniqueCheck)
|
||||
}
|
||||
|
||||
|
||||
// Test that blocks which might allocate lots of memory free their memory agressively.
|
||||
// Test that blocks which might allocate lots of memory free their memory aggressively.
|
||||
//
|
||||
// This test attempts to catch a pathological case where by lazily freeing
|
||||
// checks might mean leaving a check un-swapped out, and decreasing by 1 each
|
||||
|
||||
@ -29,7 +29,7 @@ ToMemPool(CMutableTransaction& tx)
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain240Setup)
|
||||
{
|
||||
// Make sure skipping validation of transctions that were
|
||||
// Make sure skipping validation of transactions that were
|
||||
// validated going into the memory pool does not allow
|
||||
// double-spends in blocks to pass validation when they should not.
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* GetTimeMicros() and GetTimeMillis() both return the system time, but in
|
||||
* different units. GetTime() returns the sytem time in seconds, but also
|
||||
* different units. GetTime() returns the system time in seconds, but also
|
||||
* supports mocktime, where the time can be specified by the user, eg for
|
||||
* testing (eg with the setmocktime rpc, or -mocktime argument).
|
||||
*
|
||||
|
||||
@ -1038,7 +1038,7 @@ bool CWallet::LoadToWallet(const CWalletTx& wtxIn)
|
||||
* TODO: One exception to this is that the abandoned state is cleared under the
|
||||
* assumption that any further notification of a transaction that was considered
|
||||
* abandoned is an indication that it is not safe to be considered abandoned.
|
||||
* Abandoned state should probably be more carefuly tracked via different
|
||||
* Abandoned state should probably be more carefully tracked via different
|
||||
* posInBlock signals or by checking mempool presence when necessary.
|
||||
*/
|
||||
bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate)
|
||||
|
||||
@ -813,11 +813,11 @@ public:
|
||||
*/
|
||||
static CAmount GetMinimumFee(const CMutableTransaction& tx, unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool& pool, CAmount targetFee);
|
||||
/**
|
||||
* Dogecoin: Get a fee targetting a specific transaction speed.
|
||||
* Dogecoin: Get a fee targeting a specific transaction speed.
|
||||
*/
|
||||
CAmount GetDogecoinPriorityFee(const CMutableTransaction& tx, unsigned int nTxBytes, FeeRatePreset nSpeed);
|
||||
/**
|
||||
* Dogecoin: Get a fee targetting a specific transaction speed.
|
||||
* Dogecoin: Get a fee targeting a specific transaction speed.
|
||||
*/
|
||||
static CAmount GetDogecoinPriorityFee(const CMutableTransaction& tx, unsigned int nTxBytes, FeeRatePreset nSpeed, CAmount targetFee);
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user