grin/pool/tests
hashmap 9e51e86538
Use generic types instead of trait objects in tx pool (#3308)
Tx pool takes some parameters as trait objects. It's not an idiomatic Rust code, in this particular case we should use generic types. Trait object makes sense when we accept in runtime different concrete types which implement the trait as a value of the same field. It's not the case here. Trait objects come with a price - instead of method dispatch in compile time we have to accept runtime dispatch. My guess we did it to not clutter the code with type parameters, which is understandable but still suboptimal.
2020-04-30 17:41:49 +02:00
..
block_building.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
block_max_weight.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
block_reconciliation.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
coinbase_maturity.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
common.rs Use generic types instead of trait objects in tx pool (#3308) 2020-04-30 17:41:49 +02:00
transaction_pool.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00