app

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0, GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SignerRoleListener = SignerRoleType(0x01)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EthermintApplication

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

EthermintApplication implements an ABCI application #stable - 0.4.0

func NewEthermintApplication

func NewEthermintApplication(backend *ethereum.Backend,
	client *rpc.Client, strategy *emtTypes.Strategy, interval int) (*EthermintApplication, error)

NewEthermintApplication creates a fully initialised instance of EthermintApplication #stable - 0.4.0

func (*EthermintApplication) BeginBlock

BeginBlock starts a new Ethereum block #stable - 0.4.0

func (*EthermintApplication) CheckTx

func (app *EthermintApplication) CheckTx(txBytes []byte) abciTypes.ResponseCheckTx

CheckTx checks a transaction is valid but does not mutate the state #stable - 0.4.0

func (*EthermintApplication) Commit

Commit commits the block and returns a hash of the current state #stable - 0.4.0

func (*EthermintApplication) DeliverTx

func (app *EthermintApplication) DeliverTx(txBytes []byte) abciTypes.ResponseDeliverTx

DeliverTx executes a transaction against the latest state #stable - 0.4.0

func (*EthermintApplication) EndBlock

EndBlock accumulates rewards for the validators and updates them #stable - 0.4.0

func (*EthermintApplication) HandlerTimeOut

func (app *EthermintApplication) HandlerTimeOut()

func (*EthermintApplication) HandlerTimerMsg

func (app *EthermintApplication) HandlerTimerMsg(msg string)

func (*EthermintApplication) Info

Info returns information about the last height and app_hash to the tendermint engine #stable - 0.4.0

func (*EthermintApplication) InitChain

InitChain initializes the validator set #stable - 0.4.0

func (*EthermintApplication) Query

Query queries the state of the EthermintApplication #stable - 0.4.0

func (*EthermintApplication) SetLogger

func (app *EthermintApplication) SetLogger(log tmLog.Logger)

SetLogger sets the logger for the ethermint application

func (*EthermintApplication) SetOption

SetOption sets a configuration option #stable - 0.4.0

func (*EthermintApplication) TimerLoop

func (app *EthermintApplication) TimerLoop()

type SignerRoleType

type SignerRoleType uint8

func (SignerRoleType) String

func (sr SignerRoleType) String() string

Jump to

Keyboard shortcuts

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