spv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2018 License: MIT Imports: 13 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpvInit

func SpvInit() error

func VerifyElaHeader

func VerifyElaHeader(hash *common.Uint256) error

func VerifyTransaction

func VerifyTransaction(tx *core.Transaction) error

Types

type SpvListener

type SpvListener struct {
	ListenAddress string
}

func (*SpvListener) Address

func (l *SpvListener) Address() string

func (*SpvListener) Flags

func (l *SpvListener) Flags() uint64

func (*SpvListener) Notify

func (l *SpvListener) Notify(id common.Uint256, proof bloom.MerkleProof, tx ela.Transaction)

func (*SpvListener) Rollback

func (l *SpvListener) Rollback(height uint32)

func (*SpvListener) Type

func (l *SpvListener) Type() ela.TransactionType

Jump to

Keyboard shortcuts

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