Tx contains the input to an instance of the txvm virtual machine, plus parsed copies of its various side effects.
| 12 | // Tx contains the input to an instance of the txvm virtual machine, |
| 13 | // plus parsed copies of its various side effects. |
| 14 | type Tx struct { |
| 15 | RawTx |
| 16 | |
| 17 | Finalized bool |
| 18 | ID Hash |
| 19 | Log []txvm.Tuple |
| 20 | |
| 21 | // Used in protocol validation and state updates |
| 22 | Contracts []Contract |
| 23 | Timeranges []Timerange |
| 24 | Nonces []Nonce |
| 25 | Anchor []byte |
| 26 | |
| 27 | Inputs []Input |
| 28 | Issuances []Issuance |
| 29 | Outputs []Output |
| 30 | Retirements []Retirement |
| 31 | } |
| 32 | |
| 33 | // CommitmentsTx wraps a Tx with its nonce and witness commitments. |
| 34 | type CommitmentsTx struct { |
nothing calls this directly
no outgoing calls
no test coverage detected