HomePhabricator

Use ModifyCoins instead of mutable GetCoins.
f28aec014eddUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use ModifyCoins instead of mutable GetCoins.

Replace the mutable non-copying GetCoins method with a ModifyCoins, which
returns an encapsulated iterator, so we can keep track of concurrent
modifications (as iterators can be invalidated by those) and run cleanup
code after a modification is finished.

This also removes the overloading of the 'GetCoins' name.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Sep 3 2014, 07:01
deadalnixPushed on May 14 2017, 22:04
Parents
rABC7a04f3d708fa: Merge pull request #4955
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABCf28aec014edd: Use ModifyCoins instead of mutable GetCoins. (authored by Pieter Wuille <pieter.wuille@gmail.com>).Sep 23 2014, 20:29