Page MenuHomePhabricator

[ecash-coinselect] [SLP] Part 2/2 - Add support for token genesis and burn transactions
AbandonedPublic

Authored by emack on Aug 5 2023, 14:15.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

T3225

Depends on D14351

This diff updates getSlpInputUtxos to support token genesis transactions, which skips the whole SLP utxo selection algo but changes the amount of XEC dust used to represent the required genesis outputs.

Also supports token burn transactions.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
slpInputs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24695
Build 48982: Build Diff
Build 48981: arc lint + arc unit

Event Timeline

emack requested review of this revision.Aug 5 2023, 14:15

Rebase to changes in part 1

Rebased to changes in part 1

Rebased to changes in part 1

emack retitled this revision from [ecash-coinselect] [SLP] Part 2/3 - Add support for token genesis transactions to [ecash-coinselect] [SLP] Part 2/2 - Add support for token genesis and burn transactions.Aug 11 2023, 14:22
emack edited the summary of this revision. (Show Details)

Updated to use .isNeg()