NativeScript

package
v0.0.0-...-fe388b3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NativeScript

type NativeScript struct {
	Tag           ScriptTag
	KeyHash       []byte
	NativeScripts []NativeScript
	NoK           int
	Before        int64
	After         int64
}

func (NativeScript) Hash

func (*NativeScript) MarshalCBOR

func (ns *NativeScript) MarshalCBOR() ([]uint8, error)

func (*NativeScript) UnmarshalCBOR

func (ns *NativeScript) UnmarshalCBOR(value []byte) error

type ScriptTag

type ScriptTag int
const (
	ScriptPubKey ScriptTag = iota
	ScriptAll
	ScriptAny
	ScriptNofK
	InvalidBefore
	InvalidHereafter
)

type SerialHash

type SerialHash struct {
	Tag   ScriptTag
	Value []byte
	// contains filtered or unexported fields
}

type SerialInt

type SerialInt struct {
	Tag   ScriptTag
	Value int64
	// contains filtered or unexported fields
}

type SerialNok

type SerialNok struct {
	Tag           ScriptTag
	NoK           int
	NativeScripts []NativeScript
	// contains filtered or unexported fields
}

type SerialScripts

type SerialScripts struct {
	Tag           ScriptTag
	NativeScripts []NativeScript
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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