Documentation ¶
Index ¶
- func AssertCompatibleConsensus(consensusMinorVersion string) error
- func GetBurrowMintVersion() *version.VersionIdentifier
- func NewBurrowMintPipe(moduleConfig *config.ModuleConfig, eventSwitch go_events.EventSwitch, ...) (*burrowMintPipe, error)
- type AccountBalanceFilter
- type AccountCodeFilter
- type BurrowMint
- func (app *BurrowMint) BeginBlock(hash []byte, header *abci.Header)
- func (app *BurrowMint) CheckTx(txBytes []byte) abci.Result
- func (app *BurrowMint) Commit() (res abci.Result)
- func (app *BurrowMint) CompatibleConsensus(consensusEngine consensus_types.ConsensusEngine) bool
- func (app *BurrowMint) DeliverTx(txBytes []byte) abci.Result
- func (app *BurrowMint) EndBlock(height uint64) (respEndblock abci.ResponseEndBlock)
- func (app *BurrowMint) GetCheckCache() *sm.BlockCache
- func (app *BurrowMint) GetState() *sm.State
- func (app *BurrowMint) Info() (info abci.ResponseInfo)
- func (app *BurrowMint) InitChain(validators []*abci.Validator)
- func (app *BurrowMint) Query(query abci.RequestQuery) (res abci.ResponseQuery)
- func (app *BurrowMint) SetOption(key string, value string) (log string)
- type BurrowMintCompatibleConsensusEngine
- type NameRegDataFilter
- type NameRegExpiresFilter
- type NameRegNameFilter
- type NameRegOwnerFilter
- type ResultListNames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBurrowMintVersion ¶
func GetBurrowMintVersion() *version.VersionIdentifier
func NewBurrowMintPipe ¶
func NewBurrowMintPipe(moduleConfig *config.ModuleConfig, eventSwitch go_events.EventSwitch, logger logging_types.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 NewBurrowMint ¶
func NewBurrowMint(s *sm.State, evsw tendermint_events.EventSwitch, logger logging_types.InfoTraceLogger) *BurrowMint
func (*BurrowMint) BeginBlock ¶ added in v0.17.0
func (app *BurrowMint) BeginBlock(hash []byte, header *abci.Header)
Signals the beginning of a block
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) CompatibleConsensus ¶ added in v0.17.0
func (app *BurrowMint) CompatibleConsensus(consensusEngine consensus_types.ConsensusEngine) bool
func (*BurrowMint) DeliverTx ¶
func (app *BurrowMint) DeliverTx(txBytes []byte) abci.Result
Implements manager/types.Application
func (*BurrowMint) EndBlock ¶ added in v0.17.0
func (app *BurrowMint) EndBlock(height uint64) (respEndblock abci.ResponseEndBlock)
Signals the end of a blockchain, return value can be used to modify validator set and voting power distribution see our BlockchainAware interface
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) InitChain ¶ added in v0.17.0
func (app *BurrowMint) InitChain(validators []*abci.Validator)
Initialise the blockchain validators: genesis validators from tendermint core
func (*BurrowMint) Query ¶
func (app *BurrowMint) Query(query abci.RequestQuery) (res abci.ResponseQuery)
type BurrowMintCompatibleConsensusEngine ¶ added in v0.17.0
type BurrowMintCompatibleConsensusEngine interface { consensus_types.ConsensusEngine }
Currently we just wrap ConsensusEngine but this interface can give us arbitrary control over the type of ConsensusEngine at such a point that we support others. For example it can demand a 'marker' function: func IsBurrowMint_0.XX.XX_CompatibleConsensusEngine()
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"` }