Page MenuHomePhabricator

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

Authored by bytesofman on Jan 16 2024, 14:39.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
spendable-staking-rwds
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26396
Build 52362: Build Diffcashtab-tests
Build 52361: arc lint + arc unit