record

package
v0.0.0-...-9f2e8a2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Type = &chainType{}

Functions

This section is empty.

Types

type Record

type Record struct {
	// contains filtered or unexported fields
}

func (*Record) Node

func (r *Record) Node() *dag.Node

Node returns a DAG.Node representing the Record.

func (*Record) Parents

func (r *Record) Parents(ctx cxt.Context, ds dag.DAGService) ([]*Record, error)

Node returns a DAG.Node representing the Record.

func (*Record) Type

func (r *Record) Type() record.Type

Type returns the type of the record.

func (*Record) Validity

func (r *Record) Validity() []byte

Data returns data carried (or linked) by the record used in determining validity

func (*Record) Value

func (r *Record) Value() []byte

Value returns data carried (or linked) by the record to be used

func (*Record) Version

func (r *Record) Version() int

Version returns the version number of a record.

Jump to

Keyboard shortcuts

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