diff options
| author | Pieter Wuille <[email protected]> | 2016-10-30 23:24:41 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-10-30 23:24:41 -0700 |
| commit | ced7c949e8648b727c05adccdc2a977f129ca2cd (patch) | |
| tree | d6c2131d358cdbc678015c5e9fce70ef944dfa1a /src/main.h | |
| parent | Add feedelta to TxMempoolInfo (diff) | |
| download | discoin-ced7c949e8648b727c05adccdc2a977f129ca2cd.tar.xz discoin-ced7c949e8648b727c05adccdc2a977f129ca2cd.zip | |
Add AcceptToMemoryPoolWithTime function
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 3eab9b89d..5a3af52fe 100644 --- a/src/main.h +++ b/src/main.h @@ -291,6 +291,10 @@ void PruneAndFlush(); bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransaction &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* pfMissingInputs, int64_t nAcceptTime, bool fOverrideMempoolLimit=false, const CAmount nAbsurdFee=0); + /** Convert CValidationState to a human-readable message for logging */ std::string FormatStateMessage(const CValidationState &state); |