Skip to content

Conversation

@evanlinjin
Copy link
Member

@evanlinjin evanlinjin commented Jan 18, 2026

  • Correctly calculate spendability of coins that are time-locked by taking MTP into account.
  • Rename TxStatus to ConfirmationStatus (maybe it should be called ConfirmationBlock?).
  • Split is_timelocked method into two methods as time-based and block-based timelocks have different required metadata.

TODO: Add tests.

@evanlinjin evanlinjin marked this pull request as draft January 20, 2026 08:56
@evanlinjin evanlinjin force-pushed the feature/optional-mtp branch 3 times, most recently from d846bbe to c43a2a1 Compare January 20, 2026 09:10
Correctly calculate spendability of coins that are timelocked by taking
MTP into account.

API changes are a result of the different requirements between relative
and absolute locktimes.
@evanlinjin evanlinjin force-pushed the feature/optional-mtp branch from c43a2a1 to 026c541 Compare January 20, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant