HomePhabricator

[c++11] Use std::unique_ptr for block creation.
9fce0629b437Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

[c++11] Use std::unique_ptr for block creation.

CreateNewBlock returns a pointer for which the caller takes ownership.
Use std::unique_ptr to make this explicit and simplify handling of these
objects in getblocktemplate.

Details

Provenance
Daniel Kraft <d@domob.eu>Authored on Jun 18 2016, 17:38
deadalnixPushed on May 14 2017, 22:04
Parents
rABCed2cd59e258f: Merge #8214: [qa] mininode: fail on send_message instead of silent return
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Kraft <d@domob.eu> committed rABC9fce0629b437: [c++11] Use std::unique_ptr for block creation. (authored by Daniel Kraft <d@domob.eu>).Jun 18 2016, 17:38