h256Hashm_known;///< Hashes of transactions in both sets.
std::unordered_multimap<Address,h256>m_senders;///< Mapping from the sender address to the transaction hash; useful for determining the nonce of a given sender.
@ -100,15 +82,7 @@ private:
std::unordered_map<h256,Transaction>m_future;///< For transactions that have a future nonce; we re-insert into current once the sender has a valid TX.
std::unordered_map<h256,std::function<void(ImportResult)>>m_callbacks;///< Called once.
h256Hashm_dropped;///< Transactions that have previously been dropped.
h256Hashm_submitted;///< Hashes of transactions that have been submitted but not yet processed (unverified or verifying).
Signalm_onReady;///< Called when a subsequent call to import transactions will return a non-empty container. Be nice and exit fast.
mutableMutexm_verification;///< Mutex that allows writing to m_unverified & m_moreToVerify.
std::condition_variablem_moreToVerify;///< Signaled when m_unverified has a new entry.
std::deque<UnverifiedTransaction>m_unverified;///< List of <tx hash, tx data> ready for verification.
std::vector<std::thread>m_verifiers;///< Threads who only verify.
boolm_deleting=false;///< Exit condition for verifiers.