Documentation
¶
Index ¶
- Constants
- type BlockchainGenesis
- type BlockchainState
- type IBCPacketCreateTx
- type IBCPacketPostTx
- type IBCPlugin
- func (cp *IBCPlugin) BeginBlock(store types.KVStore, hash []byte, header *abci.Header)
- func (cp *IBCPlugin) EndBlock(store types.KVStore, height uint64) (res abci.ResponseEndBlock)
- func (ibc *IBCPlugin) InitChain(store types.KVStore, vals []*abci.Validator)
- func (ibc *IBCPlugin) Name() string
- func (ibc *IBCPlugin) RunTx(store types.KVStore, ctx types.CallContext, txBytes []byte) (res abci.Result)
- func (ibc *IBCPlugin) SetOption(store types.KVStore, key string, value string) (log string)
- func (ibc *IBCPlugin) StateKey() []byte
- type IBCPluginState
- type IBCRegisterChainTx
- type IBCStateMachine
- type IBCTx
- type IBCUpdateChainTx
- type Packet
Constants ¶
View Source
const ( IBCTxTypeRegisterChain = byte(0x01) IBCTxTypeUpdateChain = byte(0x02) IBCTxTypePacketCreate = byte(0x03) IBCTxTypePacketPost = byte(0x04) IBCCodeEncodingError = abci.CodeType(1001) IBCCodeChainAlreadyExists = abci.CodeType(1002) IBCCodePacketAlreadyExists = abci.CodeType(1003) IBCCodeUnknownHeight = abci.CodeType(1004) IBCCodeInvalidCommit = abci.CodeType(1005) IBCCodeInvalidProof = abci.CodeType(1006) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainGenesis ¶
type BlockchainState ¶
type IBCPacketCreateTx ¶
type IBCPacketCreateTx struct {
Packet
}
func (IBCPacketCreateTx) AssertIsIBCTx ¶
func (IBCPacketCreateTx) AssertIsIBCTx()
func (IBCPacketCreateTx) ValidateBasic ¶
func (IBCPacketCreateTx) ValidateBasic() (res abci.Result)
type IBCPacketPostTx ¶
type IBCPacketPostTx struct {
FromChainID string // The immediate source of the packet, not always Packet.SrcChainID
FromChainHeight uint64 // The block height in which Packet was committed, to check Proof
Packet
Proof *merkle.IAVLProof
}
func (IBCPacketPostTx) AssertIsIBCTx ¶
func (IBCPacketPostTx) AssertIsIBCTx()
func (IBCPacketPostTx) ValidateBasic ¶
func (IBCPacketPostTx) ValidateBasic() (res abci.Result)
type IBCPlugin ¶
type IBCPlugin struct {
}
func (*IBCPlugin) BeginBlock ¶
type IBCPluginState ¶
type IBCPluginState struct {
}
type IBCRegisterChainTx ¶
type IBCRegisterChainTx struct {
BlockchainGenesis
}
func (IBCRegisterChainTx) AssertIsIBCTx ¶
func (IBCRegisterChainTx) AssertIsIBCTx()
func (IBCRegisterChainTx) ValidateBasic ¶
func (IBCRegisterChainTx) ValidateBasic() (res abci.Result)
type IBCStateMachine ¶
type IBCStateMachine struct {
// contains filtered or unexported fields
}
type IBCUpdateChainTx ¶
func (IBCUpdateChainTx) AssertIsIBCTx ¶
func (IBCUpdateChainTx) AssertIsIBCTx()
func (IBCUpdateChainTx) ValidateBasic ¶
func (IBCUpdateChainTx) ValidateBasic() (res abci.Result)
Click to show internal directories.
Click to hide internal directories.