Module tuxedo_core::types
source · Expand description
The common types that will be used across a Tuxedo runtime, and not specific to any one piece
Structs§
- A reference the a utxo that will be consumed along with proof that it may be consumed
- An opaque piece of Transaction output data. This is how the data appears at the Runtime level. After the verifier is checked, strongly typed data will be extracted and passed to the constraint checker. In a cryptocurrency, the data represents a single coin. In Tuxedo, the type of the contained data is generic.
- A reference to a output that is expected to exist in the state.
- A UTXO Transaction
Enums§
- An input can be consumed in two way. It can be redeemed normally (probably with some signature, or proof) or it can be evicted. This enum is isomorphic to
Option<Vec<u8>>
but has more meaningful names.
Type Aliases§
- An alias for a Tuxedo block with all the common parts filled in.
- All Tuxedo chains use the same u32 BlockNumber.
- The Result of dispatching a UTXO transaction.
- Because all tuxedo chains use the same Blocknumber and Hash types, they also use the same concrete header type.
- Opaque block type. It has a Standard Tuxedo header, and opaque transactions.
- Opaque block hash type.