Operation_pool.Prioritized_operation
val extern :
?priority:int ->
Mavryk_protocol_alpha.Protocol.Alpha_context.packed_operation ->
t
prioritize operations coming from an external source (file, uri, ...). An operation with higher priority
(aka a bigger integer) will be included before others with lower priority
.
prioritize operations coming from a node
val packed : t -> Mavryk_protocol_alpha.Protocol.Alpha_context.packed_operation
packed t
retrieves the packed_operation
wrapped inside t
compare_priority o1 o2
compares whether o1
has higher priority than o2