Rather than counting PeerSet's, count LedgerAcquire's and TransactionAcquire's.

This commit is contained in:
JoelKatz
2013-01-06 17:32:25 -08:00
parent cf77fd88f9
commit 63fd3818fb
4 changed files with 9 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ typedef std::map<uint256, LCTransaction::pointer>::value_type u256_lct_pair;
SETUP_LOG();
DECLARE_INSTANCE(LedgerConsensus);
DECLARE_INSTANCE(TransactionAcquire);
TransactionAcquire::TransactionAcquire(const uint256& hash) : PeerSet(hash, TX_ACQUIRE_TIMEOUT), mHaveRoot(false)
{