Mempool.Internal_for_testsval default_config_with_clock_drift :
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Period.t option ->
configdefault_config with a custom value for the clock_drift field.
default_config with a custom replace_by_fee_factor.
val get_clock_drift :
config ->
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Period.t optionReturn the clock_drift field of the given config.
val acceptable_op :
config:config ->
round_durations:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Round.round_durations ->
round_zero_duration:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Period.t ->
proposal_level:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Raw_level.t ->
proposal_round:Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Round.t ->
proposal_timestamp:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Timestamp.time ->
proposal_predecessor_level_start:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Timestamp.time ->
op_level:Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Raw_level.t ->
op_round:Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Round.t ->
now_timestamp:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.Timestamp.time ->
bool Mavryk_protocol_002_PtBoreas.Environment.Error_monad.tzresultThe main auxiliary function for pre_filter regarding consensus operations.
val fee_needed_to_replace_by_fee :
config ->
op_to_replace:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.packed_operation ->
candidate_op:
Mavryk_protocol_002_PtBoreas.Protocol.Alpha_context.packed_operation ->
int64 optionThe main component of Conflict_map.fee_needed_to_replace_by_fee. See comment in the ml file.