Documentation ¶
Index ¶
- func GetChainStatus(cbs *ChainBrokerService) (*pb.Response, error)
- func GetNetworkMeta(cbs *ChainBrokerService) (*pb.Response, error)
- func GetValidators(cbs *ChainBrokerService) (*pb.Response, error)
- type Account
- type ChainBrokerService
- func (cbs *ChainBrokerService) CheckMasterPier(ctx context.Context, req *pb.Address) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetAccountBalance(ctx context.Context, req *pb.Address) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetBlock(ctx context.Context, req *pb.GetBlockRequest) (*pb.Block, error)
- func (cbs *ChainBrokerService) GetBlockHeader(req *pb.GetBlockHeaderRequest, server pb.ChainBroker_GetBlockHeaderServer) error
- func (cbs *ChainBrokerService) GetBlockHeaders(ctx context.Context, req *pb.GetBlockHeadersRequest) (*pb.GetBlockHeadersResponse, error)
- func (cbs *ChainBrokerService) GetBlocks(ctx context.Context, req *pb.GetBlocksRequest) (*pb.GetBlocksResponse, error)
- func (cbs *ChainBrokerService) GetChainID(ctx context.Context, empty *pb.Empty) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetChainMeta(ctx context.Context, req *pb.Request) (*pb.ChainMeta, error)
- func (cbs *ChainBrokerService) GetInfo(ctx context.Context, req *pb.Request) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetInterchainTxWrappers(req *pb.GetInterchainTxWrappersRequest, ...) error
- func (cbs *ChainBrokerService) GetMultiSigns(ctx context.Context, req *pb.GetMultiSignsRequest) (*pb.SignResponse, error)
- func (cbs *ChainBrokerService) GetPendingNonceByAccount(ctx context.Context, req *pb.Address) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetReceipt(ctx context.Context, req *pb.TransactionHashMsg) (*pb.Receipt, error)
- func (cbs *ChainBrokerService) GetTPS(ctx context.Context, req *pb.GetTPSRequest) (*pb.Response, error)
- func (cbs *ChainBrokerService) GetTransaction(ctx context.Context, req *pb.TransactionHashMsg) (*pb.GetTransactionResponse, error)
- func (cbs *ChainBrokerService) HeartBeat(ctx context.Context, req *pb.PierInfo) (*pb.Response, error)
- func (cbs *ChainBrokerService) ReConfig(config *repo.Config) error
- func (cbs *ChainBrokerService) SendTransaction(ctx context.Context, tx *pb.BxhTransaction) (*pb.TransactionHashMsg, error)
- func (cbs *ChainBrokerService) SendView(_ context.Context, tx *pb.BxhTransaction) (*pb.Receipt, error)
- func (cbs *ChainBrokerService) SetMasterPier(ctx context.Context, req *pb.PierInfo) (*pb.Response, error)
- func (cbs *ChainBrokerService) Start() error
- func (cbs *ChainBrokerService) Stop() error
- func (cbs *ChainBrokerService) Subscribe(req *pb.SubscriptionRequest, server pb.ChainBroker_SubscribeServer) error
- type InterchainStatus
- type SubscriptionKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChainStatus ¶
func GetChainStatus(cbs *ChainBrokerService) (*pb.Response, error)
func GetNetworkMeta ¶
func GetNetworkMeta(cbs *ChainBrokerService) (*pb.Response, error)
func GetValidators ¶
func GetValidators(cbs *ChainBrokerService) (*pb.Response, error)
Types ¶
type ChainBrokerService ¶
type ChainBrokerService struct {
// contains filtered or unexported fields
}
func NewChainBrokerService ¶
func (*ChainBrokerService) CheckMasterPier ¶ added in v1.5.0
func (*ChainBrokerService) GetAccountBalance ¶
func (*ChainBrokerService) GetBlock ¶
func (cbs *ChainBrokerService) GetBlock(ctx context.Context, req *pb.GetBlockRequest) (*pb.Block, error)
func (*ChainBrokerService) GetBlockHeader ¶
func (cbs *ChainBrokerService) GetBlockHeader(req *pb.GetBlockHeaderRequest, server pb.ChainBroker_GetBlockHeaderServer) error
func (*ChainBrokerService) GetBlockHeaders ¶ added in v1.4.0
func (cbs *ChainBrokerService) GetBlockHeaders(ctx context.Context, req *pb.GetBlockHeadersRequest) (*pb.GetBlockHeadersResponse, error)
func (*ChainBrokerService) GetBlocks ¶
func (cbs *ChainBrokerService) GetBlocks(ctx context.Context, req *pb.GetBlocksRequest) (*pb.GetBlocksResponse, error)
func (*ChainBrokerService) GetChainID ¶ added in v1.13.0
func (*ChainBrokerService) GetChainMeta ¶
func (*ChainBrokerService) GetInterchainTxWrappers ¶ added in v1.0.1
func (cbs *ChainBrokerService) GetInterchainTxWrappers(req *pb.GetInterchainTxWrappersRequest, server pb.ChainBroker_GetInterchainTxWrappersServer) error
func (*ChainBrokerService) GetMultiSigns ¶ added in v1.0.1
func (cbs *ChainBrokerService) GetMultiSigns(ctx context.Context, req *pb.GetMultiSignsRequest) (*pb.SignResponse, error)
func (*ChainBrokerService) GetPendingNonceByAccount ¶ added in v1.0.1
func (*ChainBrokerService) GetReceipt ¶
func (cbs *ChainBrokerService) GetReceipt(ctx context.Context, req *pb.TransactionHashMsg) (*pb.Receipt, error)
func (*ChainBrokerService) GetTPS ¶ added in v1.0.1
func (cbs *ChainBrokerService) GetTPS(ctx context.Context, req *pb.GetTPSRequest) (*pb.Response, error)
func (*ChainBrokerService) GetTransaction ¶
func (cbs *ChainBrokerService) GetTransaction(ctx context.Context, req *pb.TransactionHashMsg) (*pb.GetTransactionResponse, error)
func (*ChainBrokerService) ReConfig ¶ added in v1.6.3
func (cbs *ChainBrokerService) ReConfig(config *repo.Config) error
func (*ChainBrokerService) SendTransaction ¶
func (cbs *ChainBrokerService) SendTransaction(ctx context.Context, tx *pb.BxhTransaction) (*pb.TransactionHashMsg, error)
SendTransaction handles transaction sent by the client. If the transaction is valid, it will return the transaction hash.
func (*ChainBrokerService) SendView ¶ added in v1.0.1
func (cbs *ChainBrokerService) SendView(_ context.Context, tx *pb.BxhTransaction) (*pb.Receipt, error)
func (*ChainBrokerService) SetMasterPier ¶ added in v1.5.0
func (*ChainBrokerService) Start ¶
func (cbs *ChainBrokerService) Start() error
func (*ChainBrokerService) Stop ¶
func (cbs *ChainBrokerService) Stop() error
func (*ChainBrokerService) Subscribe ¶
func (cbs *ChainBrokerService) Subscribe(req *pb.SubscriptionRequest, server pb.ChainBroker_SubscribeServer) error
Subscribe implements the interface for client to Subscribe the certain type of event arose in bitxhub. This request will establish a websocket conn with client.
type InterchainStatus ¶
type SubscriptionKey ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.