substrate

package
v0.0.0-...-8201b66 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorities

type Authorities = [][33]uint8

type AuxiliaryDigestItem

type AuxiliaryDigestItem struct {
	IsCommitment bool
	AsCommitment Commitment
}

func (*AuxiliaryDigestItem) Decode

func (a *AuxiliaryDigestItem) Decode(decoder scale.Decoder) error

type BasicOutboundChannelMessage

type BasicOutboundChannelMessage struct {
	Target  [20]byte
	Nonce   uint64
	Payload []byte
}

type ChannelID

type ChannelID struct {
	IsBasic        bool
	IsIncentivized bool
}

func (*ChannelID) Decode

func (c *ChannelID) Decode(decoder scale.Decoder) error

func (ChannelID) Encode

func (c ChannelID) Encode(encoder scale.Encoder) error

type Commitment

type Commitment struct {
	ChannelID ChannelID
	Hash      types.H256
}

type IncentivizedOutboundChannelMessage

type IncentivizedOutboundChannelMessage struct {
	Target  [20]byte
	Nonce   uint64
	Fee     types.U256
	Payload []byte
}

type Message

type Message struct {
	Data  []byte
	Proof Proof
}

type Proof

type Proof struct {
	BlockHash types.H256
	TxIndex   types.U32
	Data      *ProofData
}

type ProofData

type ProofData struct {
	Keys   []types.Bytes
	Values []types.Bytes
}

func NewProofData

func NewProofData() *ProofData

func (*ProofData) Delete

func (p *ProofData) Delete(_ []byte) error

For interface ethdb.KeyValueWriter

func (*ProofData) Put

func (p *ProofData) Put(key []byte, value []byte) error

For interface ethdb.KeyValueWriter

Jump to

Keyboard shortcuts

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