Skip to content

Variable block confirmation for confirmed balances #1942

Description

@matthiasdebernardini

Describe the enhancement

Allow wallet.balance().confirmed to be configurable based on how many blocks it should consider it to be confirmed, 1 by default then 3 or 6. Not sure what else could be useful.

Use case

Wallets designed for large balances should prefer to have this set to a high number, 6 for example.

Additional context

Got posted in bdk_wallet first, @evanlinjin noted that this can be achieved via wallet.local_chain().tip()
bitcoindevkit/bdk_wallet#210

Activity

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

Metadata

Metadata

Assignees

Labels

new featureNew feature or request

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions