|
26 | 26 | #include <bitcoin/system/chain/input.hpp> |
27 | 27 | #include <bitcoin/system/chain/output.hpp> |
28 | 28 | #include <bitcoin/system/chain/point.hpp> |
| 29 | +#include <bitcoin/system/data/data.hpp> |
29 | 30 | #include <bitcoin/system/define.hpp> |
30 | 31 | #include <bitcoin/system/error/error.hpp> |
31 | 32 | #include <bitcoin/system/hash/hash.hpp> |
@@ -70,11 +71,9 @@ class BC_API transaction |
70 | 71 | transaction(uint32_t version, const inputs_cptr& inputs, |
71 | 72 | const outputs_cptr& outputs, uint32_t locktime) NOEXCEPT; |
72 | 73 |
|
73 | | - transaction(stream::in::fast&& stream, bool witness) NOEXCEPT; |
| 74 | + transaction(const data_slice& data, bool witness) NOEXCEPT; |
74 | 75 | transaction(stream::in::fast& stream, bool witness) NOEXCEPT; |
75 | | - transaction(std::istream&& stream, bool witness) NOEXCEPT; |
76 | 76 | transaction(std::istream& stream, bool witness) NOEXCEPT; |
77 | | - transaction(reader&& source, bool witness) NOEXCEPT; |
78 | 77 | transaction(reader& source, bool witness) NOEXCEPT; |
79 | 78 |
|
80 | 79 | /// Operators. |
@@ -173,6 +172,8 @@ class BC_API transaction |
173 | 172 | code confirm(const context& ctx) const NOEXCEPT; |
174 | 173 |
|
175 | 174 | protected: |
| 175 | + transaction(stream::in::fast&& stream, bool witness) NOEXCEPT; |
| 176 | + transaction(reader&& source, bool witness) NOEXCEPT; |
176 | 177 | transaction(uint32_t version, const inputs_cptr& inputs, |
177 | 178 | const outputs_cptr& outputs, uint32_t locktime, bool segregated, |
178 | 179 | bool valid) NOEXCEPT; |
|
0 commit comments