Versions in this module Expand all Collapse all v0 v0.6.2 Aug 29, 2017 Changes in this version + const IBCCodeChainAlreadyExists + const IBCCodeEncodingError + const IBCCodeInvalidCommit + const IBCCodeInvalidProof + const IBCCodePacketAlreadyExists + const IBCCodeUnknownHeight + const IBCTxTypePacketCreate + const IBCTxTypePacketPost + const IBCTxTypeRegisterChain + const IBCTxTypeUpdateChain + const PayloadTypeBytes + const PayloadTypeCoins + func GetSequenceNumber(store types.KVStore, src, dst string) uint64 + func SaveNewIBCPacket(state types.KVStore, src, dst string, payload Payload) + func SetSequenceNumber(store types.KVStore, src, dst string, seq uint64) + type BlockchainGenesis struct + ChainID string + Genesis string + type BlockchainState struct + ChainID string + LastBlockHash []byte + LastBlockHeight uint64 + Validators []*tm.Validator + type CoinsPayload struct + Address []byte + Coins types.Coins + func (CoinsPayload) AssertIsPayload() + func (p CoinsPayload) Type() string + func (p CoinsPayload) ValidateBasic() abci.Result + type DataPayload []byte + func (DataPayload) AssertIsPayload() + func (p DataPayload) Type() string + func (p DataPayload) ValidateBasic() abci.Result + type IBCPacketCreateTx struct + func (IBCPacketCreateTx) AssertIsIBCTx() + func (IBCPacketCreateTx) ValidateBasic() (res abci.Result) + type IBCPacketPostTx struct + FromChainHeight uint64 + FromChainID string + Proof *merkle.IAVLProof + func (IBCPacketPostTx) AssertIsIBCTx() + func (IBCPacketPostTx) ValidateBasic() (res abci.Result) + type IBCPlugin struct + func New() *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 struct + type IBCRegisterChainTx struct + func (IBCRegisterChainTx) AssertIsIBCTx() + func (IBCRegisterChainTx) ValidateBasic() (res abci.Result) + type IBCStateMachine struct + type IBCTx interface + AssertIsIBCTx func() + ValidateBasic func() abci.Result + type IBCUpdateChainTx struct + Commit tm.Commit + Header tm.Header + func (IBCUpdateChainTx) AssertIsIBCTx() + func (IBCUpdateChainTx) ValidateBasic() (res abci.Result) + type Packet struct + DstChainID string + Payload Payload + Sequence uint64 + SrcChainID string + Type string + func GetIBCPacket(state types.KVStore, src, dst string, seq uint64) (Packet, error) + func NewPacket(src, dst string, seq uint64, payload Payload) Packet + type Payload interface + AssertIsPayload func() + Type func() string + ValidateBasic func() abci.Result