v0

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() forks.Fork

New returns an instance of ForkV0

Types

type ForkV0

type ForkV0 struct {
}

ForkV0 is the genesis version 0 implementation

func (*ForkV0) DecodeNetworkMsg

func (v0 *ForkV0) DecodeNetworkMsg(data []byte) (*network.Message, error)

DecodeNetworkMsg - genesis version 0

func (*ForkV0) EncodeNetworkMsg

func (v0 *ForkV0) EncodeNetworkMsg(msg *network.Message) ([]byte, error)

EncodeNetworkMsg - genesis version 0

func (*ForkV0) SlotTick added in v0.1.5

func (v0 *ForkV0) SlotTick(slot uint64)

SlotTick implementation

func (*ForkV0) ValidatorTopicID

func (v0 *ForkV0) ValidatorTopicID(pkByts []byte) string

ValidatorTopicID - genesis version 0

Jump to

Keyboard shortcuts

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