multisig

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMemoSize = 256

MaxMemoSize is the maximum number of bytes in the memo field

Variables

This section is empty.

Functions

func ComputeAliasID

func ComputeAliasID(txID ids.ID) ids.ShortID

Types

type Alias

type Alias struct {
	ID     ids.ShortID         `serialize:"true" json:"id"`
	Memo   types.JSONByteSlice `serialize:"true" json:"memo"`
	Owners Owners              `serialize:"true" json:"owners"`
}

func (*Alias) InitCtx

func (ma *Alias) InitCtx(ctx *snow.Context)

func (*Alias) Verify

func (ma *Alias) Verify() error

func (*Alias) VerifyState

func (ma *Alias) VerifyState() error

type AliasWithNonce

type AliasWithNonce struct {
	Alias `serialize:"true" json:"alias"`

	// Nonce reflects how many times the owners of this alias have changed
	Nonce uint64 `serialize:"true" json:"nonce"`
}

type Owners

type Owners interface {
	verify.State

	IsZero() bool
}

Jump to

Keyboard shortcuts

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