Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelExecutor ¶
type ChannelExecutor struct {
// contains filtered or unexported fields
}
ChannelExecutor represents the necessary data for executing interchain txs in appchain
func NewChannelExecutor ¶
func NewChannelExecutor(agent agent.Agent, client client.Client, meta *rpcx.Appchain, storage storage.Storage) (*ChannelExecutor, error)
NewChannelExecutor creates new instance of Executor. agent is for interacting with bitxhub client is for interacting with appchain, meta is for recording interchain tx meta information and ds is for persisting some runtime messages
func (*ChannelExecutor) GetIBTPByID ¶
func (e *ChannelExecutor) GetIBTPByID(id string) (*pb.IBTP, error)
GetIBTPByID recover missing ibtp from local storage. If not found, query bitxhub.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_executor is a generated GoMock package.
|
Package mock_executor is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.