proto

package
v0.2.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_chain_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_consensus_proto protoreflect.FileDescriptor
View Source
var File_indexer_proto protoreflect.FileDescriptor
View Source
var File_keystore_proto protoreflect.FileDescriptor
View Source
var File_network_proto protoreflect.FileDescriptor
View Source
var File_utils_proto protoreflect.FileDescriptor
View Source
var File_validators_proto protoreflect.FileDescriptor
View Source
var File_wallet_proto protoreflect.FileDescriptor

Functions

func RegisterChainHandler

func RegisterChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterChainHandler registers the http handlers for service Chain to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterChainHandlerClient

func RegisterChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainClient) error

RegisterChainHandlerClient registers the http handlers for service Chain to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChainClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChainClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChainClient" to call the correct interceptors.

func RegisterChainHandlerFromEndpoint

func RegisterChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterChainHandlerFromEndpoint is same as RegisterChainHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterChainHandlerServer

func RegisterChainHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainServer) error

RegisterChainHandlerServer registers the http handlers for service Chain to "mux". UnaryRPC :call ChainServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChainHandlerFromEndpoint instead.

func RegisterChainServer

func RegisterChainServer(s *grpc.Server, srv ChainServer)

func RegisterConsensusHandler

func RegisterConsensusHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterConsensusHandler registers the http handlers for service Consensus to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterConsensusHandlerClient

func RegisterConsensusHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ConsensusClient) error

RegisterConsensusHandlerClient registers the http handlers for service Consensus to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ConsensusClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ConsensusClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ConsensusClient" to call the correct interceptors.

func RegisterConsensusHandlerFromEndpoint

func RegisterConsensusHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterConsensusHandlerFromEndpoint is same as RegisterConsensusHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterConsensusHandlerServer

func RegisterConsensusHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ConsensusServer) error

RegisterConsensusHandlerServer registers the http handlers for service Consensus to "mux". UnaryRPC :call ConsensusServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterConsensusHandlerFromEndpoint instead.

func RegisterConsensusServer

func RegisterConsensusServer(s *grpc.Server, srv ConsensusServer)

func RegisterIndexerHandler

func RegisterIndexerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIndexerHandler registers the http handlers for service Indexer to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIndexerHandlerClient

func RegisterIndexerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IndexerClient) error

RegisterIndexerHandlerClient registers the http handlers for service Indexer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IndexerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IndexerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IndexerClient" to call the correct interceptors.

func RegisterIndexerHandlerFromEndpoint

func RegisterIndexerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIndexerHandlerFromEndpoint is same as RegisterIndexerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIndexerHandlerServer

func RegisterIndexerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IndexerServer) error

RegisterIndexerHandlerServer registers the http handlers for service Indexer to "mux". UnaryRPC :call IndexerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIndexerHandlerFromEndpoint instead.

func RegisterIndexerServer

func RegisterIndexerServer(s *grpc.Server, srv IndexerServer)

func RegisterKeystoreHandler

func RegisterKeystoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterKeystoreHandler registers the http handlers for service Keystore to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterKeystoreHandlerClient

func RegisterKeystoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeystoreClient) error

RegisterKeystoreHandlerClient registers the http handlers for service Keystore to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeystoreClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeystoreClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeystoreClient" to call the correct interceptors.

func RegisterKeystoreHandlerFromEndpoint

func RegisterKeystoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterKeystoreHandlerFromEndpoint is same as RegisterKeystoreHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterKeystoreHandlerServer

func RegisterKeystoreHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KeystoreServer) error

RegisterKeystoreHandlerServer registers the http handlers for service Keystore to "mux". UnaryRPC :call KeystoreServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKeystoreHandlerFromEndpoint instead.

func RegisterKeystoreServer

func RegisterKeystoreServer(s *grpc.Server, srv KeystoreServer)

func RegisterNetworkHandler

func RegisterNetworkHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNetworkHandler registers the http handlers for service Network to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNetworkHandlerClient

func RegisterNetworkHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetworkClient) error

RegisterNetworkHandlerClient registers the http handlers for service Network to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NetworkClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NetworkClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NetworkClient" to call the correct interceptors.

func RegisterNetworkHandlerFromEndpoint

func RegisterNetworkHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNetworkHandlerFromEndpoint is same as RegisterNetworkHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNetworkHandlerServer

func RegisterNetworkHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetworkServer) error

RegisterNetworkHandlerServer registers the http handlers for service Network to "mux". UnaryRPC :call NetworkServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNetworkHandlerFromEndpoint instead.

func RegisterNetworkServer

func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)

func RegisterUtilsHandler

func RegisterUtilsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUtilsHandler registers the http handlers for service Utils to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUtilsHandlerClient

func RegisterUtilsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UtilsClient) error

RegisterUtilsHandlerClient registers the http handlers for service Utils to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UtilsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UtilsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UtilsClient" to call the correct interceptors.

func RegisterUtilsHandlerFromEndpoint

func RegisterUtilsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUtilsHandlerFromEndpoint is same as RegisterUtilsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUtilsHandlerServer

func RegisterUtilsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UtilsServer) error

RegisterUtilsHandlerServer registers the http handlers for service Utils to "mux". UnaryRPC :call UtilsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUtilsHandlerFromEndpoint instead.

func RegisterUtilsServer

func RegisterUtilsServer(s *grpc.Server, srv UtilsServer)

func RegisterValidatorsHandler

func RegisterValidatorsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterValidatorsHandler registers the http handlers for service Validators to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterValidatorsHandlerClient

func RegisterValidatorsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ValidatorsClient) error

RegisterValidatorsHandlerClient registers the http handlers for service Validators to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ValidatorsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ValidatorsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ValidatorsClient" to call the correct interceptors.

func RegisterValidatorsHandlerFromEndpoint

func RegisterValidatorsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterValidatorsHandlerFromEndpoint is same as RegisterValidatorsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterValidatorsHandlerServer

func RegisterValidatorsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ValidatorsServer) error

RegisterValidatorsHandlerServer registers the http handlers for service Validators to "mux". UnaryRPC :call ValidatorsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterValidatorsHandlerFromEndpoint instead.

func RegisterValidatorsServer

func RegisterValidatorsServer(s *grpc.Server, srv ValidatorsServer)

func RegisterWalletHandler

func RegisterWalletHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterWalletHandler registers the http handlers for service Wallet to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterWalletHandlerClient

func RegisterWalletHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletClient) error

RegisterWalletHandlerClient registers the http handlers for service Wallet to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WalletClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WalletClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WalletClient" to call the correct interceptors.

func RegisterWalletHandlerFromEndpoint

func RegisterWalletHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterWalletHandlerFromEndpoint is same as RegisterWalletHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterWalletHandlerServer

func RegisterWalletHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletServer) error

RegisterWalletHandlerServer registers the http handlers for service Wallet to "mux". UnaryRPC :call WalletServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWalletHandlerFromEndpoint instead.

func RegisterWalletServer

func RegisterWalletServer(s *grpc.Server, srv WalletServer)

Types

type Account

type Account struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccount

func (x *Account) GetAccount() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountDetail

type AccountDetail struct {
	Account       string    `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Balance       *Balance  `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce         uint64    `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TotalReceived string    `protobuf:"bytes,4,opt,name=total_received,json=totalReceived,proto3" json:"total_received,omitempty"`
	TotalSent     string    `protobuf:"bytes,5,opt,name=total_sent,json=totalSent,proto3" json:"total_sent,omitempty"`
	Txs           uint64    `protobuf:"varint,6,opt,name=txs,proto3" json:"txs,omitempty"`
	TxList        *HashList `protobuf:"bytes,7,opt,name=tx_list,json=txList,proto3" json:"tx_list,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountDetail) Descriptor deprecated

func (*AccountDetail) Descriptor() ([]byte, []int)

Deprecated: Use AccountDetail.ProtoReflect.Descriptor instead.

func (*AccountDetail) GetAccount

func (x *AccountDetail) GetAccount() string

func (*AccountDetail) GetBalance

func (x *AccountDetail) GetBalance() *Balance

func (*AccountDetail) GetNonce

func (x *AccountDetail) GetNonce() uint64

func (*AccountDetail) GetTotalReceived

func (x *AccountDetail) GetTotalReceived() string

func (*AccountDetail) GetTotalSent

func (x *AccountDetail) GetTotalSent() string

func (*AccountDetail) GetTxList

func (x *AccountDetail) GetTxList() *HashList

func (*AccountDetail) GetTxs

func (x *AccountDetail) GetTxs() uint64

func (*AccountDetail) ProtoMessage

func (*AccountDetail) ProtoMessage()

func (*AccountDetail) ProtoReflect

func (x *AccountDetail) ProtoReflect() protoreflect.Message

func (*AccountDetail) Reset

func (x *AccountDetail) Reset()

func (*AccountDetail) String

func (x *AccountDetail) String() string

type AccountInfo

type AccountInfo struct {
	Account string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Balance *Balance `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce   uint64   `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfo) Descriptor deprecated

func (*AccountInfo) Descriptor() ([]byte, []int)

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetAccount

func (x *AccountInfo) GetAccount() string

func (*AccountInfo) GetBalance

func (x *AccountInfo) GetBalance() *Balance

func (*AccountInfo) GetNonce

func (x *AccountInfo) GetNonce() uint64

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect

func (x *AccountInfo) ProtoReflect() protoreflect.Message

func (*AccountInfo) Reset

func (x *AccountInfo) Reset()

func (*AccountInfo) String

func (x *AccountInfo) String() string

type Balance

type Balance struct {
	Confirmed   string `protobuf:"bytes,1,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
	Unconfirmed string `protobuf:"bytes,2,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"`
	Locked      string `protobuf:"bytes,3,opt,name=locked,proto3" json:"locked,omitempty"`
	Total       string `protobuf:"bytes,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

func (*Balance) Descriptor() ([]byte, []int)

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetConfirmed

func (x *Balance) GetConfirmed() string

func (*Balance) GetLocked

func (x *Balance) GetLocked() string

func (*Balance) GetTotal

func (x *Balance) GetTotal() string

func (*Balance) GetUnconfirmed

func (x *Balance) GetUnconfirmed() string

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

func (x *Balance) ProtoReflect() protoreflect.Message

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

type Block

type Block struct {
	Hash            string       `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	RawBlock        string       `protobuf:"bytes,2,opt,name=raw_block,json=rawBlock,proto3" json:"raw_block,omitempty"`
	Header          *BlockHeader `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
	Txs             []string     `protobuf:"bytes,4,rep,name=txs,proto3" json:"txs,omitempty"`
	Signature       string       `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	RandaoSignature string       `protobuf:"bytes,6,opt,name=randao_signature,json=randaoSignature,proto3" json:"randao_signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetHash

func (x *Block) GetHash() string

func (*Block) GetHeader

func (x *Block) GetHeader() *BlockHeader

func (*Block) GetRandaoSignature

func (x *Block) GetRandaoSignature() string

func (*Block) GetRawBlock

func (x *Block) GetRawBlock() string

func (*Block) GetSignature

func (x *Block) GetSignature() string

func (*Block) GetTxs

func (x *Block) GetTxs() []string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockHeader

type BlockHeader struct {
	Version                     uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Nonce                       uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	PrevBlockHash               string `protobuf:"bytes,3,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"`
	Timestamp                   uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Slot                        uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"`
	FeeAddress                  string `protobuf:"bytes,6,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"`
	VotesMerkleRoot             string `protobuf:"bytes,7,opt,name=votes_merkle_root,json=votesMerkleRoot,proto3" json:"votes_merkle_root,omitempty"`
	DepositsMerkleRoot          string `protobuf:"bytes,8,opt,name=deposits_merkle_root,json=depositsMerkleRoot,proto3" json:"deposits_merkle_root,omitempty"`
	ExitsMerkleRoot             string `protobuf:"bytes,9,opt,name=exits_merkle_root,json=exitsMerkleRoot,proto3" json:"exits_merkle_root,omitempty"`
	PartialExitsMerkleRoot      string `` /* 132-byte string literal not displayed */
	CoinProofsMerkleRoot        string `` /* 126-byte string literal not displayed */
	ExecutionsMerkleRoot        string `protobuf:"bytes,12,opt,name=executions_merkle_root,json=executionsMerkleRoot,proto3" json:"executions_merkle_root,omitempty"`
	TxsMerkleRoot               string `protobuf:"bytes,13,opt,name=txs_merkle_root,json=txsMerkleRoot,proto3" json:"txs_merkle_root,omitempty"`
	VoteSlashingsMerkleRoot     string `` /* 135-byte string literal not displayed */
	RandaoSlashingsMerkleRoot   string `` /* 141-byte string literal not displayed */
	ProposerSlashingsMerkleRoot string `` /* 147-byte string literal not displayed */
	GovernanceVotesMerkleRoot   string `` /* 141-byte string literal not displayed */
	MultiSignatureTxsMerkleRoot string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BlockHeader) Descriptor deprecated

func (*BlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetCoinProofsMerkleRoot

func (x *BlockHeader) GetCoinProofsMerkleRoot() string

func (*BlockHeader) GetDepositsMerkleRoot

func (x *BlockHeader) GetDepositsMerkleRoot() string

func (*BlockHeader) GetExecutionsMerkleRoot

func (x *BlockHeader) GetExecutionsMerkleRoot() string

func (*BlockHeader) GetExitsMerkleRoot

func (x *BlockHeader) GetExitsMerkleRoot() string

func (*BlockHeader) GetFeeAddress

func (x *BlockHeader) GetFeeAddress() string

func (*BlockHeader) GetGovernanceVotesMerkleRoot

func (x *BlockHeader) GetGovernanceVotesMerkleRoot() string

func (*BlockHeader) GetMultiSignatureTxsMerkleRoot

func (x *BlockHeader) GetMultiSignatureTxsMerkleRoot() string

func (*BlockHeader) GetNonce

func (x *BlockHeader) GetNonce() uint64

func (*BlockHeader) GetPartialExitsMerkleRoot

func (x *BlockHeader) GetPartialExitsMerkleRoot() string

func (*BlockHeader) GetPrevBlockHash

func (x *BlockHeader) GetPrevBlockHash() string

func (*BlockHeader) GetProposerSlashingsMerkleRoot

func (x *BlockHeader) GetProposerSlashingsMerkleRoot() string

func (*BlockHeader) GetRandaoSlashingsMerkleRoot

func (x *BlockHeader) GetRandaoSlashingsMerkleRoot() string

func (*BlockHeader) GetSlot

func (x *BlockHeader) GetSlot() uint64

func (*BlockHeader) GetTimestamp

func (x *BlockHeader) GetTimestamp() uint64

func (*BlockHeader) GetTxsMerkleRoot

func (x *BlockHeader) GetTxsMerkleRoot() string

func (*BlockHeader) GetVersion

func (x *BlockHeader) GetVersion() uint64

func (*BlockHeader) GetVoteSlashingsMerkleRoot

func (x *BlockHeader) GetVoteSlashingsMerkleRoot() string

func (*BlockHeader) GetVotesMerkleRoot

func (x *BlockHeader) GetVotesMerkleRoot() string

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

func (x *BlockHeader) ProtoReflect() protoreflect.Message

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockTxs

type BlockTxs struct {
	TxCount uint64    `protobuf:"varint,1,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
	Txs     *HashList `protobuf:"bytes,2,opt,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockTxs) Descriptor deprecated

func (*BlockTxs) Descriptor() ([]byte, []int)

Deprecated: Use BlockTxs.ProtoReflect.Descriptor instead.

func (*BlockTxs) GetTxCount

func (x *BlockTxs) GetTxCount() uint64

func (*BlockTxs) GetTxs

func (x *BlockTxs) GetTxs() *HashList

func (*BlockTxs) ProtoMessage

func (*BlockTxs) ProtoMessage()

func (*BlockTxs) ProtoReflect

func (x *BlockTxs) ProtoReflect() protoreflect.Message

func (*BlockTxs) Reset

func (x *BlockTxs) Reset()

func (*BlockTxs) String

func (x *BlockTxs) String() string

type ChainClient

type ChainClient interface {
	GetChainInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainInfo, error)
	GetRawBlock(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Block, error)
	GetBlock(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Block, error)
	GetBlockHash(ctx context.Context, in *Number, opts ...grpc.CallOption) (*Hash, error)
	GetAccountInfo(ctx context.Context, in *Account, opts ...grpc.CallOption) (*AccountInfo, error)
	Sync(ctx context.Context, in *Hash, opts ...grpc.CallOption) (Chain_SyncClient, error)
	SubscribeBlocks(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Chain_SubscribeBlocksClient, error)
}

ChainClient is the client API for Chain service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewChainClient

func NewChainClient(cc grpc.ClientConnInterface) ChainClient

type ChainInfo

type ChainInfo struct {
	BlockHash     string          `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockHeight   uint64          `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Validators    *ValidatorsInfo `protobuf:"bytes,3,opt,name=validators,proto3" json:"validators,omitempty"`
	JustifiedHead *Head           `protobuf:"bytes,4,opt,name=justified_head,json=justifiedHead,proto3" json:"justified_head,omitempty"`
	FinalizedHead *Head           `protobuf:"bytes,5,opt,name=finalized_head,json=finalizedHead,proto3" json:"finalized_head,omitempty"`
	Synced        bool            `protobuf:"varint,6,opt,name=synced,proto3" json:"synced,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainInfo) Descriptor deprecated

func (*ChainInfo) Descriptor() ([]byte, []int)

Deprecated: Use ChainInfo.ProtoReflect.Descriptor instead.

func (*ChainInfo) GetBlockHash

func (x *ChainInfo) GetBlockHash() string

func (*ChainInfo) GetBlockHeight

func (x *ChainInfo) GetBlockHeight() uint64

func (*ChainInfo) GetFinalizedHead

func (x *ChainInfo) GetFinalizedHead() *Head

func (*ChainInfo) GetJustifiedHead

func (x *ChainInfo) GetJustifiedHead() *Head

func (*ChainInfo) GetSynced

func (x *ChainInfo) GetSynced() bool

func (*ChainInfo) GetValidators

func (x *ChainInfo) GetValidators() *ValidatorsInfo

func (*ChainInfo) ProtoMessage

func (*ChainInfo) ProtoMessage()

func (*ChainInfo) ProtoReflect

func (x *ChainInfo) ProtoReflect() protoreflect.Message

func (*ChainInfo) Reset

func (x *ChainInfo) Reset()

func (*ChainInfo) String

func (x *ChainInfo) String() string

type ChainServer

type ChainServer interface {
	GetChainInfo(context.Context, *Empty) (*ChainInfo, error)
	GetRawBlock(context.Context, *Hash) (*Block, error)
	GetBlock(context.Context, *Hash) (*Block, error)
	GetBlockHash(context.Context, *Number) (*Hash, error)
	GetAccountInfo(context.Context, *Account) (*AccountInfo, error)
	Sync(*Hash, Chain_SyncServer) error
	SubscribeBlocks(*Empty, Chain_SubscribeBlocksServer) error
	// contains filtered or unexported methods
}

ChainServer is the server API for Chain service. All implementations must embed UnimplementedChainServer for forward compatibility

type Chain_SubscribeBlocksClient

type Chain_SubscribeBlocksClient interface {
	Recv() (*RawData, error)
	grpc.ClientStream
}

type Chain_SubscribeBlocksServer

type Chain_SubscribeBlocksServer interface {
	Send(*RawData) error
	grpc.ServerStream
}

type Chain_SyncClient

type Chain_SyncClient interface {
	Recv() (*RawData, error)
	grpc.ClientStream
}

type Chain_SyncServer

type Chain_SyncServer interface {
	Send(*RawData) error
	grpc.ServerStream
}

type ComitteeInformation

type ComitteeInformation struct {
	Index    uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Proposer bool   `protobuf:"varint,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	Voted    bool   `protobuf:"varint,3,opt,name=voted,proto3" json:"voted,omitempty"`
	// contains filtered or unexported fields
}

func (*ComitteeInformation) Descriptor deprecated

func (*ComitteeInformation) Descriptor() ([]byte, []int)

Deprecated: Use ComitteeInformation.ProtoReflect.Descriptor instead.

func (*ComitteeInformation) GetIndex

func (x *ComitteeInformation) GetIndex() uint64

func (*ComitteeInformation) GetProposer

func (x *ComitteeInformation) GetProposer() bool

func (*ComitteeInformation) GetVoted

func (x *ComitteeInformation) GetVoted() bool

func (*ComitteeInformation) ProtoMessage

func (*ComitteeInformation) ProtoMessage()

func (*ComitteeInformation) ProtoReflect

func (x *ComitteeInformation) ProtoReflect() protoreflect.Message

func (*ComitteeInformation) Reset

func (x *ComitteeInformation) Reset()

func (*ComitteeInformation) String

func (x *ComitteeInformation) String() string

type ConsensusClient

type ConsensusClient interface {
	GetParticipationStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ParticipationStatus, error)
	GetSlotInfo(ctx context.Context, in *Number, opts ...grpc.CallOption) (*SlotInfo, error)
	GetEpochInfo(ctx context.Context, in *Number, opts ...grpc.CallOption) (*EpochInfo, error)
}

ConsensusClient is the client API for Consensus service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewConsensusClient

func NewConsensusClient(cc grpc.ClientConnInterface) ConsensusClient

type ConsensusServer

type ConsensusServer interface {
	GetParticipationStatus(context.Context, *Empty) (*ParticipationStatus, error)
	GetSlotInfo(context.Context, *Number) (*SlotInfo, error)
	GetEpochInfo(context.Context, *Number) (*EpochInfo, error)
	// contains filtered or unexported methods
}

ConsensusServer is the server API for Consensus service. All implementations must embed UnimplementedConsensusServer for forward compatibility

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EpochInfo

type EpochInfo struct {
	EpochNumber uint64      `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	Passed      bool        `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
	Slots       []*SlotInfo `protobuf:"bytes,4,rep,name=slots,proto3" json:"slots,omitempty"`
	// contains filtered or unexported fields
}

func (*EpochInfo) Descriptor deprecated

func (*EpochInfo) Descriptor() ([]byte, []int)

Deprecated: Use EpochInfo.ProtoReflect.Descriptor instead.

func (*EpochInfo) GetEpochNumber

func (x *EpochInfo) GetEpochNumber() uint64

func (*EpochInfo) GetPassed

func (x *EpochInfo) GetPassed() bool

func (*EpochInfo) GetSlots

func (x *EpochInfo) GetSlots() []*SlotInfo

func (*EpochInfo) ProtoMessage

func (*EpochInfo) ProtoMessage()

func (*EpochInfo) ProtoReflect

func (x *EpochInfo) ProtoReflect() protoreflect.Message

func (*EpochInfo) Reset

func (x *EpochInfo) Reset()

func (*EpochInfo) String

func (x *EpochInfo) String() string

type Hash

type Hash struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Hash) Descriptor deprecated

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetHash

func (x *Hash) GetHash() string

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

func (x *Hash) ProtoReflect() protoreflect.Message

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type HashList

type HashList struct {
	Hash []string `protobuf:"bytes,1,rep,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*HashList) Descriptor deprecated

func (*HashList) Descriptor() ([]byte, []int)

Deprecated: Use HashList.ProtoReflect.Descriptor instead.

func (*HashList) GetHash

func (x *HashList) GetHash() []string

func (*HashList) ProtoMessage

func (*HashList) ProtoMessage()

func (*HashList) ProtoReflect

func (x *HashList) ProtoReflect() protoreflect.Message

func (*HashList) Reset

func (x *HashList) Reset()

func (*HashList) String

func (x *HashList) String() string
type Head struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Slot   uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	Hash   string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Head) Descriptor deprecated

func (*Head) Descriptor() ([]byte, []int)

Deprecated: Use Head.ProtoReflect.Descriptor instead.

func (*Head) GetHash

func (x *Head) GetHash() string

func (*Head) GetHeight

func (x *Head) GetHeight() uint64

func (*Head) GetSlot

func (x *Head) GetSlot() uint64

func (*Head) ProtoMessage

func (*Head) ProtoMessage()

func (*Head) ProtoReflect

func (x *Head) ProtoReflect() protoreflect.Message

func (*Head) Reset

func (x *Head) Reset()

func (*Head) String

func (x *Head) String() string

type IP

type IP struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*IP) Descriptor deprecated

func (*IP) Descriptor() ([]byte, []int)

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetHost

func (x *IP) GetHost() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

func (x *IP) ProtoReflect() protoreflect.Message

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type ImportWalletData

type ImportWalletData struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mnemonic string `protobuf:"bytes,2,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportWalletData) Descriptor deprecated

func (*ImportWalletData) Descriptor() ([]byte, []int)

Deprecated: Use ImportWalletData.ProtoReflect.Descriptor instead.

func (*ImportWalletData) GetMnemonic

func (x *ImportWalletData) GetMnemonic() string

func (*ImportWalletData) GetName

func (x *ImportWalletData) GetName() string

func (*ImportWalletData) GetPassword

func (x *ImportWalletData) GetPassword() string

func (*ImportWalletData) ProtoMessage

func (*ImportWalletData) ProtoMessage()

func (*ImportWalletData) ProtoReflect

func (x *ImportWalletData) ProtoReflect() protoreflect.Message

func (*ImportWalletData) Reset

func (x *ImportWalletData) Reset()

func (*ImportWalletData) String

func (x *ImportWalletData) String() string

type IndexerClient

type IndexerClient interface {
	GetIndexerStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*IndexerStatus, error)
	GetBlockHash(ctx context.Context, in *Number, opts ...grpc.CallOption) (*Hash, error)
	GetTransaction(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Tx, error)
	GetDetailedTransaction(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*TxDetail, error)
	GetAccount(ctx context.Context, in *Account, opts ...grpc.CallOption) (*AccountDetail, error)
	GetBlock(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Block, error)
	GetBlockTxs(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*BlockTxs, error)
}

IndexerClient is the client API for Indexer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewIndexerClient

func NewIndexerClient(cc grpc.ClientConnInterface) IndexerClient

type IndexerServer

type IndexerServer interface {
	GetIndexerStatus(context.Context, *Empty) (*IndexerStatus, error)
	GetBlockHash(context.Context, *Number) (*Hash, error)
	GetTransaction(context.Context, *Hash) (*Tx, error)
	GetDetailedTransaction(context.Context, *Hash) (*TxDetail, error)
	GetAccount(context.Context, *Account) (*AccountDetail, error)
	GetBlock(context.Context, *Hash) (*Block, error)
	GetBlockTxs(context.Context, *Hash) (*BlockTxs, error)
	// contains filtered or unexported methods
}

IndexerServer is the server API for Indexer service. All implementations must embed UnimplementedIndexerServer for forward compatibility

type IndexerStatus

type IndexerStatus struct {
	Tip         *Head  `protobuf:"bytes,1,opt,name=tip,proto3" json:"tip,omitempty"`
	Justified   *Head  `protobuf:"bytes,2,opt,name=justified,proto3" json:"justified,omitempty"`
	Finalized   *Head  `protobuf:"bytes,3,opt,name=finalized,proto3" json:"finalized,omitempty"`
	InitialSync bool   `protobuf:"varint,4,opt,name=initial_sync,json=initialSync,proto3" json:"initial_sync,omitempty"`
	InSync      bool   `protobuf:"varint,5,opt,name=in_sync,json=inSync,proto3" json:"in_sync,omitempty"`
	About       string `protobuf:"bytes,6,opt,name=about,proto3" json:"about,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexerStatus) Descriptor deprecated

func (*IndexerStatus) Descriptor() ([]byte, []int)

Deprecated: Use IndexerStatus.ProtoReflect.Descriptor instead.

func (*IndexerStatus) GetAbout

func (x *IndexerStatus) GetAbout() string

func (*IndexerStatus) GetFinalized

func (x *IndexerStatus) GetFinalized() *Head

func (*IndexerStatus) GetInSync

func (x *IndexerStatus) GetInSync() bool

func (*IndexerStatus) GetInitialSync

func (x *IndexerStatus) GetInitialSync() bool

func (*IndexerStatus) GetJustified

func (x *IndexerStatus) GetJustified() *Head

func (*IndexerStatus) GetTip

func (x *IndexerStatus) GetTip() *Head

func (*IndexerStatus) ProtoMessage

func (*IndexerStatus) ProtoMessage()

func (*IndexerStatus) ProtoReflect

func (x *IndexerStatus) ProtoReflect() protoreflect.Message

func (*IndexerStatus) Reset

func (x *IndexerStatus) Reset()

func (*IndexerStatus) String

func (x *IndexerStatus) String() string

type KeyPair

type KeyPair struct {
	Public  string `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"`
	Private string `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyPair) Descriptor deprecated

func (*KeyPair) Descriptor() ([]byte, []int)

Deprecated: Use KeyPair.ProtoReflect.Descriptor instead.

func (*KeyPair) GetPrivate

func (x *KeyPair) GetPrivate() string

func (*KeyPair) GetPublic

func (x *KeyPair) GetPublic() string

func (*KeyPair) ProtoMessage

func (*KeyPair) ProtoMessage()

func (*KeyPair) ProtoReflect

func (x *KeyPair) ProtoReflect() protoreflect.Message

func (*KeyPair) Reset

func (x *KeyPair) Reset()

func (*KeyPair) String

func (x *KeyPair) String() string

type KeyPairs

type KeyPairs struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyPairs) Descriptor deprecated

func (*KeyPairs) Descriptor() ([]byte, []int)

Deprecated: Use KeyPairs.ProtoReflect.Descriptor instead.

func (*KeyPairs) GetKeys

func (x *KeyPairs) GetKeys() []string

func (*KeyPairs) ProtoMessage

func (*KeyPairs) ProtoMessage()

func (*KeyPairs) ProtoReflect

func (x *KeyPairs) ProtoReflect() protoreflect.Message

func (*KeyPairs) Reset

func (x *KeyPairs) Reset()

func (*KeyPairs) String

func (x *KeyPairs) String() string

type Keys

type Keys struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*Keys) Descriptor deprecated

func (*Keys) Descriptor() ([]byte, []int)

Deprecated: Use Keys.ProtoReflect.Descriptor instead.

func (*Keys) GetKeys

func (x *Keys) GetKeys() []string

func (*Keys) ProtoMessage

func (*Keys) ProtoMessage()

func (*Keys) ProtoReflect

func (x *Keys) ProtoReflect() protoreflect.Message

func (*Keys) Reset

func (x *Keys) Reset()

func (*Keys) String

func (x *Keys) String() string

type KeystoreClient

type KeystoreClient interface {
	//*
	//Method: GenerateKeys
	//Input: message GenValidatorKeys
	//Response: message KeyPairs
	//Description: Returns private keys generated for validators start.
	GenerateKeys(ctx context.Context, in *Number, opts ...grpc.CallOption) (*Keys, error)
	//*
	//Method: GetMnemonic
	//Input: message Empty
	//Response: message Mnemonic
	//Description: Returns the mnemonic key of the keystore.
	GetMnemonic(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Mnemonic, error)
	//*
	//Method: GetKey
	//Input: message PublicKey
	//Response: message KeystoreKey
	//Description: Returns the keystore information for a specific key.
	GetKey(ctx context.Context, in *PublicKey, opts ...grpc.CallOption) (*KeystoreKey, error)
	//*
	//Method: GetKeys
	//Input: message Empty
	//Response: message KeystoreKeys
	//Description: Returns all the keystore keys.
	GetKeys(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*KeystoreKeys, error)
	//*
	//Method: ToggleKey
	//Input: message ToggleKey
	//Response: message KeystoreKey
	//Description: Enables/Disable a keystore key.
	ToggleKey(ctx context.Context, in *ToggleKeyMsg, opts ...grpc.CallOption) (*KeystoreKey, error)
}

KeystoreClient is the client API for Keystore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewKeystoreClient

func NewKeystoreClient(cc grpc.ClientConnInterface) KeystoreClient

type KeystoreKey

type KeystoreKey struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Enabled bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Path    int64  `protobuf:"varint,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*KeystoreKey) Descriptor deprecated

func (*KeystoreKey) Descriptor() ([]byte, []int)

Deprecated: Use KeystoreKey.ProtoReflect.Descriptor instead.

func (*KeystoreKey) GetEnabled

func (x *KeystoreKey) GetEnabled() bool

func (*KeystoreKey) GetKey

func (x *KeystoreKey) GetKey() string

func (*KeystoreKey) GetPath

func (x *KeystoreKey) GetPath() int64

func (*KeystoreKey) ProtoMessage

func (*KeystoreKey) ProtoMessage()

func (*KeystoreKey) ProtoReflect

func (x *KeystoreKey) ProtoReflect() protoreflect.Message

func (*KeystoreKey) Reset

func (x *KeystoreKey) Reset()

func (*KeystoreKey) String

func (x *KeystoreKey) String() string

type KeystoreKeys

type KeystoreKeys struct {
	Keys []*KeystoreKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*KeystoreKeys) Descriptor deprecated

func (*KeystoreKeys) Descriptor() ([]byte, []int)

Deprecated: Use KeystoreKeys.ProtoReflect.Descriptor instead.

func (*KeystoreKeys) GetKeys

func (x *KeystoreKeys) GetKeys() []*KeystoreKey

func (*KeystoreKeys) ProtoMessage

func (*KeystoreKeys) ProtoMessage()

func (*KeystoreKeys) ProtoReflect

func (x *KeystoreKeys) ProtoReflect() protoreflect.Message

func (*KeystoreKeys) Reset

func (x *KeystoreKeys) Reset()

func (*KeystoreKeys) String

func (x *KeystoreKeys) String() string

type KeystoreServer

type KeystoreServer interface {
	//*
	//Method: GenerateKeys
	//Input: message GenValidatorKeys
	//Response: message KeyPairs
	//Description: Returns private keys generated for validators start.
	GenerateKeys(context.Context, *Number) (*Keys, error)
	//*
	//Method: GetMnemonic
	//Input: message Empty
	//Response: message Mnemonic
	//Description: Returns the mnemonic key of the keystore.
	GetMnemonic(context.Context, *Empty) (*Mnemonic, error)
	//*
	//Method: GetKey
	//Input: message PublicKey
	//Response: message KeystoreKey
	//Description: Returns the keystore information for a specific key.
	GetKey(context.Context, *PublicKey) (*KeystoreKey, error)
	//*
	//Method: GetKeys
	//Input: message Empty
	//Response: message KeystoreKeys
	//Description: Returns all the keystore keys.
	GetKeys(context.Context, *Empty) (*KeystoreKeys, error)
	//*
	//Method: ToggleKey
	//Input: message ToggleKey
	//Response: message KeystoreKey
	//Description: Enables/Disable a keystore key.
	ToggleKey(context.Context, *ToggleKeyMsg) (*KeystoreKey, error)
	// contains filtered or unexported methods
}

KeystoreServer is the server API for Keystore service. All implementations must embed UnimplementedKeystoreServer for forward compatibility

type Mnemonic

type Mnemonic struct {
	Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	// contains filtered or unexported fields
}

func (*Mnemonic) Descriptor deprecated

func (*Mnemonic) Descriptor() ([]byte, []int)

Deprecated: Use Mnemonic.ProtoReflect.Descriptor instead.

func (*Mnemonic) GetMnemonic

func (x *Mnemonic) GetMnemonic() string

func (*Mnemonic) ProtoMessage

func (*Mnemonic) ProtoMessage()

func (*Mnemonic) ProtoReflect

func (x *Mnemonic) ProtoReflect() protoreflect.Message

func (*Mnemonic) Reset

func (x *Mnemonic) Reset()

func (*Mnemonic) String

func (x *Mnemonic) String() string

type NetworkClient

type NetworkClient interface {
	GetNetworkInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NetworkInfo, error)
	GetPeersInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Peers, error)
	AddPeer(ctx context.Context, in *IP, opts ...grpc.CallOption) (*Success, error)
}

NetworkClient is the client API for Network service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNetworkClient

func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient

type NetworkInfo

type NetworkInfo struct {
	Peers int32  `protobuf:"varint,1,opt,name=peers,proto3" json:"peers,omitempty"`
	ID    string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInfo) Descriptor deprecated

func (*NetworkInfo) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetID

func (x *NetworkInfo) GetID() string

func (*NetworkInfo) GetPeers

func (x *NetworkInfo) GetPeers() int32

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

func (x *NetworkInfo) ProtoReflect() protoreflect.Message

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type NetworkServer

type NetworkServer interface {
	GetNetworkInfo(context.Context, *Empty) (*NetworkInfo, error)
	GetPeersInfo(context.Context, *Empty) (*Peers, error)
	AddPeer(context.Context, *IP) (*Success, error)
	// contains filtered or unexported methods
}

NetworkServer is the server API for Network service. All implementations must embed UnimplementedNetworkServer for forward compatibility

type NewWalletInfo

type NewWalletInfo struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Account  string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Mnemonic string `protobuf:"bytes,3,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	// contains filtered or unexported fields
}

func (*NewWalletInfo) Descriptor deprecated

func (*NewWalletInfo) Descriptor() ([]byte, []int)

Deprecated: Use NewWalletInfo.ProtoReflect.Descriptor instead.

func (*NewWalletInfo) GetAccount

func (x *NewWalletInfo) GetAccount() string

func (*NewWalletInfo) GetMnemonic

func (x *NewWalletInfo) GetMnemonic() string

func (*NewWalletInfo) GetName

func (x *NewWalletInfo) GetName() string

func (*NewWalletInfo) ProtoMessage

func (*NewWalletInfo) ProtoMessage()

func (*NewWalletInfo) ProtoReflect

func (x *NewWalletInfo) ProtoReflect() protoreflect.Message

func (*NewWalletInfo) Reset

func (x *NewWalletInfo) Reset()

func (*NewWalletInfo) String

func (x *NewWalletInfo) String() string

type Number

type Number struct {
	Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*Number) Descriptor deprecated

func (*Number) Descriptor() ([]byte, []int)

Deprecated: Use Number.ProtoReflect.Descriptor instead.

func (*Number) GetNumber

func (x *Number) GetNumber() uint64

func (*Number) ProtoMessage

func (*Number) ProtoMessage()

func (*Number) ProtoReflect

func (x *Number) ProtoReflect() protoreflect.Message

func (*Number) Reset

func (x *Number) Reset()

func (*Number) String

func (x *Number) String() string

type ParticipationInfo

type ParticipationInfo struct {
	Voting           bool   `protobuf:"varint,1,opt,name=voting,proto3" json:"voting,omitempty"`
	Proposing        bool   `protobuf:"varint,2,opt,name=proposing,proto3" json:"proposing,omitempty"`
	TotalValidators  uint64 `protobuf:"varint,3,opt,name=total_validators,json=totalValidators,proto3" json:"total_validators,omitempty"`
	OwnedValidators  uint64 `protobuf:"varint,4,opt,name=owned_validators,json=ownedValidators,proto3" json:"owned_validators,omitempty"`
	VotingValidators uint64 `protobuf:"varint,5,opt,name=voting_validators,json=votingValidators,proto3" json:"voting_validators,omitempty"`
	// contains filtered or unexported fields
}

func (*ParticipationInfo) Descriptor deprecated

func (*ParticipationInfo) Descriptor() ([]byte, []int)

Deprecated: Use ParticipationInfo.ProtoReflect.Descriptor instead.

func (*ParticipationInfo) GetOwnedValidators

func (x *ParticipationInfo) GetOwnedValidators() uint64

func (*ParticipationInfo) GetProposing

func (x *ParticipationInfo) GetProposing() bool

func (*ParticipationInfo) GetTotalValidators

func (x *ParticipationInfo) GetTotalValidators() uint64

func (*ParticipationInfo) GetVoting

func (x *ParticipationInfo) GetVoting() bool

func (*ParticipationInfo) GetVotingValidators

func (x *ParticipationInfo) GetVotingValidators() uint64

func (*ParticipationInfo) ProtoMessage

func (*ParticipationInfo) ProtoMessage()

func (*ParticipationInfo) ProtoReflect

func (x *ParticipationInfo) ProtoReflect() protoreflect.Message

func (*ParticipationInfo) Reset

func (x *ParticipationInfo) Reset()

func (*ParticipationInfo) String

func (x *ParticipationInfo) String() string

type ParticipationStatus

type ParticipationStatus struct {
	GlobalSlotNumber             uint64  `protobuf:"varint,1,opt,name=global_slot_number,json=globalSlotNumber,proto3" json:"global_slot_number,omitempty"`
	EpochSlotNumber              uint64  `protobuf:"varint,2,opt,name=epoch_slot_number,json=epochSlotNumber,proto3" json:"epoch_slot_number,omitempty"`
	ExpectedParticipationBalance uint64  `` /* 148-byte string literal not displayed */
	CurrentParticipationBalance  uint64  `` /* 145-byte string literal not displayed */
	ParticipationPercentage      float32 `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ParticipationStatus) Descriptor deprecated

