Skip to content

Mempool only considers utxo-based relations #2065

@ImplOfAnImpl

Description

@ImplOfAnImpl

Though the orphans pool does use TxDependency to determine some basic non-utxo-based relations, it's not used by the main mempool (and it is very limited anyway). As a result, when multiple txs with non-utxo dependencies between them are sent to the network at the same time, blockprod of the block-producing node may fetch them from its mempool in a wrong order, in which case only some of them will be included in the block and the rest will have to wait for the next one.

See the TODO inside collect_txs for the list of dependencies that should be considered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mempoolMempool-related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions