HomePhabricator

[Cashtab] Add function to filter out unspendable coinbase utxos from utxo set

Description

[Cashtab] Add function to filter out unspendable coinbase utxos from utxo set

Summary:
Coinbase utxos are unspendable until they have 100 confirmations.

Add a function ignoreUnspendableUtxos with unit tests.

This function is not yet implemented. Will need to add chaintipBlockheight to wallet context before implementing.

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15179

Details

Provenance
bytesofmanAuthored on Jan 16 2024, 14:37
bytesofmanPushed on Jan 16 2024, 16:56
Reviewer
Restricted Project
Differential Revision
D15179: [Cashtab] Add function to filter out unspendable coinbase utxos from utxo set
Parents
rABCd343d61ef250: [Cashtab] Add chaintip blockheight to wallet context
Branches
Unknown
Tags
Unknown