spv

package
v0.0.0-...-9fa4df0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPayloadByTransactionHash

func FindPayloadByTransactionHash(transactionHash string) string

func SpvInit

func SpvInit(addrCode string) 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