block

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: ISC Imports: 18 Imported by: 0

Documentation

Overview

current block data

Index

Constants

View Source
const (
	RescanVerified   rescanType = true
	NoRescanVerified rescanType = true
)

Variables

This section is empty.

Functions

func DeleteDownToBlock added in v0.2.0

func DeleteDownToBlock(finalBlockNumber uint64) error

delete from current highest block down to and including the specified block

func Finalise

func Finalise() error

shutdown the block system

func Initialise

func Initialise(recover bool) error

setup the current block data

func StoreIncoming added in v0.2.0

func StoreIncoming(packedBlock []byte, performRescan rescanType) error

store an incoming block checking to make sure it is valid first

Types

This section is empty.

Jump to

Keyboard shortcuts

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