You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Asset unlock rejected below the mempool fee floor is not retried at the same tip once its lock is known #8201
A version 2 asset unlock that a node rejects is remembered by its instance hash until the chain tip changes. If the rejection was the mempool's rolling minimum feerate and the InstantSend lock for that withdrawal arrives afterwards, the node does not take the same instance when a peer sends it again at the same tip: AlreadyHave() answers from the reject filter for MSG_ASSET_UNLOCK before it gets to the checks that let a locked transaction through for ordinary transactions.
Expected: once the lock is known, the instance is accepted, as #8199 does for transactions that are not already in the reject filter.
What happens: the node goes without the withdrawal in its mempool until the next block, when the reject filter is reset and the instance can be accepted again.
A fix has to keep stale or invalid instances of the same withdrawal filtered, which is what the instance-hash filter is for. The filter cannot say why an instance was rejected, so simply ignoring it for a locked txid would let any instance sharing that txid be validated over and over.
Activity