3

Are local operations (one's received from local client) treated differently from remote operations (one's received from peer) during mempool management? Are they given higher priority are included before remote operations while adding them to next block? There is priority ordering for operations, based on operation type, I curious if for contention between local vs remote, is there priority for local?

2

In general, there would be some logic to prioritize local operations versus remote operations. Yet, that would only be needed when a baker has both a baking slot, and the need to emit new operations in the same block, something that does not happen very often.

So, no, right now, there is prioritizing of operations based on their sender. Indeed, that could be easily added, but there is little incentive to do it.

  • Thanks. the case is rare because of low volume of operations. but if volume were to be high, then bakers would give their operation higher priority. In such a scenario flushing out your own operation because of mempool management logic would be a bad idea, right? I am curious about housekeeping performed in mempool. – Amit Panghal Mar 13 at 20:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.