Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestVector ¶
type TestVector struct {
Kind string `json:"kind"`
SignatureContext string `json:"signature_context"`
Tx interface{} `json:"tx"`
SignedTx transaction.SignedTransaction `json:"signed_tx"`
EncodedTx []byte `json:"encoded_tx"`
EncodedSignedTx []byte `json:"encoded_signed_tx"`
// Valid indicates whether the transaction is (statically) valid.
// NOTE: This means that the transaction passes basic static validation, but
// it may still not be valid on the given network due to invalid nonce,
// or due to some specific parameters set on the network.
Valid bool `json:"valid"`
SignerPrivateKey []byte `json:"signer_private_key"`
SignerPublicKey signature.PublicKey `json:"signer_public_key"`
}
TestVector is an Oasis transaction test vector.
Click to show internal directories.
Click to hide internal directories.