HomePhabricator

Add a Coin abstraction

Description

Add a Coin abstraction

Summary:
This is a step toward managing the UTXO on a per output basis instead of a per transaction basis. This has several advantages. First the memory footprint is smaller and we require to read less data from disk. In addition each UTXO will be immutable so optimizations can be made based on that fact.

This is based on work from Pieter Wuille.

Test Plan: Added a unittest

Reviewers: freetrader, #bitcoin_abc

Reviewed By: freetrader, #bitcoin_abc

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

Details

Provenance
deadalnixAuthored on Jul 19 2017, 10:04
deadalnixPushed on Jul 19 2017, 13:51
Reviewer
Restricted Project
Differential Revision
D342: Add a Coin abstraction
Parents
rABCeb09fb0df99d: Remove blanket std import in rpc/blockchain.cpp
Branches
Unknown
Tags
Unknown