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
Flouse
changed the title
Is it better the unlock jobs which after < BTC_JUMP_CONFIRMATION_BLOCKS
Is it better to unlock jobs which after < BTC_JUMP_CONFIRMATION_BLOCKSMay 4, 2024
We do this now, and what we need to discuss here is whether to delay processing when the after field of the cell is small then BTC_JUMP_CONFIRMATION_BLOCKS
When the after field of the cell is smaller then BTC_JUMP_CONFIRMATION_BLOCKS and the related btc transaction confirmation is smaller then BTC_JUMP_CONFIRMATION_BLOCKS, the unlocking btc-time-lock transaction will fail.
Context
https://github.com/ckb-cell/btc-assets-api/blob/1cf58ea3ac6e381d3f67c3b3be448d8c818a4c74/src/services/unlocker.ts#L76-L85
TL;DR
Q: Is it better to unlock jobs which
after < BTC_JUMP_CONFIRMATION_BLOCKS
A: Yes.
Reason
In the BTCTimeLock contract,
MIN_BTC_TIME_LOCK_AFTER=6
.See also:
The text was updated successfully, but these errors were encountered: