Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- func (c Grpc) GetParaBlsPubKey(ctx context.Context, in *types.ReqString) (*pt.BlsPubKey, error)
- func (c Grpc) GetParaCmtTxInfo(ctx context.Context, in *types.ReqNil) (*pt.ParaBlsSignSumInfo, error)
- func (c Grpc) GetParaLocalBlockInfo(ctx context.Context, in *types.ReqInt) (*pt.ParaLocalDbBlockInfo, error)
- func (c Grpc) GetParaNodeLeaderInfo(ctx context.Context, in *types.ReqNil) (*pt.ElectionStatus, error)
- func (c Grpc) IsSync(ctx context.Context, in *types.ReqNil) (*types.IsCaughtUp, error)
- type Jrpc
- func (c *Jrpc) GetParaBlsPubKey(in *types.ReqString, result *interface{}) error
- func (c *Jrpc) GetParaCmtTxInfo(in *types.ReqNil, result *interface{}) error
- func (c *Jrpc) GetParaLocalBlockInfo(in *types.ReqInt, result *interface{}) error
- func (c *Jrpc) GetParaNodeLeaderInfo(in *types.ReqNil, result *interface{}) error
- func (c *Jrpc) IsSync(in *types.ReqNil, result *interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
Grpc paracross Grpc interface
func (Grpc) GetParaBlsPubKey ¶ added in v1.65.1
GetParaBlsPubKey query para chain bls pubkey
func (Grpc) GetParaCmtTxInfo ¶ added in v1.65.1
func (c Grpc) GetParaCmtTxInfo(ctx context.Context, in *types.ReqNil) (*pt.ParaBlsSignSumInfo, error)
GetParaCmtTxInfo query para chain commit tx info to bls sign
func (Grpc) GetParaLocalBlockInfo ¶
func (c Grpc) GetParaLocalBlockInfo(ctx context.Context, in *types.ReqInt) (*pt.ParaLocalDbBlockInfo, error)
GetParaLocalBlockInfo query para chain the download layer's local height
func (Grpc) GetParaNodeLeaderInfo ¶ added in v1.65.1
func (c Grpc) GetParaNodeLeaderInfo(ctx context.Context, in *types.ReqNil) (*pt.ElectionStatus, error)
GetParaNodeLeaderInfo query para bls sign leader info
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc paracross jrpc interface
func (*Jrpc) GetParaBlsPubKey ¶ added in v1.65.1
GetParaBlsPubKey query para local height
func (*Jrpc) GetParaCmtTxInfo ¶ added in v1.65.1
GetParaCmtTxInfo query para commit tx info
func (*Jrpc) GetParaLocalBlockInfo ¶
GetParaLocalBlockInfo query para local height
func (*Jrpc) GetParaNodeLeaderInfo ¶ added in v1.65.1
GetParaNodeLeaderInfo query para bls sign leader info
Click to show internal directories.
Click to hide internal directories.