Skip to content

Batch tx broadcast RPC #33700

@TheBlueMatt

Description

@TheBlueMatt

Please describe the feature you'd like to see added.

The intent of #31085 wasn't really just to be able to broadcast a "package" of size 1, but that it would be nice if the caller of submitpackage didn't need to sit down and figure out/make sure all their broadcasts match exactly some BIP-defined structure. Ideally I just give Bitcoin Core a pile of transactions and it figures it out - if there's two children and two parents it broadcasts them as two packages, etc. Maybe this is just something we get for "free" with cluster mempool and larger package relay (as long as the transactions are even related to each other, though it'd be kinda nice for Bitcoin Core to figure that out too), but any restrictions in submitpackage ultimately filter down through the ecosystem and imply restrictions on hundreds of internal interfaces (eg the LDK BroadcasterInterface) and APIs (eg Esplora/Electrum implementations will generally just call that method), so it'd be nice to be as generic as possible.

Is your feature related to a problem, if so please describe it.

No response

Describe the solution you'd like

No response

Describe any alternatives you've considered

No response

Please leave any additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions