aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-11-17 12:54:39 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-03-24 11:17:08 -0400
commitb55555da3e25a47f1e7fced7f09d4f0bf8198624 (patch)
tree551e618067f55d5de6d4b05623202020ce1f626b /src/validation.h
parentb43aba89e356ff95b706e80d4802f60fc46a569a (diff)
rpc: Add testmempoolaccept
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index e780f453b2..a658d8c5d3 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -307,7 +307,7 @@ void PruneBlockFilesManual(int nManualPruneHeight);
* plTxnReplaced will be appended to with all transactions replaced from mempool **/
bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransactionRef &tx,
bool* pfMissingInputs, std::list<CTransactionRef>* plTxnReplaced,
- bool bypass_limits, const CAmount nAbsurdFee);
+ bool bypass_limits, const CAmount nAbsurdFee, bool test_accept=false);
/** Convert CValidationState to a human-readable message for logging */
std::string FormatStateMessage(const CValidationState &state);