Pool crate cleanup (#1835)

* Refactor retrieve_transaction
* Cleanup transaction_pool
This commit is contained in:
hashmap
2018-10-25 14:21:36 +02:00
committed by GitHub
parent 4050f7fccb
commit ab7a59b1c2
3 changed files with 53 additions and 60 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ pub struct PoolEntry {
}
/// The possible states a pool entry can be in.
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum PoolEntryState {
/// A new entry, not yet processed.
Fresh,