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_txidsHashSet with a single map, while avoiding repeated get_transaction_confirmations RPC calls during sequences like MineBlock -> RecvChannelReady until state.config.minimum_depth is reached

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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