omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

Update PriorityQueue #159

Closed smartcontracts closed 6 years ago

smartcontracts commented 6 years ago

Cleans up PriorityQueue and changes insert function so it takes a priority and some extra value. This hides the complexity of the priority = priority << 128 | value thing we're doing.