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
Sure, on a high level I think we will want to do something like a not-so-private broadcast. When a transaction needs to be sent, we:
spin up a connection to a new peer,
share the transaction, and
wait for it to be advertised back by our current connection.
For an initial go at it, we can also omit 3.
For those that are less familiar, transactions are shared with a wtxid, then we wait for the peer to respond with getdata, then send the transaction. However, technically it is also possible to just send the transaction unsolicited.
This becomes more interesting with one-parent-one-child package relay but I will leave that as a follow up/feature request.
That would fall under #55, which is also up for grabs. I don't have a strong opinion, but the BDK team has been putting a lot of time into bdk-tx so it is worth checking out.
BDK team has been putting a lot of time into bdk-tx so it is worth checking out.
I was thinking of assembling something that uses the coin-selection lib I wrote. That's one of the reasons I've started working on the P2P layer and following projects like this. Although, I'm not sure that goal is very compatible with using BDK.
Activity
yancyribbens commentedon May 19, 2026
Do you have an idea or framework in mind for implementing the send half?
rustaceanrob commentedon May 19, 2026
Sure, on a high level I think we will want to do something like a not-so-private broadcast. When a transaction needs to be sent, we:
For an initial go at it, we can also omit 3.
For those that are less familiar, transactions are shared with a
wtxid, then we wait for the peer to respond withgetdata, then send the transaction. However, technically it is also possible to just send the transaction unsolicited.This becomes more interesting with one-parent-one-child package relay but I will leave that as a follow up/feature request.
How this looks in Rust code I am agnostic to.
yancyribbens commentedon May 20, 2026
What about transaction building? I thought that was part of the mentioned send half of wallet construction.
rustaceanrob commentedon May 20, 2026
That would fall under #55, which is also up for grabs. I don't have a strong opinion, but the BDK team has been putting a lot of time into
bdk-txso it is worth checking out.yancyribbens commentedon May 20, 2026
I was thinking of assembling something that uses the coin-selection lib I wrote. That's one of the reasons I've started working on the P2P layer and following projects like this. Although, I'm not sure that goal is very compatible with using BDK.
rustaceanrob commentedon Jun 18, 2026
#66 confirms this works