ethereuminteraction

package
v0.0.0-...-0585dc5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DepositIndexPrefix = []byte("deposit")

Functions

This section is empty.

Types

type DepositCheckoutProcessor

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

func NewDepositCheckoutProcessor

func NewDepositCheckoutProcessor(db *badger.DB, plasmaParent *ABI.PlasmaParent, blockStorage *ABI.PlasmaBlockStorage) *DepositCheckoutProcessor

func (*DepositCheckoutProcessor) Process

type EthereumNetworkEventDispatcher

type EthereumNetworkEventDispatcher struct {
	ConnectionString     string
	Client               *ethclient.Client
	SignalChannel        chan int
	PlasmaParentContract *ABI.PlasmaParent
	BlockStorageContract *ABI.PlasmaBlockStorage
}

func NewEthereumNetworkEventDispatcher

func NewEthereumNetworkEventDispatcher(connection, contractAddress string) *EthereumNetworkEventDispatcher

func (*EthereumNetworkEventDispatcher) Run

func (p *EthereumNetworkEventDispatcher) Run(fromBlockNumber int64, blockProcessorLoopChannel chan<- *messageStructures.BlockInformation, withdrawProcessor *WithdrawStartedProcessor)

type WithdrawChallengeProcessor

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

func NewWithdrawChallengeProcessor

func NewWithdrawChallengeProcessor(plasmaParent *ABI.PlasmaParent, db *badger.DB) *WithdrawChallengeProcessor

func (*WithdrawChallengeProcessor) Process

type WithdrawChallengeResult

type WithdrawChallengeResult struct {
	AlreadyChallenged bool
	Error             error
	ExitRecordHash    [22]byte
	ProofData         []byte
	TxData            []byte
	BlockNumber       uint32
	InputNumber       uint8
}

type WithdrawStartedProcessor

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

func NewWithdrawStartedProcessor

func NewWithdrawStartedProcessor(db *badger.DB) *WithdrawStartedProcessor

Jump to

Keyboard shortcuts

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