func (*ParticipationStatus) Descriptor() ([]byte, []int)

Deprecated: Use ParticipationStatus.ProtoReflect.Descriptor instead.

func (*ParticipationStatus) GetCurrentParticipationBalance

func (x *ParticipationStatus) GetCurrentParticipationBalance() uint64

func (*ParticipationStatus) GetEpochSlotNumber

func (x *ParticipationStatus) GetEpochSlotNumber() uint64

func (*ParticipationStatus) GetExpectedParticipationBalance

func (x *ParticipationStatus) GetExpectedParticipationBalance() uint64

func (*ParticipationStatus) GetGlobalSlotNumber

func (x *ParticipationStatus) GetGlobalSlotNumber() uint64

func (*ParticipationStatus) GetParticipationPercentage

func (x *ParticipationStatus) GetParticipationPercentage() float32

func (*ParticipationStatus) ProtoMessage

func (*ParticipationStatus) ProtoMessage()

func (*ParticipationStatus) ProtoReflect

func (x *ParticipationStatus) ProtoReflect() protoreflect.Message

func (*ParticipationStatus) Reset

func (x *ParticipationStatus) Reset()

func (*ParticipationStatus) String

func (x *ParticipationStatus) String() string

type Peer

type Peer struct {
	Id            string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Direction     string          `protobuf:"bytes,2,opt,name=direction,proto3" json:"direction,omitempty"`
	BytesReceived int64           `protobuf:"varint,3,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"`
	BytesSent     int64           `protobuf:"varint,4,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	BadMessages   int64           `protobuf:"varint,5,opt,name=bad_messages,json=badMessages,proto3" json:"bad_messages,omitempty"`
	BanScore      int64           `protobuf:"varint,6,opt,name=ban_score,json=banScore,proto3" json:"ban_score,omitempty"`
	ChainStats    *PeerChainStats `protobuf:"bytes,7,opt,name=chain_stats,json=chainStats,proto3" json:"chain_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

func (*Peer) Descriptor() ([]byte, []int)

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetBadMessages

func (x *Peer) GetBadMessages() int64

func (*Peer) GetBanScore

func (x *Peer) GetBanScore() int64

func (*Peer) GetBytesReceived

func (x *Peer) GetBytesReceived() int64

func (*Peer) GetBytesSent

func (x *Peer) GetBytesSent() int64

func (*Peer) GetChainStats

func (x *Peer) GetChainStats() *PeerChainStats

func (*Peer) GetDirection

func (x *Peer) GetDirection() string

func (*Peer) GetId

func (x *Peer) GetId() string

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

func (x *Peer) ProtoReflect() protoreflect.Message

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type PeerChainStats

type PeerChainStats struct {
	TipSlot         int64  `protobuf:"varint,1,opt,name=tip_slot,json=tipSlot,proto3" json:"tip_slot,omitempty"`
	TipHeight       int64  `protobuf:"varint,2,opt,name=tip_height,json=tipHeight,proto3" json:"tip_height,omitempty"`
	TipHash         string `protobuf:"bytes,3,opt,name=tip_hash,json=tipHash,proto3" json:"tip_hash,omitempty"`
	JustifiedSlot   int64  `protobuf:"varint,4,opt,name=justified_slot,json=justifiedSlot,proto3" json:"justified_slot,omitempty"`
	JustifiedHeight int64  `protobuf:"varint,5,opt,name=justified_height,json=justifiedHeight,proto3" json:"justified_height,omitempty"`
	JustifiedHash   string `protobuf:"bytes,6,opt,name=justified_hash,json=justifiedHash,proto3" json:"justified_hash,omitempty"`
	FinalizedSlot   int64  `protobuf:"varint,7,opt,name=finalized_slot,json=finalizedSlot,proto3" json:"finalized_slot,omitempty"`
	FinalizedHeight int64  `protobuf:"varint,8,opt,name=finalized_height,json=finalizedHeight,proto3" json:"finalized_height,omitempty"`
	FinalizedHash   string `protobuf:"bytes,9,opt,name=finalized_hash,json=finalizedHash,proto3" json:"finalized_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerChainStats) Descriptor deprecated

func (*PeerChainStats) Descriptor() ([]byte, []int)

Deprecated: Use PeerChainStats.ProtoReflect.Descriptor instead.

func (*PeerChainStats) GetFinalizedHash

func (x *PeerChainStats) GetFinalizedHash() string

func (*PeerChainStats) GetFinalizedHeight

func (x *PeerChainStats) GetFinalizedHeight() int64

func (*PeerChainStats) GetFinalizedSlot

func (x *PeerChainStats) GetFinalizedSlot() int64

func (*PeerChainStats) GetJustifiedHash

func (x *PeerChainStats) GetJustifiedHash() string

func (*PeerChainStats) GetJustifiedHeight

func (x *PeerChainStats) GetJustifiedHeight() int64

func (*PeerChainStats) GetJustifiedSlot

func (x *PeerChainStats) GetJustifiedSlot() int64

func (*PeerChainStats) GetTipHash

func (x *PeerChainStats) GetTipHash() string

func (*PeerChainStats) GetTipHeight

func (x *PeerChainStats) GetTipHeight() int64

func (*PeerChainStats) GetTipSlot

func (x *PeerChainStats) GetTipSlot() int64

func (*PeerChainStats) ProtoMessage

func (*PeerChainStats) ProtoMessage()

func (*PeerChainStats) ProtoReflect

func (x *PeerChainStats) ProtoReflect() protoreflect.Message

func (*PeerChainStats) Reset

func (x *PeerChainStats) Reset()

func (*PeerChainStats) String

func (x *PeerChainStats) String() string

type Peers

type Peers struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*Peers) Descriptor deprecated

func (*Peers) Descriptor() ([]byte, []int)

Deprecated: Use Peers.ProtoReflect.Descriptor instead.

func (*Peers) GetPeers

func (x *Peers) GetPeers() []*Peer

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) ProtoReflect

func (x *Peers) ProtoReflect() protoreflect.Message

func (*Peers) Reset

func (x *Peers) Reset()

func (*Peers) String

func (x *Peers) String() string

type PublicKey

type PublicKey struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicKey) Descriptor deprecated

func (*PublicKey) Descriptor() ([]byte, []int)

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetKey

func (x *PublicKey) GetKey() string

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

func (x *PublicKey) ProtoReflect() protoreflect.Message

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

type RawData

type RawData struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*RawData) Descriptor deprecated

func (*RawData) Descriptor() ([]byte, []int)

Deprecated: Use RawData.ProtoReflect.Descriptor instead.

func (*RawData) GetData

func (x *RawData) GetData() string

func (*RawData) GetType

func (x *RawData) GetType() string

func (*RawData) ProtoMessage

func (*RawData) ProtoMessage()

func (*RawData) ProtoReflect

func (x *RawData) ProtoReflect() protoreflect.Message

func (*RawData) Reset

func (x *RawData) Reset()

func (*RawData) String

func (x *RawData) String() string

type RedeemProof

type RedeemProof struct {
	Proof   string `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*RedeemProof) Descriptor deprecated

func (*RedeemProof) Descriptor() ([]byte, []int)

Deprecated: Use RedeemProof.ProtoReflect.Descriptor instead.

func (*RedeemProof) GetAddress

func (x *RedeemProof) GetAddress() string

func (*RedeemProof) GetProof

func (x *RedeemProof) GetProof() string

func (*RedeemProof) ProtoMessage

func (*RedeemProof) ProtoMessage()

func (*RedeemProof) ProtoReflect

func (x *RedeemProof) ProtoReflect() protoreflect.Message

func (*RedeemProof) Reset

func (x *RedeemProof) Reset()

func (*RedeemProof) String

func (x *RedeemProof) String() string

type SendTransactionInfo

type SendTransactionInfo struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*SendTransactionInfo) Descriptor deprecated

