messages

package
v0.0.0-...-f5f0bdb Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base interface{}

Base ...

type BaseJSON

type BaseJSON struct {
	// contains filtered or unexported fields
}

BaseJSON ...

type BlockImport

type BlockImport struct {
	BestHash   []uint8
	BestNumber *big.Int
}

BlockImport ...

func NewBlockImport

func NewBlockImport(bestHash []uint8, bestNumber *big.Int) *BlockImport

NewBlockImport ...

func (*BlockImport) ToJSON

func (b *BlockImport) ToJSON()

ToJSON ...

type BlockJSON

type BlockJSON struct {
	// contains filtered or unexported fields
}

BlockJSON ...

type BlockMessage

type BlockMessage struct{}

BlockMessage ...

type Connected

type Connected struct {
	Chain string
	Name  string
}

Connected ...

func NewConnected

func NewConnected(chain, name string) *Connected

NewConnected ...

type ConnectedJSON

type ConnectedJSON struct {
	// contains filtered or unexported fields
}

ConnectedJSON ...

type Interval

type Interval struct {
	BestHash   []uint8
	BestNumber *big.Int
	Peers      int
	Status     synctypes.StatusEnum
}

Interval ...

func NewInterval

func NewInterval(bestHash []uint8, bestNumber *big.Int, peers int, status synctypes.StatusEnum) *Interval

NewInterval ...

type IntervalJSON

type IntervalJSON struct {
	// contains filtered or unexported fields
}

IntervalJSON ...

type Level

type Level string

Level ...

type Message

type Message string

Message ...

type Started

type Started struct {
	BestHash   []uint8
	BestNumber *big.Int
}

Started ...

func NewStarted

func NewStarted(bestHash []uint8, bestNumber *big.Int) *Started

NewStarted ...

type SyncStatus

type SyncStatus int

SyncStatus ...

Jump to

Keyboard shortcuts

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