block
Package block
import "github.com/luxfi/node/vms/example/xsvm/block"Types
Stateless
Stateless blocks are blocks as they are marshalled/unmarshalled and sent over the p2p network. The stateful blocks which can be executed are built from Stateless blocks.
func Parse(bytes []byte) (*Stateless, error)func (b *Stateless) ID() (ids.ID, error)func (b *Stateless) Marshal() ([]byte, error)func (b *Stateless) Time() time.Time