Expand description

Bridge transaction priority calculator.

We want to prioritize message delivery transactions with more messages over transactions with less messages. That’s because we reject delivery transactions if it contains already delivered message. And if some transaction delivers single message with nonce N, then the transaction with nonces N..=N+100 will be rejected. This can lower bridge throughput down to one message per block.

Functions§

  • Compute priority boost for message delivery transaction that delivers given number of messages.