aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-11-11 17:35:14 +1000
committerGavin Andresen <[email protected]>2013-11-30 15:42:10 +1000
commit4d707d512070ed88c888fdf625c0ae0f85f68d9b (patch)
tree2fe293e6b06acff639d8c1361fe1c0725313dd30 /src/coins.h
parentRefactor: move GetValueIn(tx) to tx.GetValueIn() (diff)
downloaddiscoin-4d707d512070ed88c888fdf625c0ae0f85f68d9b.tar.xz
discoin-4d707d512070ed88c888fdf625c0ae0f85f68d9b.zip
Add verbose boolean to getrawmempool
Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coins.h b/src/coins.h
index 409d5713f..0ad28524a 100644
--- a/src/coins.h
+++ b/src/coins.h
@@ -346,6 +346,9 @@ public:
// Check whether all prevouts of the transaction are present in the UTXO set represented by this view
bool HaveInputs(const CTransaction& tx);
+ // Return priority of tx at height nHeight
+ double GetPriority(const CTransaction &tx, int nHeight);
+
const CTxOut &GetOutputFor(const CTxIn& input);
private: