bitcoindevkit / bitcoindevkit/bdk-ffi

fix!: preserve repeated TxBuilder.add_data outputs

Open
#1,106 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
127
Forks
81
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Store every payload passed to `TxBuilder.add_data` and add each as a separate `OP_RETURN` output (matching upstream `bdk_wallet` behavior) because repeated calls currently overwrite earlier payloads causing finished transactions to silently omit requested outputs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the TxBuilder.add_data entry point and compare its behavior with upstream bdk_wallet. Verify repeated calls retain every payload and produce separate OP_RETURN outputs in the finished transaction; add or update focused coverage for repeated calls if the surrounding code provides a test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.