Push RwLock down into OperationPool

There used to be one massive lock on `BeaconChain.op_pool`, however that
would cause unnecessary blocking.
This commit is contained in:
Paul Hauner
2019-03-30 12:26:25 +11:00
parent 1840248af8
commit cd9494181c
3 changed files with 75 additions and 90 deletions

View File

@@ -7,6 +7,7 @@ edition = "2018"
[dependencies]
int_to_bytes = { path = "../utils/int_to_bytes" }
itertools = "0.8"
parking_lot = "0.7"
types = { path = "../types" }
state_processing = { path = "../state_processing" }
ssz = { path = "../utils/ssz" }