erismint

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 29 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCompatibleConsensus

func AssertCompatibleConsensus(consensusMinorVersion string) error

func GetErisMintVersion

func GetErisMintVersion() *version.VersionIdentifier

func NewErisMintPipe

func NewErisMintPipe(moduleConfig *config.ModuleConfig,
	eventSwitch go_events.EventSwitch,
	logger loggers.InfoTraceLogger) (*erisMintPipe, error)

Types

type AccountBalanceFilter

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

Filter for account balance. Ops: All

func (*AccountBalanceFilter) Configure

func (this *AccountBalanceFilter) Configure(fd *event.FilterData) error

func (*AccountBalanceFilter) Match

func (this *AccountBalanceFilter) Match(v interface{}) bool

type AccountCodeFilter

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

Filter for account code. Ops: == or != Could be used to match against nil, to see if an account is a contract account.

func (*AccountCodeFilter) Configure

func (this *AccountCodeFilter) Configure(fd *event.FilterData) error

func (*AccountCodeFilter) Match

func (this *AccountCodeFilter) Match(v interface{}) bool

type ErisMint

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

func (*ErisMint) CheckTx

func (app *ErisMint) CheckTx(txBytes []byte) abci.Result

Implements manager/types.Application

func (*ErisMint) Commit

func (app *ErisMint) Commit() (res abci.Result)

Implements manager/types.Application Commit the state (called at end of block) NOTE: CheckTx/AppendTx must not run concurrently with Commit -

the mempool should run during AppendTxs, but lock for Commit and Update

func (*ErisMint) DeliverTx

func (app *ErisMint) DeliverTx(txBytes []byte) abci.Result

Implements manager/types.Application

func (*ErisMint) GetCheckCache

func (app *ErisMint) GetCheckCache() *sm.BlockCache

TODO: this is used for call/callcode and to get nonces during mempool. the former should work on last committed state only and the later should be handled by the client, or a separate wallet-like nonce tracker thats not part of the app

func (*ErisMint) GetState

func (app *ErisMint) GetState() *sm.State

func (*ErisMint) Info

func (app *ErisMint) Info() (info abci.ResponseInfo)

Implements manager/types.Application

func (*ErisMint) Query

func (app *ErisMint) Query(query []byte) (res abci.Result)

func (*ErisMint) SetOption

func (app *ErisMint) SetOption(key string, value string) (log string)

Implements manager/types.Application

type NameRegDataFilter

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

Filter for namereg data. Useful for example if you store an ipfs hash and know the hash but need the key. Ops: == or !=

func (*NameRegDataFilter) Configure

func (this *NameRegDataFilter) Configure(fd *event.FilterData) error

func (*NameRegDataFilter) Match

func (this *NameRegDataFilter) Match(v interface{}) bool

type NameRegExpiresFilter

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

Filter for expires. Ops: All

func (*NameRegExpiresFilter) Configure

func (this *NameRegExpiresFilter) Configure(fd *event.FilterData) error

func (*NameRegExpiresFilter) Match

func (this *NameRegExpiresFilter) Match(v interface{}) bool

type NameRegNameFilter

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

Filter for namereg name. This should not be used to get individual entries by name. Ops: == or !=

func (*NameRegNameFilter) Configure

func (this *NameRegNameFilter) Configure(fd *event.FilterData) error

func (*NameRegNameFilter) Match

func (this *NameRegNameFilter) Match(v interface{}) bool

type NameRegOwnerFilter

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

Filter for owner. Ops: == or !=

func (*NameRegOwnerFilter) Configure

func (this *NameRegOwnerFilter) Configure(fd *event.FilterData) error

func (*NameRegOwnerFilter) Match

func (this *NameRegOwnerFilter) Match(v interface{}) bool

type ResultListNames

type ResultListNames struct {
	BlockHeight int                        `json:"block_height"`
	Names       []*core_types.NameRegEntry `json:"names"`
}

Directories

Path Synopsis
evm
abi

Jump to

Keyboard shortcuts

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