types

package module
v0.0.0-...-5d11c69 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentMode = "standard"
View Source
var Protocol_SOL = pbbstream.Protocol(3)

FIXME: Solana protocol will be the value 3, might not work everywehre ... we will see!

View Source
var SetCurrentMode sync.Once

Functions

func BlockFromPBSolProto

func BlockFromPBSolProto(slot *pbsolv2.Block) (*bstream.Block, error)

func BlockFromPBSolanaProto

func BlockFromPBSolanaProto(blk *pbsolv1.Block) (*bstream.Block, error)

func IsSfSolAugmented

func IsSfSolAugmented() bool

func PBSolBlockDecoder

func PBSolBlockDecoder(blk *bstream.Block) (interface{}, error)

func PBSolanaBlockDecoder

func PBSolanaBlockDecoder(blk *bstream.Block) (interface{}, error)

func SetupSfSolAugmented

func SetupSfSolAugmented()

func ZapBase58

func ZapBase58(key string, input []byte) zap.Field

Types

This section is empty.

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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