HomePhabricator

Add the API to add/spend coin on a per UTXO basis.

Description

Add the API to add/spend coin on a per UTXO basis.

Summary:
This ensure we can add/spend coin per utxo. It remove the ModifyNewCoins new API and makes the ModifyCoins on obsolete. Once the API is fully migrated, the storage can move to a work on a per UTXO basis.

This is a continuation of the work started with D342 .

Test Plan:
Updated relevent tests.

make check
../qa/pull-tester/rpc-tests.py

Reviewers: freetrader, CCulianu, #bitcoin_abc

Reviewed By: CCulianu, #bitcoin_abc

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

Details

Provenance
deadalnixAuthored on Aug 14 2017, 15:01
deadalnixPushed on Aug 29 2017, 16:44
Reviewer
Restricted Project
Differential Revision
D470: Add the API to add/spend coin on a per UTXO basis.
Parents
rABC421bf43c7b8a: Use the Coin abstraction to undo spends.
Branches
Unknown
Tags
Unknown