mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 02:20:53 +00:00
fix: minor typo corrections
This commit is contained in:
parent
a6d1220136
commit
346a51ca0a
@ -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.
|
||||
|
||||
@ -237,7 +237,7 @@ TxData &FindRandomFrom(const std::set<uint256> &txidset) {
|
||||
// except the emphasis is on testing the functionality of UpdateCoins
|
||||
// random txs are created and UpdateCoins is used to update the cache stack
|
||||
// In particular it is tested that spending a duplicate coinbase tx
|
||||
// has the expected effect (the other duplicate is overwitten at all cache levels)
|
||||
// has the expected effect (the other duplicate is overwritten at all cache levels)
|
||||
BOOST_AUTO_TEST_CASE(updatecoins_simulation_test)
|
||||
{
|
||||
bool spent_a_duplicate_coinbase = false;
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -483,7 +483,7 @@ namespace detail {
|
||||
|
||||
// Type-opaque holder for an argument to format(), with associated actions on
|
||||
// the type held as explicit function pointers. This allows FormatArg's for
|
||||
// each argument to be allocated as a homogenous array inside FormatList
|
||||
// each argument to be allocated as a homogeneous array inside FormatList
|
||||
// whereas a naive implementation based on inheritance does not.
|
||||
class FormatArg
|
||||
{
|
||||
|
||||
@ -358,7 +358,7 @@ public:
|
||||
TorController(struct event_base* base, const std::string& target);
|
||||
~TorController();
|
||||
|
||||
/** Get name fo file to store private key in */
|
||||
/** Get name for file to store private key in */
|
||||
std::string GetPrivateKeyFile();
|
||||
|
||||
/** Reconnect, after getting disconnected */
|
||||
|
||||
@ -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).
|
||||
*
|
||||
|
||||
@ -2583,7 +2583,7 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams,
|
||||
|
||||
} // MemPoolConflictRemovalTracker destroyed and conflict evictions are notified
|
||||
|
||||
// Transactions in the connnected block are notified
|
||||
// Transactions in the connected block are notified
|
||||
for (const auto& pair : connectTrace.blocksConnected) {
|
||||
assert(pair.second);
|
||||
const CBlock& block = *(pair.second);
|
||||
|
||||
@ -49,7 +49,7 @@ protected:
|
||||
struct CMainSignals {
|
||||
/** Notifies listeners of updated block chain tip */
|
||||
boost::signals2::signal<void (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip;
|
||||
/** A posInBlock value for SyncTransaction calls for tranactions not
|
||||
/** A posInBlock value for SyncTransaction calls for transactions not
|
||||
* included in connected blocks such as transactions removed from mempool,
|
||||
* accepted to mempool or appearing in disconnected blocks.*/
|
||||
static const int SYNC_TRANSACTION_NOT_IN_BLOCK = -1;
|
||||
|
||||
@ -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