sBTC Research - Withdrawal Limits / Handling Multiple Withdrawals #321
Replies: 3 comments
-
Currently under investigation by @jferrant. |
Beta Was this translation helpful? Give feedback.
-
By default, Bitcoin Core imposes constraints on unconfirmed transaction chains (limit of 25 ancestors). If a transaction has more than the limit, it will be rejected from the Bitcoin mempool. Managing extended transaction chains can be challenging due to fluctuating fee rates and the potential for parent transactions to be dropped. When fee rates surge, it's not possible to simply prioritize a single transaction; instead, all ancestors must be addressed. Altering any ancestor transaction disrupts all subsequent transactions because their inputs become invalid, necessitating resubmission. Moreover, if a node's mempool reaches capacity, it will prioritize dropping low fee rate transactions. If one of these discarded transactions is an ancestor in a chain, all its descendant transactions become invalidated. See this very well written stacks overflow for further detail :) |
Beta Was this translation helpful? Give feedback.
-
Jude's addition in stacks-sbtc/sbtc#324 provides a solution:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a research discussion post meant to be edited with research notes surrounding withdrawal limits and handling more than one withdrawal at a time.
The current sBTC SIP proposes allowing only one withdrawal to be in the pending state at a time, but we need to be able to handle a greater rate of withdrawal requests in order to meet customer demands.
Beta Was this translation helpful? Give feedback.
All reactions