diff options
| author | Daniel Kraft <[email protected]> | 2016-06-18 19:38:28 +0200 |
|---|---|---|
| committer | Daniel Kraft <[email protected]> | 2016-06-18 19:38:28 +0200 |
| commit | 9fce0629b437441cb09c14055ee810b8ee6b7978 (patch) | |
| tree | d7bfbb98986afba0d89a97d5c9824398d8a1feda /src/bitcoin-cli.cpp | |
| parent | Merge #8214: [qa] mininode: fail on send_message instead of silent return (diff) | |
| download | discoin-9fce0629b437441cb09c14055ee810b8ee6b7978.tar.xz discoin-9fce0629b437441cb09c14055ee810b8ee6b7978.zip | |
[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.
Diffstat (limited to 'src/bitcoin-cli.cpp')
0 files changed, 0 insertions, 0 deletions