Skip to content

Track confirmations in executor #180

Description

@morehouse

Optimization idea from #171 (review):

Maintain a HashMap<txid, confirmations>. This would replace both the unmined_txids and mined_txids HashSet with a single map, while avoiding repeated get_transaction_confirmations RPC calls during sequences like MineBlock -> RecvChannelReady until state.config.minimum_depth is reached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions