HomePhabricator

[Cashtab] [Chronik] [Tx Gen] generateTokenTxInputs part 2 - SEND/BURN…

Description

[Cashtab] [Chronik] [Tx Gen] generateTokenTxInputs part 2 - SEND/BURN tokenAction

Summary:
Depends on D12057

See T2503 for the pseudocode behind generateTokenTxInputs function and how it'll be used by overarching token function.

Part 2 adds the additional input utxo logic when tokenAction is SEND or BURN.

Test Plan: npm test and ensure the SEND and BURN unit tests passes

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
emackAuthored on Sep 29 2022, 15:52
emackPushed on Oct 13 2022, 12:59
Reviewer
Restricted Project
Differential Revision
D12097: [Cashtab] [Chronik] [Tx Gen] generateTokenTxInputs part 2 - SEND/BURN tokenAction
Parents
rABCcddd805bc166: [refactor] Move ComputeBlockVersion into VersionBitsCache
Branches
Unknown
Tags
Unknown