diff options
| author | Pieter Wuille <[email protected]> | 2016-11-11 13:01:27 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-21 18:18:28 -0800 |
| commit | 6713f0f142d97b4608c95a3ea03b4b670fceab2b (patch) | |
| tree | fb1ea76626fcb165c700ed63a963a4dfc19f36fa /src/blockencodings.h | |
| parent | Convert COrphanTx to keep a CTransactionRef (diff) | |
| download | discoin-6713f0f142d97b4608c95a3ea03b4b670fceab2b.tar.xz discoin-6713f0f142d97b4608c95a3ea03b4b670fceab2b.zip | |
Make FillBlock consume txn_available to avoid shared_ptr copies
Diffstat (limited to 'src/blockencodings.h')
| -rw-r--r-- | src/blockencodings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h index 27baf1f8f..809ccbf93 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -202,7 +202,7 @@ public: ReadStatus InitData(const CBlockHeaderAndShortTxIDs& cmpctblock); bool IsTxAvailable(size_t index) const; - ReadStatus FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing) const; + ReadStatus FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing); }; #endif |