func (*SendTransactionInfo) Descriptor() ([]byte, []int)

Deprecated: Use SendTransactionInfo.ProtoReflect.Descriptor instead.

func (*SendTransactionInfo) GetAccount

func (x *SendTransactionInfo) GetAccount() string

func (*SendTransactionInfo) GetAmount

func (x *SendTransactionInfo) GetAmount() string

func (*SendTransactionInfo) ProtoMessage

func (*SendTransactionInfo) ProtoMessage()

func (*SendTransactionInfo) ProtoReflect

func (x *SendTransactionInfo) ProtoReflect() protoreflect.Message

func (*SendTransactionInfo) Reset

func (x *SendTransactionInfo) Reset()

func (*SendTransactionInfo) String

func (x *SendTransactionInfo) String() string

type SlotInfo

type SlotInfo struct {
	SlotNumber        uint64                 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	Passed            bool                   `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
	RequiredComitters uint64                 `protobuf:"varint,3,opt,name=required_comitters,json=requiredComitters,proto3" json:"required_comitters,omitempty"`
	ComitteesIndexes  []*ComitteeInformation `protobuf:"bytes,4,rep,name=comittees_indexes,json=comitteesIndexes,proto3" json:"comittees_indexes,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotInfo) Descriptor deprecated

func (*SlotInfo) Descriptor() ([]byte, []int)

Deprecated: Use SlotInfo.ProtoReflect.Descriptor instead.

func (*SlotInfo) GetComitteesIndexes

func (x *SlotInfo) GetComitteesIndexes() []*ComitteeInformation

func (*SlotInfo) GetPassed

func (x *SlotInfo) GetPassed() bool

func (*SlotInfo) GetRequiredComitters

func (x *SlotInfo) GetRequiredComitters() uint64

func (*SlotInfo) GetSlotNumber

func (x *SlotInfo) GetSlotNumber() uint64

func (*SlotInfo) ProtoMessage

func (*SlotInfo) ProtoMessage()

func (*SlotInfo) ProtoReflect

func (x *SlotInfo) ProtoReflect() protoreflect.Message

func (*SlotInfo) Reset

func (x *SlotInfo) Reset()

func (*SlotInfo) String

func (x *SlotInfo) String() string

type SubscribeValidatorRequest

type SubscribeValidatorRequest struct {
	PublicKey [][]byte `protobuf:"bytes,1,rep,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeValidatorRequest) Descriptor deprecated

func (*SubscribeValidatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeValidatorRequest.ProtoReflect.Descriptor instead.

func (*SubscribeValidatorRequest) GetPublicKey

func (x *SubscribeValidatorRequest) GetPublicKey() [][]byte

func (*SubscribeValidatorRequest) ProtoMessage

func (*SubscribeValidatorRequest) ProtoMessage()

func (*SubscribeValidatorRequest) ProtoReflect

func (*SubscribeValidatorRequest) Reset

func (x *SubscribeValidatorRequest) Reset()

func (*SubscribeValidatorRequest) String

func (x *SubscribeValidatorRequest) String() string

type Success

type Success struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Error   string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Data    string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Success) Descriptor deprecated

func (*Success) Descriptor() ([]byte, []int)

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetData

func (x *Success) GetData() string

func (*Success) GetError

func (x *Success) GetError() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

func (x *Success) ProtoReflect() protoreflect.Message

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type ToggleKeyMsg

type ToggleKeyMsg struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Enabled   bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleKeyMsg) Descriptor deprecated

func (*ToggleKeyMsg) Descriptor() ([]byte, []int)

Deprecated: Use ToggleKeyMsg.ProtoReflect.Descriptor instead.

func (*ToggleKeyMsg) GetEnabled

func (x *ToggleKeyMsg) GetEnabled() bool

func (*ToggleKeyMsg) GetPublicKey

func (x *ToggleKeyMsg) GetPublicKey() string

func (*ToggleKeyMsg) ProtoMessage

func (*ToggleKeyMsg) ProtoMessage()

func (*ToggleKeyMsg) ProtoReflect

func (x *ToggleKeyMsg) ProtoReflect() protoreflect.Message

func (*ToggleKeyMsg) Reset

func (x *ToggleKeyMsg) Reset()

func (*ToggleKeyMsg) String

func (x *ToggleKeyMsg) String() string

type Tx

type Tx struct {
	Hash          string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	To            string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	FromPublicKey string `protobuf:"bytes,3,opt,name=from_public_key,json=fromPublicKey,proto3" json:"from_public_key,omitempty"`
	Amount        uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Nonce         uint64 `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Fee           uint64 `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Signature     string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Tx) Descriptor deprecated

func (*Tx) Descriptor() ([]byte, []int)

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetAmount

func (x *Tx) GetAmount() uint64

func (*Tx) GetFee

func (x *Tx) GetFee() uint64

func (*Tx) GetFromPublicKey

func (x *Tx) GetFromPublicKey() string

func (*Tx) GetHash

func (x *Tx) GetHash() string

func (*Tx) GetNonce

func (x *Tx) GetNonce() uint64

func (*Tx) GetSignature

func (x *Tx) GetSignature() string

func (*Tx) GetTo

func (x *Tx) GetTo() string

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

func (x *Tx) ProtoReflect() protoreflect.Message

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

type TxDetail

type TxDetail struct {
	Tx            *Tx    `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	BlockHash     string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockHeight   string `protobuf:"bytes,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Confirmations int64  `protobuf:"varint,4,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	Finalized     bool   `protobuf:"varint,5,opt,name=finalized,proto3" json:"finalized,omitempty"`
	BlockTime     uint64 `protobuf:"varint,6,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TxDetail) Descriptor deprecated

func (*TxDetail) Descriptor() ([]byte, []int)

Deprecated: Use TxDetail.ProtoReflect.Descriptor instead.

func (*TxDetail) GetBlockHash

func (x *TxDetail) GetBlockHash() string

func (*TxDetail) GetBlockHeight

func (x *TxDetail) GetBlockHeight() string

func (*TxDetail) GetBlockTime

func (x *TxDetail) GetBlockTime() uint64

func (*TxDetail) GetConfirmations

func (x *TxDetail) GetConfirmations() int64

func (*TxDetail) GetFinalized

func (x *TxDetail) GetFinalized() bool

func (*TxDetail) GetTx

func (x *TxDetail) GetTx() *Tx

func (*TxDetail) ProtoMessage

func (*TxDetail) ProtoMessage()

func (*TxDetail) ProtoReflect

func (x *TxDetail) ProtoReflect() protoreflect.Message

func (*TxDetail) Reset

func (x *TxDetail) Reset()

func (*TxDetail) String

func (x *TxDetail) String() string

type UnimplementedChainServer

type UnimplementedChainServer struct {
}

UnimplementedChainServer must be embedded to have forward compatible implementations.

func (UnimplementedChainServer) GetAccountInfo

func (UnimplementedChainServer) GetBlock

func (UnimplementedChainServer) GetBlockHash

func (UnimplementedChainServer) GetChainInfo

func (UnimplementedChainServer) GetRawBlock

func (UnimplementedChainServer) SubscribeBlocks

func (UnimplementedChainServer) Sync

type UnimplementedConsensusServer

type UnimplementedConsensusServer struct {
}

UnimplementedConsensusServer must be embedded to have forward compatible implementations.

func (UnimplementedConsensusServer) GetEpochInfo

func (UnimplementedConsensusServer) GetParticipationStatus

func (UnimplementedConsensusServer) GetSlotInfo

type UnimplementedIndexerServer

type UnimplementedIndexerServer struct {
}

UnimplementedIndexerServer must be embedded to have forward compatible implementations.

func (UnimplementedIndexerServer) GetAccount

func (UnimplementedIndexerServer) GetBlock

func (UnimplementedIndexerServer) GetBlockHash

func (UnimplementedIndexerServer) GetBlockTxs

func (UnimplementedIndexerServer) GetDetailedTransaction

func (UnimplementedIndexerServer) GetDetailedTransaction(context.Context, *Hash) (*TxDetail, error)

func (UnimplementedIndexerServer) GetIndexerStatus

func (UnimplementedIndexerServer) GetTransaction

func (UnimplementedIndexerServer) GetTransaction(context.Context, *Hash) (*Tx, error)

type UnimplementedKeystoreServer

type UnimplementedKeystoreServer struct {
}

UnimplementedKeystoreServer must be embedded to have forward compatible implementations.

func (UnimplementedKeystoreServer) GenerateKeys

func (UnimplementedKeystoreServer) GetKey

func (UnimplementedKeystoreServer) GetKeys

func (UnimplementedKeystoreServer) GetMnemonic

func (UnimplementedKeystoreServer) ToggleKey

type UnimplementedNetworkServer

type UnimplementedNetworkServer struct {
}

UnimplementedNetworkServer must be embedded to have forward compatible implementations.

func (UnimplementedNetworkServer) AddPeer

func (UnimplementedNetworkServer) GetNetworkInfo

func (UnimplementedNetworkServer) GetPeersInfo

type UnimplementedUtilsServer

type UnimplementedUtilsServer struct {
}

UnimplementedUtilsServer must be embedded to have forward compatible implementations.

func (UnimplementedUtilsServer) DecodeRawBlock

func (UnimplementedUtilsServer) DecodeRawTransaction

func (UnimplementedUtilsServer) DecodeRawTransaction(context.Context, *RawData) (*Tx, error)

func (UnimplementedUtilsServer) GenKeyPair

func (UnimplementedUtilsServer) SubmitRawData

func (UnimplementedUtilsServer) SubmitRedeemProof

type UnimplementedValidatorsServer

type UnimplementedValidatorsServer struct {
}

UnimplementedValidatorsServer must be embedded to have forward compatible implementations.

func (UnimplementedValidatorsServer) GetAccountValidators

func (UnimplementedValidatorsServer) GetValidatorsList

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServer) CloseWallet

func (UnimplementedWalletServer) CreateWallet

func (UnimplementedWalletServer) DumpWallet

func (UnimplementedWalletServer) ExitValidator

func (UnimplementedWalletServer) ExitValidatorBulk

func (UnimplementedWalletServer) GetAccount

func (UnimplementedWalletServer) GetBalance

func (UnimplementedWalletServer) GetValidators

func (UnimplementedWalletServer) GetValidatorsCount

func (UnimplementedWalletServer) ImportWallet

func (UnimplementedWalletServer) ListWallets

func (UnimplementedWalletServer) OpenWallet

func (UnimplementedWalletServer) SendTransaction

func (UnimplementedWalletServer) StartValidator

func (UnimplementedWalletServer) StartValidatorBulk

func (UnimplementedWalletServer) StartValidatorBulk(context.Context, *KeyPairs) (*Success, error)

type UnsafeChainServer

type UnsafeChainServer interface {
	// contains filtered or unexported methods
}

UnsafeChainServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChainServer will result in compilation errors.

type UnsafeConsensusServer

type UnsafeConsensusServer interface {
	// contains filtered or unexported methods
}

UnsafeConsensusServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsensusServer will result in compilation errors.

type UnsafeIndexerServer

type UnsafeIndexerServer interface {
	// contains filtered or unexported methods
}

UnsafeIndexerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IndexerServer will result in compilation errors.

type UnsafeKeystoreServer

type UnsafeKeystoreServer interface {
	// contains filtered or unexported methods
}

UnsafeKeystoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreServer will result in compilation errors.

type UnsafeNetworkServer

type UnsafeNetworkServer interface {
	// contains filtered or unexported methods
}

UnsafeNetworkServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServer will result in compilation errors.

type UnsafeUtilsServer

type UnsafeUtilsServer interface {
	// contains filtered or unexported methods
}

UnsafeUtilsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UtilsServer will result in compilation errors.

type UnsafeValidatorsServer

type UnsafeValidatorsServer interface {
	// contains filtered or unexported methods
}

UnsafeValidatorsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ValidatorsServer will result in compilation errors.

type UnsafeWalletServer

type UnsafeWalletServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServer will result in compilation errors.

type UtilsClient

type UtilsClient interface {
	//*
	//Method: GenKeyPair
	//Input: message Empty
	//Response: message KeyPair
	//Description: Generates a new bls bech32 encoded key pair.
	GenKeyPair(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*KeyPair, error)
	//*
	//Method: SubmitRawData
	//Input: message RawData
	//Response: message Success
	//Description: Broadcast a raw elements of different transactions.
	SubmitRawData(ctx context.Context, in *RawData, opts ...grpc.CallOption) (*Success, error)
	//*
	//Method: DecodeRawTransaction
	//Input: message RawData
	//Response: message Tx
	//Description: Returns a raw transaction on human readable format.
	DecodeRawTransaction(ctx context.Context, in *RawData, opts ...grpc.CallOption) (*Tx, error)
	//*
	//Method: DecodeRawBlock
	//Input: message RawData
	//Response: message Block
	//Description: Returns a raw block on human readable format.
	DecodeRawBlock(ctx context.Context, in *RawData, opts ...grpc.CallOption) (*Block, error)
	//*
	//Method: SubmitRedeemProof
	//Input: RedeemProof
	//Response: Tx
	//Description: Returns a stream of transactions. Relaying a transaction when arrives the mempool.
	SubmitRedeemProof(ctx context.Context, in *RedeemProof, opts ...grpc.CallOption) (*Success, error)
}

UtilsClient is the client API for Utils service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUtilsClient

func NewUtilsClient(cc grpc.ClientConnInterface) UtilsClient

type UtilsServer

type UtilsServer interface {
	//*
	//Method: GenKeyPair
	//Input: message Empty
	//Response: message KeyPair
	//Description: Generates a new bls bech32 encoded key pair.
	GenKeyPair(context.Context, *Empty) (*KeyPair, error)
	//*
	//Method: SubmitRawData
	//Input: message RawData
	//Response: message Success
	//Description: Broadcast a raw elements of different transactions.
	SubmitRawData(context.Context, *RawData) (*Success, error)
	//*
	//Method: DecodeRawTransaction
	//Input: message RawData
	//Response: message Tx
	//Description: Returns a raw transaction on human readable format.
	DecodeRawTransaction(context.Context, *RawData) (*Tx, error)
	//*
	//Method: DecodeRawBlock
	//Input: message RawData
	//Response: message Block
	//Description: Returns a raw block on human readable format.
	DecodeRawBlock(context.Context, *RawData) (*Block, error)
	//*
	//Method: SubmitRedeemProof
	//Input: RedeemProof
	//Response: Tx
	//Description: Returns a stream of transactions. Relaying a transaction when arrives the mempool.
	SubmitRedeemProof(context.Context, *RedeemProof) (*Success, error)
	// contains filtered or unexported methods
}

UtilsServer is the server API for Utils service. All implementations must embed UnimplementedUtilsServer for forward compatibility

type ValidatorRegistry

type ValidatorRegistry struct {
	Balance          string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	PublicKey        string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PayeeAddress     string `protobuf:"bytes,3,opt,name=payee_address,json=payeeAddress,proto3" json:"payee_address,omitempty"`
	Status           string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	FirstActiveEpoch uint64 `protobuf:"varint,5,opt,name=first_active_epoch,json=firstActiveEpoch,proto3" json:"first_active_epoch,omitempty"`
	LastActiveEpoch  uint64 `protobuf:"varint,6,opt,name=last_active_epoch,json=lastActiveEpoch,proto3" json:"last_active_epoch,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatorRegistry) Descriptor deprecated

func (*ValidatorRegistry) Descriptor() ([]byte, []int)

Deprecated: Use ValidatorRegistry.ProtoReflect.Descriptor instead.

func (*ValidatorRegistry) GetBalance

func (x *ValidatorRegistry) GetBalance() string

func (*ValidatorRegistry) GetFirstActiveEpoch

func (x *ValidatorRegistry) GetFirstActiveEpoch() uint64

func (*ValidatorRegistry) GetLastActiveEpoch

func (x *ValidatorRegistry) GetLastActiveEpoch() uint64

func (*ValidatorRegistry) GetPayeeAddress

func (x *ValidatorRegistry) GetPayeeAddress() string

func (*ValidatorRegistry) GetPublicKey

func (x *ValidatorRegistry) GetPublicKey() string

func (*ValidatorRegistry) GetStatus

func (x *ValidatorRegistry) GetStatus() string

func (*ValidatorRegistry) ProtoMessage

func (*ValidatorRegistry) ProtoMessage()

func (*ValidatorRegistry) ProtoReflect

func (x *ValidatorRegistry) ProtoReflect() protoreflect.Message

func (*ValidatorRegistry) Reset

func (x *ValidatorRegistry) Reset()

func (*ValidatorRegistry) String

func (x *ValidatorRegistry) String() string

type ValidatorsClient

type ValidatorsClient interface {
	GetValidatorsList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ValidatorsRegistry, error)
	GetAccountValidators(ctx context.Context, in *Account, opts ...grpc.CallOption) (*ValidatorsRegistry, error)
}

ValidatorsClient is the client API for Validators service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewValidatorsClient

func NewValidatorsClient(cc grpc.ClientConnInterface) ValidatorsClient

type ValidatorsInfo

type ValidatorsInfo struct {
	Active      int64 `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	PendingExit int64 `protobuf:"varint,2,opt,name=pending_exit,json=pendingExit,proto3" json:"pending_exit,omitempty"`
	PenaltyExit int64 `protobuf:"varint,3,opt,name=penalty_exit,json=penaltyExit,proto3" json:"penalty_exit,omitempty"`
	Exited      int64 `protobuf:"varint,4,opt,name=exited,proto3" json:"exited,omitempty"`
	Starting    int64 `protobuf:"varint,5,opt,name=starting,proto3" json:"starting,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatorsInfo) Descriptor deprecated

func (*ValidatorsInfo) Descriptor() ([]byte, []int)

Deprecated: Use ValidatorsInfo.ProtoReflect.Descriptor instead.

func (*ValidatorsInfo) GetActive

func (x *ValidatorsInfo) GetActive() int64

func (*ValidatorsInfo) GetExited

func (x *ValidatorsInfo) GetExited() int64

func (*ValidatorsInfo) GetPenaltyExit

func (x *ValidatorsInfo) GetPenaltyExit() int64

func (*ValidatorsInfo) GetPendingExit

func (x *ValidatorsInfo) GetPendingExit() int64

func (*ValidatorsInfo) GetStarting

func (x *ValidatorsInfo) GetStarting() int64

func (*ValidatorsInfo) ProtoMessage

func (*ValidatorsInfo) ProtoMessage()

func (*ValidatorsInfo) ProtoReflect

func (x *ValidatorsInfo) ProtoReflect() protoreflect.Message

func (*ValidatorsInfo) Reset

func (x *ValidatorsInfo) Reset()

func (*ValidatorsInfo) String

func (x *ValidatorsInfo) String() string

type ValidatorsRegistry

type ValidatorsRegistry struct {
	Info       *ValidatorsInfo      `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Validators []*ValidatorRegistry `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatorsRegistry) Descriptor deprecated

func (*ValidatorsRegistry) Descriptor() ([]byte, []int)

Deprecated: Use ValidatorsRegistry.ProtoReflect.Descriptor instead.

func (*ValidatorsRegistry) GetInfo

func (x *ValidatorsRegistry) GetInfo() *ValidatorsInfo

func (*ValidatorsRegistry) GetValidators

func (x *ValidatorsRegistry) GetValidators() []*ValidatorRegistry

func (*ValidatorsRegistry) ProtoMessage

func (*ValidatorsRegistry) ProtoMessage()

func (*ValidatorsRegistry) ProtoReflect

func (x *ValidatorsRegistry) ProtoReflect() protoreflect.Message

func (*ValidatorsRegistry) Reset

func (x *ValidatorsRegistry) Reset()

func (*ValidatorsRegistry) String

func (x *ValidatorsRegistry) String() string

type ValidatorsServer

type ValidatorsServer interface {
	GetValidatorsList(context.Context, *Empty) (*ValidatorsRegistry, error)
	GetAccountValidators(context.Context, *Account) (*ValidatorsRegistry, error)
	// contains filtered or unexported methods
}

ValidatorsServer is the server API for Validators service. All implementations must embed UnimplementedValidatorsServer for forward compatibility

type WalletClient

type WalletClient interface {
	ListWallets(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Wallets, error)
	CreateWallet(ctx context.Context, in *WalletReference, opts ...grpc.CallOption) (*NewWalletInfo, error)
	OpenWallet(ctx context.Context, in *WalletReference, opts ...grpc.CallOption) (*Success, error)
	ImportWallet(ctx context.Context, in *ImportWalletData, opts ...grpc.CallOption) (*KeyPair, error)
	DumpWallet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Mnemonic, error)
	CloseWallet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Success, error)
	GetBalance(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Balance, error)
	GetValidators(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ValidatorsRegistry, error)
	GetValidatorsCount(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ValidatorsInfo, error)
	GetAccount(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*KeyPair, error)
	SendTransaction(ctx context.Context, in *SendTransactionInfo, opts ...grpc.CallOption) (*Hash, error)
	StartValidator(ctx context.Context, in *KeyPair, opts ...grpc.CallOption) (*Success, error)
	StartValidatorBulk(ctx context.Context, in *KeyPairs, opts ...grpc.CallOption) (*Success, error)
	ExitValidator(ctx context.Context, in *KeyPair, opts ...grpc.CallOption) (*Success, error)
	ExitValidatorBulk(ctx context.Context, in *KeyPairs, opts ...grpc.CallOption) (*Success, error)
}

