Documentation
¶
Index ¶
- type BxhClient
- func (client *BxhClient) CommitCallback(ibtp *pb.IBTP) error
- func (client *BxhClient) GetCallbackMeta() (map[string]uint64, error)
- func (client *BxhClient) GetIBTP() chan *pb.IBTP
- func (client *BxhClient) GetInMessage(from string, idx uint64) ([][]byte, error)
- func (client *BxhClient) GetInMeta() (map[string]uint64, error)
- func (client *BxhClient) GetOutMessage(to string, idx uint64) (*pb.IBTP, error)
- func (client *BxhClient) GetOutMeta() (map[string]uint64, error)
- func (client *BxhClient) GetReceipt(ibtp *pb.IBTP) (*pb.IBTP, error)
- func (client *BxhClient) IncreaseInMeta(ibtp *pb.IBTP) (*pb.IBTP, error)
- func (client *BxhClient) Initialize(configPath string, pierID string, extra []byte) error
- func (client *BxhClient) Name() string
- func (client *BxhClient) RollbackIBTP(ibtp *pb.IBTP, isSrcChain bool) (*pb.RollbackIBTPResponse, error)
- func (client *BxhClient) Start() error
- func (client *BxhClient) Stop() error
- func (client *BxhClient) SubmitIBTP(ibtp *pb.IBTP) (*pb.SubmitIBTPResponse, error)
- func (client *BxhClient) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BxhClient ¶ added in v1.4.0
BxhClient represents plugin client fo relaychain, by packing operations of relaychain to an appchain plugin-client, we can easily excute ibtp.Payload on relaychain just like what we used to do on an appchain.
func CreateClient ¶ added in v1.4.0
CreateClient creates plugin client from agent
func (*BxhClient) CommitCallback ¶ added in v1.4.0
CommitCallback .
func (*BxhClient) GetCallbackMeta ¶ added in v1.4.0
GetCallbackMeta gets an index map, which implicates the greatest index of executed callback txs for each receiving chain TODO
func (*BxhClient) GetInMessage ¶ added in v1.4.0
GetInMessage gets receipt by index and source chain_id TODO
func (*BxhClient) GetInMeta ¶ added in v1.4.0
GetInMeta gets an index map, which implicates the greatest index of ingoing interchain txs for each source chain
func (*BxhClient) GetOutMessage ¶ added in v1.4.0
GetOutMessage .
func (*BxhClient) GetOutMeta ¶ added in v1.4.0
GetOutMeta .
func (*BxhClient) GetReceipt ¶ added in v1.6.0
func (*BxhClient) IncreaseInMeta ¶ added in v1.6.1
func (*BxhClient) Initialize ¶ added in v1.4.0
Initialize .
func (*BxhClient) RollbackIBTP ¶ added in v1.6.1
func (*BxhClient) SubmitIBTP ¶ added in v1.4.0
SubmitIBTP submits the inter-relaychain ibtp to relaychain to execute ibtp.Payload