Changeset View
Changeset View
Standalone View
Standalone View
src/psbt.h
Show First 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | template <typename Stream> PSBTOutput(deserialize_type, Stream &s) { | ||||
Unserialize(s); | Unserialize(s); | ||||
} | } | ||||
}; | }; | ||||
/** | /** | ||||
* A version of CTransaction with the PSBT format. | * A version of CTransaction with the PSBT format. | ||||
*/ | */ | ||||
struct PartiallySignedTransaction { | struct PartiallySignedTransaction { | ||||
boost::optional<CMutableTransaction> tx; | Optional<CMutableTransaction> tx; | ||||
std::vector<PSBTInput> inputs; | std::vector<PSBTInput> inputs; | ||||
std::vector<PSBTOutput> outputs; | std::vector<PSBTOutput> outputs; | ||||
std::map<std::vector<uint8_t>, std::vector<uint8_t>> unknown; | std::map<std::vector<uint8_t>, std::vector<uint8_t>> unknown; | ||||
bool IsNull() const; | bool IsNull() const; | ||||
/** | /** | ||||
* Merge psbt into this. The two psbts must have the same underlying | * Merge psbt into this. The two psbts must have the same underlying | ||||
▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines |