burrowmint

package
v0.16.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCompatibleConsensus

func AssertCompatibleConsensus(consensusMinorVersion string) error

func GetBurrowMintVersion

func GetBurrowMintVersion() *version.VersionIdentifier

func NewBurrowMintPipe

func NewBurrowMintPipe(moduleConfig *config.ModuleConfig,
	eventSwitch go_events.EventSwitch,
	logger loggers.InfoTraceLogger) (*burrowMintPipe, 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 BurrowMint

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

func (*BurrowMint) CheckTx

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

Implements manager/types.Application

func (*BurrowMint) Commit

func (app *BurrowMint) 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 (*BurrowMint) DeliverTx

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

Implements manager/types.Application

func (*BurrowMint) GetCheckCache

func (app *BurrowMint) 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 (*BurrowMint) GetState

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

func (*BurrowMint) Info

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

Implements manager/types.Application

func (*BurrowMint) Query

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

func (*BurrowMint) SetOption

func (app *BurrowMint) 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