transaction

package
v1.0.0-beta.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations

type Annotations struct {
	Outputs OutputsAnnotations
}

Annotations represents a transaction metadata that will be used by server to properly handle given transaction.

type OutputAnnotation

type OutputAnnotation struct {
	// What type of bucket should this output be stored in.
	Bucket bucket.Name
	// Paymail is available if the output is the paymail output.
	Paymail *PaymailAnnotation
}

OutputAnnotation represents the metadata for the output.

func NewDataOutputAnnotation

func NewDataOutputAnnotation() *OutputAnnotation

NewDataOutputAnnotation constructs a new OutputAnnotation for the data output.

type OutputsAnnotations

type OutputsAnnotations map[int]*OutputAnnotation

OutputsAnnotations represents the metadata for chosen outputs. The key is the index of the output.

type PaymailAnnotation

type PaymailAnnotation transaction.PaymailAnnotation

PaymailAnnotation is the metadata for the paymail output.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL