A transaction identifier that holds either a txid or a wtxid.
Synopsis
Declared in <primitives/transaction_identifier.h>
class GenTxid
: public std::variant<Txid, Wtxid>
Base Classes
Name |
Description |
|
Type Aliases
Member Functions
Name |
Description |
Assignment operators |
|
Returns true when the identifier holds a wtxid. |
|
Returns the underlying 256‐bit value, whichever alternative is held. |
|
Using Declarations
Name |
Description |
Inherits the variant constructors to build from a Txid or Wtxid. |
Friends
Name |
Description |
Orders identifiers by kind, then by wrapped value. |