WalletClient is the client API for Wallet service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWalletClient

func NewWalletClient(cc grpc.ClientConnInterface) WalletClient

type WalletReference

type WalletReference struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletReference) Descriptor deprecated

func (*WalletReference) Descriptor() ([]byte, []int)

Deprecated: Use WalletReference.ProtoReflect.Descriptor instead.

func (*WalletReference) GetName

func (x *WalletReference) GetName() string

func (*WalletReference) GetPassword

func (x *WalletReference) GetPassword() string

func (*WalletReference) ProtoMessage

func (*WalletReference) ProtoMessage()

func (*WalletReference) ProtoReflect

func (x *WalletReference) ProtoReflect() protoreflect.Message

func (*WalletReference) Reset

func (x *WalletReference) Reset()

func (*WalletReference) String

func (x *WalletReference) String() string

type WalletServer

type WalletServer interface {
	ListWallets(context.Context, *Empty) (*Wallets, error)
	CreateWallet(context.Context, *WalletReference) (*NewWalletInfo, error)
	OpenWallet(context.Context, *WalletReference) (*Success, error)
	ImportWallet(context.Context, *ImportWalletData) (*KeyPair, error)
	DumpWallet(context.Context, *Empty) (*Mnemonic, error)
	CloseWallet(context.Context, *Empty) (*Success, error)
	GetBalance(context.Context, *Empty) (*Balance, error)
	GetValidators(context.Context, *Empty) (*ValidatorsRegistry, error)
	GetValidatorsCount(context.Context, *Empty) (*ValidatorsInfo, error)
	GetAccount(context.Context, *Empty) (*KeyPair, error)
	SendTransaction(context.Context, *SendTransactionInfo) (*Hash, error)
	StartValidator(context.Context, *KeyPair) (*Success, error)
	StartValidatorBulk(context.Context, *KeyPairs) (*Success, error)
	ExitValidator(context.Context, *KeyPair) (*Success, error)
	ExitValidatorBulk(context.Context, *KeyPairs) (*Success, error)
	// contains filtered or unexported methods
}

WalletServer is the server API for Wallet service. All implementations must embed UnimplementedWalletServer for forward compatibility

type Wallets

type Wallets struct {
	Wallets []string `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"`
	// contains filtered or unexported fields
}

func (*Wallets) Descriptor deprecated

func (*Wallets) Descriptor() ([]byte, []int)

Deprecated: Use Wallets.ProtoReflect.Descriptor instead.

func (*Wallets) GetWallets

func (x *Wallets) GetWallets() []string

func (*Wallets) ProtoMessage

func (*Wallets) ProtoMessage()

func (*Wallets) ProtoReflect

func (x *Wallets) ProtoReflect() protoreflect.Message

func (*Wallets) Reset

func (x *Wallets) Reset()

func (*Wallets) String

func (x *Wallets) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL