HomePhabricator

[backport#17316] refactor: Replace all uses of boost::optional with our own…

Description

[backport#17316] refactor: Replace all uses of boost::optional with our own Optional type

Summary:
refactor: Replace all uses of boost::optional with our own Optional type (Wladimir J. van der Laan)

Pull request description:

Replace all uses of boost::optional with our own Optional type. Luckily, there aren't so many.

After this:

- `boost::optional` is no longer used directly (only through `Optional` which is an alias for it)
- `boost/optional.hpp` is only included in one place

Backport of Core PR17316

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Oct 30 2019, 17:56
majcostaCommitted on Sep 8 2020, 13:59
majcostaPushed on Sep 8 2020, 14:00
Reviewer
Restricted Project
Differential Revision
D7388: [backport#17316] refactor: Replace all uses of boost::optional with our own Optional type
Parents
rABC0df084c088ab: [backport#16911] wallet: Only check the hash of transactions loaded from disk
Branches
Unknown
Tags
Unknown