Documentation ¶
Index ¶
- func RegisterService(server *grpc.Server, n *node.Node, nodeconfig config.NodeConfig)
- func StartTrustedService(n *node.Node, nodeconfig config.NodeConfig)
- type TrustedService
- func (s *TrustedService) AddLocalTrustedTxs(ctx context.Context, req *trusted.AddTrustedTxsRequest) (*trusted.AddTrustedTxsResponse, error)
- func (s *TrustedService) AddLocalsTx(ctx context.Context, req *trusted.AddTxsRequest) (*trusted.AddTxsResponse, error)
- func (s *TrustedService) AddRemoteTrustedTxs(ctx context.Context, req *trusted.AddTrustedTxsRequest) (*trusted.AddTrustedTxsResponse, error)
- func (s *TrustedService) AddRemoteTx(ctx context.Context, req *trusted.AddTxsRequest) (*trusted.AddTxsResponse, error)
- func (s *TrustedService) CheckSecretKey(ctx context.Context, empty *emptypb.Empty) (*trusted.CheckSecretKeyResponse, error)
- func (s *TrustedService) CommittedBlockVerify(ctx context.Context, request *trusted.CommittedBlockVerifyRequest) (*trusted.CommittedBlockVerifyResponse, error)
- func (s *TrustedService) Crypt(ctx context.Context, req *trusted.CryptRequest) (*trusted.CryptResponse, error)
- func (s *TrustedService) FillBlock(ctx context.Context, req *trusted.FillBlockRequest) (*trusted.FillBlockResponse, error)
- func (s *TrustedService) GetAuthData(ctx context.Context, request *trusted.GetAuthDataRequest) (*trusted.GetAuthDataResponse, error)
- func (s *TrustedService) GetRequestKeyData(ctx context.Context, request *trusted.GetRequestKeyDataRequest) (*trusted.GetRequestKeyDataResponse, error)
- func (s *TrustedService) GetResponseKeyData(ctx context.Context, request *trusted.GetResponseKeyDataRequest) (*trusted.GetResponseKeyDataResponse, error)
- func (s *TrustedService) GetVerifyData(ctx context.Context, request *trusted.GetVerifyDataRequest) (*trusted.GetVerifyDataResponse, error)
- func (s *TrustedService) PendingNonce(ctx context.Context, req *trusted.PendingNonceRequest) (*trusted.PendingNonceResponse, error)
- func (s *TrustedService) PoolContent(ctx context.Context, req *trusted.PoolContentRequest) (*trusted.PoolContentResponse, error)
- func (s *TrustedService) PoolContentFrom(ctx context.Context, req *trusted.PoolContentRequest) (*trusted.PoolContentResponse, error)
- func (s *TrustedService) PoolGasPrice(ctx context.Context, req *emptypb.Empty) (*trusted.GasPriceResponse, error)
- func (s *TrustedService) PoolLocals(ctx context.Context, req *emptypb.Empty) (*trusted.PoolLocalsResponse, error)
- func (s *TrustedService) PoolPending(ctx context.Context, req *emptypb.Empty) (*trusted.PoolPendingResponse, error)
- func (s *TrustedService) PoolSetPrice(ctx context.Context, req *trusted.SetPriceRequest) (*emptypb.Empty, error)
- func (s *TrustedService) PoolStat(ctx context.Context, req *emptypb.Empty) (*trusted.PoolStatResponse, error)
- func (s *TrustedService) ServiceReady(ctx context.Context, req *emptypb.Empty) (*trusted.ServiceReadyResponse, error)
- func (s *TrustedService) SubscribeNewTransaction(req *trusted.SubscribeNewTxRequest, ...) error
- func (s *TrustedService) TxGet(ctx context.Context, req *trusted.TxGetRequest) (*trusted.TxGetResponse, error)
- func (s *TrustedService) TxHas(ctx context.Context, req *trusted.TxHasRequest) (*trusted.TxHasResponse, error)
- func (s *TrustedService) TxStatus(ctx context.Context, req *trusted.TxStatusRequest) (*trusted.TxStatusResponse, error)
- func (s *TrustedService) VerifyAuth(ctx context.Context, request *trusted.VerifyAuthRequest) (*trusted.VerifyAuthResponse, error)
- func (s *TrustedService) VerifyRemoteVerify(ctx context.Context, request *trusted.VerifyRemoteVerifyRequest) (*trusted.VerifyRemoteVerifyResponse, error)
- func (s *TrustedService) VerifyRequestKeyData(ctx context.Context, request *trusted.VerifyRequestKeyDataRequest) (*trusted.VerifyRequestKeyDataResponse, error)
- func (s *TrustedService) VerifyResponseKey(ctx context.Context, request *trusted.VerifyResponseKeyRequest) (*trusted.VerifyResponseKeyResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func StartTrustedService ¶
func StartTrustedService(n *node.Node, nodeconfig config.NodeConfig)
Types ¶
type TrustedService ¶
type TrustedService struct { trusted.UnimplementedTrustedServiceServer // contains filtered or unexported fields }
func (*TrustedService) AddLocalTrustedTxs ¶
func (s *TrustedService) AddLocalTrustedTxs(ctx context.Context, req *trusted.AddTrustedTxsRequest) (*trusted.AddTrustedTxsResponse, error)
func (*TrustedService) AddLocalsTx ¶
func (s *TrustedService) AddLocalsTx(ctx context.Context, req *trusted.AddTxsRequest) (*trusted.AddTxsResponse, error)
func (*TrustedService) AddRemoteTrustedTxs ¶
func (s *TrustedService) AddRemoteTrustedTxs(ctx context.Context, req *trusted.AddTrustedTxsRequest) (*trusted.AddTrustedTxsResponse, error)
func (*TrustedService) AddRemoteTx ¶
func (s *TrustedService) AddRemoteTx(ctx context.Context, req *trusted.AddTxsRequest) (*trusted.AddTxsResponse, error)
func (*TrustedService) CheckSecretKey ¶
func (s *TrustedService) CheckSecretKey(ctx context.Context, empty *emptypb.Empty) (*trusted.CheckSecretKeyResponse, error)
func (*TrustedService) CommittedBlockVerify ¶
func (s *TrustedService) CommittedBlockVerify(ctx context.Context, request *trusted.CommittedBlockVerifyRequest) (*trusted.CommittedBlockVerifyResponse, error)
func (*TrustedService) Crypt ¶
func (s *TrustedService) Crypt(ctx context.Context, req *trusted.CryptRequest) (*trusted.CryptResponse, error)
func (*TrustedService) FillBlock ¶
func (s *TrustedService) FillBlock(ctx context.Context, req *trusted.FillBlockRequest) (*trusted.FillBlockResponse, error)
func (*TrustedService) GetAuthData ¶
func (s *TrustedService) GetAuthData(ctx context.Context, request *trusted.GetAuthDataRequest) (*trusted.GetAuthDataResponse, error)
func (*TrustedService) GetRequestKeyData ¶
func (s *TrustedService) GetRequestKeyData(ctx context.Context, request *trusted.GetRequestKeyDataRequest) (*trusted.GetRequestKeyDataResponse, error)
func (*TrustedService) GetResponseKeyData ¶
func (s *TrustedService) GetResponseKeyData(ctx context.Context, request *trusted.GetResponseKeyDataRequest) (*trusted.GetResponseKeyDataResponse, error)
func (*TrustedService) GetVerifyData ¶
func (s *TrustedService) GetVerifyData(ctx context.Context, request *trusted.GetVerifyDataRequest) (*trusted.GetVerifyDataResponse, error)
func (*TrustedService) PendingNonce ¶
func (s *TrustedService) PendingNonce(ctx context.Context, req *trusted.PendingNonceRequest) (*trusted.PendingNonceResponse, error)
func (*TrustedService) PoolContent ¶
func (s *TrustedService) PoolContent(ctx context.Context, req *trusted.PoolContentRequest) (*trusted.PoolContentResponse, error)
func (*TrustedService) PoolContentFrom ¶
func (s *TrustedService) PoolContentFrom(ctx context.Context, req *trusted.PoolContentRequest) (*trusted.PoolContentResponse, error)
func (*TrustedService) PoolGasPrice ¶
func (s *TrustedService) PoolGasPrice(ctx context.Context, req *emptypb.Empty) (*trusted.GasPriceResponse, error)
func (*TrustedService) PoolLocals ¶
func (s *TrustedService) PoolLocals(ctx context.Context, req *emptypb.Empty) (*trusted.PoolLocalsResponse, error)
func (*TrustedService) PoolPending ¶
func (s *TrustedService) PoolPending(ctx context.Context, req *emptypb.Empty) (*trusted.PoolPendingResponse, error)
func (*TrustedService) PoolSetPrice ¶
func (s *TrustedService) PoolSetPrice(ctx context.Context, req *trusted.SetPriceRequest) (*emptypb.Empty, error)
func (*TrustedService) PoolStat ¶
func (s *TrustedService) PoolStat(ctx context.Context, req *emptypb.Empty) (*trusted.PoolStatResponse, error)
func (*TrustedService) ServiceReady ¶
func (s *TrustedService) ServiceReady(ctx context.Context, req *emptypb.Empty) (*trusted.ServiceReadyResponse, error)
func (*TrustedService) SubscribeNewTransaction ¶
func (s *TrustedService) SubscribeNewTransaction(req *trusted.SubscribeNewTxRequest, server trusted.TrustedService_SubscribeNewTransactionServer) error
func (*TrustedService) TxGet ¶
func (s *TrustedService) TxGet(ctx context.Context, req *trusted.TxGetRequest) (*trusted.TxGetResponse, error)
func (*TrustedService) TxHas ¶
func (s *TrustedService) TxHas(ctx context.Context, req *trusted.TxHasRequest) (*trusted.TxHasResponse, error)
func (*TrustedService) TxStatus ¶
func (s *TrustedService) TxStatus(ctx context.Context, req *trusted.TxStatusRequest) (*trusted.TxStatusResponse, error)
func (*TrustedService) VerifyAuth ¶
func (s *TrustedService) VerifyAuth(ctx context.Context, request *trusted.VerifyAuthRequest) (*trusted.VerifyAuthResponse, error)
func (*TrustedService) VerifyRemoteVerify ¶
func (s *TrustedService) VerifyRemoteVerify(ctx context.Context, request *trusted.VerifyRemoteVerifyRequest) (*trusted.VerifyRemoteVerifyResponse, error)
func (*TrustedService) VerifyRequestKeyData ¶
func (s *TrustedService) VerifyRequestKeyData(ctx context.Context, request *trusted.VerifyRequestKeyDataRequest) (*trusted.VerifyRequestKeyDataResponse, error)
func (*TrustedService) VerifyResponseKey ¶
func (s *TrustedService) VerifyResponseKey(ctx context.Context, request *trusted.VerifyResponseKeyRequest) (*trusted.VerifyResponseKeyResponse, error)
Click to show internal directories.
Click to hide internal directories.