![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
transaction_identifier represents the two canonical transaction identifier types (txid, wtxid). More...
#include <transaction_identifier.h>
Public Member Functions | |
| transaction_identifier () | |
| consteval | transaction_identifier (std::string_view hex_str) |
| template<typename Other > | |
| bool | operator== (const Other &other) const |
| template<typename Other > | |
| std::strong_ordering | operator<=> (const Other &other) const |
| const uint256 & | ToUint256 () const LIFETIMEBOUND |
| constexpr bool | IsNull () const |
Wrapped uint256 methods. | |
| constexpr void | SetNull () |
| std::string | GetHex () const |
| std::string | ToString () const |
| constexpr const std::byte * | data () const |
| constexpr const std::byte * | begin () const |
| constexpr const std::byte * | end () const |
| template<typename Stream > | |
| void | Serialize (Stream &s) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s) |
Static Public Member Functions | |
| static transaction_identifier | FromUint256 (const uint256 &id) |
| static std::optional< transaction_identifier > | FromHex (std::string_view hex) |
| static constexpr auto | size () |
Private Member Functions | |
| transaction_identifier (const uint256 &wrapped) | |
| constexpr int | Compare (const transaction_identifier< has_witness > &other) const |
| template<typename Other > | |
| constexpr int | Compare (const Other &other) const |
Private Attributes | |
| uint256 | m_wrapped |
transaction_identifier represents the two canonical transaction identifier types (txid, wtxid).
Definition at line 24 of file transaction_identifier.h.
|
inlineprivate |
Definition at line 29 of file transaction_identifier.h.
|
inline |
Definition at line 40 of file transaction_identifier.h.
|
inlineexplicit |
Definition at line 41 of file transaction_identifier.h.
|
inlineconstexpr |
Definition at line 64 of file transaction_identifier.h.
|
inlineconstexprprivate |
|
inlineconstexprprivate |
Definition at line 31 of file transaction_identifier.h.
|
inlineconstexpr |
Definition at line 63 of file transaction_identifier.h.
|
inlineconstexpr |
|
inlinestatic |
Definition at line 54 of file transaction_identifier.h.
|
inlinestatic |
|
inline |
Definition at line 60 of file transaction_identifier.h.
|
inlineconstexpr |
Wrapped uint256 methods.
Definition at line 52 of file transaction_identifier.h.
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
Definition at line 53 of file transaction_identifier.h.
|
inlinestaticconstexpr |
Definition at line 62 of file transaction_identifier.h.
|
inline |
Definition at line 61 of file transaction_identifier.h.
|
inline |
|
inline |
|
private |
Definition at line 26 of file transaction_identifier.h.