Skip to content

Comments

Make joinstr-rust compatible with Python reference implementation#42

Closed
kwsantiago wants to merge 3 commits intopythcoiner:masterfrom
rust-joinstr:python-compat
Closed

Make joinstr-rust compatible with Python reference implementation#42
kwsantiago wants to merge 3 commits intopythcoiner:masterfrom
rust-joinstr:python-compat

Conversation

@kwsantiago
Copy link

Summary

  • Pool event and message serde now matches Python wire format (BTC float denomination, string relay/transport, expanded credentials, optional version field, new_pool type)
  • Fee/amount logic matches Python: output amount = denomination - fee_rate * 100, input range validation (denomination+500 to denomination+5000), fee bounds check (N100 to N10000)
  • Input registration sends base64-encoded signed PSBT as {"psbt": "<base64>", "type": "input"} instead of custom InputDataSigned format
  • Tests updated for new validation ranges

@kwsantiago kwsantiago closed this Feb 19, 2026
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