diff options
| author | Gavin Andresen <[email protected]> | 2013-11-11 17:35:14 +1000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-30 15:42:10 +1000 |
| commit | 4d707d512070ed88c888fdf625c0ae0f85f68d9b (patch) | |
| tree | 2fe293e6b06acff639d8c1361fe1c0725313dd30 /src/coins.h | |
| parent | Refactor: move GetValueIn(tx) to tx.GetValueIn() (diff) | |
| download | discoin-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.h | 3 |
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: |