diff options
| author | Pieter Wuille <[email protected]> | 2016-11-10 22:29:19 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-21 18:18:23 -0800 |
| commit | c44e4c467c30fe7790372bdea8941ba29fd3327e (patch) | |
| tree | e7dba6fe81eedb3edc3bb205897835e1c81f1060 /src/validation.h | |
| parent | Merge #8589: Inline CTxInWitness inside CTxIn (diff) | |
| download | discoin-c44e4c467c30fe7790372bdea8941ba29fd3327e.tar.xz discoin-c44e4c467c30fe7790372bdea8941ba29fd3327e.zip | |
Make AcceptToMemoryPool take CTransactionRef
Diffstat (limited to 'src/validation.h')
| -rw-r--r-- | src/validation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h index f0f54786c..ce3774f10 100644 --- a/src/validation.h +++ b/src/validation.h @@ -309,11 +309,11 @@ void FlushStateToDisk(); void PruneAndFlush(); /** (try to) add transaction to memory pool **/ -bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransaction &tx, bool fLimitFree, +bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransactionRef &tx, bool fLimitFree, bool* pfMissingInputs, bool fOverrideMempoolLimit=false, const CAmount nAbsurdFee=0); /** (try to) add transaction to memory pool with a specified acceptance time **/ -bool AcceptToMemoryPoolWithTime(CTxMemPool& pool, CValidationState &state, const CTransaction &tx, bool fLimitFree, +bool AcceptToMemoryPoolWithTime(CTxMemPool& pool, CValidationState &state, const CTransactionRef &tx, bool fLimitFree, bool* pfMissingInputs, int64_t nAcceptTime, bool fOverrideMempoolLimit=false, const CAmount nAbsurdFee=0); /** Convert CValidationState to a human-readable message for logging */ |