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
Lint
Lint Not Applicable
Unit
Tests Not Applicable