package
0.5.0
Repository: https://github.com/madbase/madnet.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewGeneratedDiscoveryServer constructs a new server for the service.
NewGeneratedLocalStateServer constructs a new server for the service.
NewGeneratedP2PServer constructs a new server for the service.
NewInboundRPCDispatch will construct a new inboundRPCDispatcher with all fields properly initialized.
No description provided by the author
NewLocalStateDispatch will construct a new LocalStateDispatcher with all fields properly initialized.
No description provided by the author
No description provided by the author
No description provided by the author
RegisterLocalStateHandler registers the http handlers for service LocalState to "mux".
RegisterLocalStateHandlerClient registers the http handlers for service LocalState to "mux".
RegisterLocalStateHandlerFromEndpoint is same as RegisterLocalStateHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterLocalStateHandlerServer registers the http handlers for service LocalState to "mux".
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Protobuf message implementation for struct ASPreImage.
Protobuf message implementation for struct AtomicSwap.
Protobuf message implementation for struct BClaims.
Protobuf message implementation for struct BlockHeader.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Protobuf message implementation for struct DataStore.
Protobuf message implementation for struct DSLinker.
Protobuf message implementation for struct DSPreImage.
No description provided by the author
No description provided by the author
GeneratedDiscoveryServer implements the Discovery service as a gRPC server.
GeneratedLocalStateServer implements the LocalState service as a gRPC server.
GeneratedP2PServer implements the P2P service as a gRPC server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LocalStateDispatch allows handlers to be registered for all RPC methods using the Register<Service><Name> methods.
No description provided by the author
No description provided by the author
Protobuf message implementation for struct NextHeight.
Protobuf message implementation for struct NextRound.
Protobuf message implementation for struct NHClaims.
Protobuf message implementation for struct NRClaims.
Protobuf message implementation for struct PClaims.
No description provided by the author
No description provided by the author
Protobuf message implementation for struct PreCommit.
Protobuf message implementation for struct PreCommitNil.
Protobuf message implementation for struct PreVote.
Protobuf message implementation for struct PreVoteNil.
Protobuf message implementation for struct Proposal.
Protobuf message implementation for struct RCert.
Protobuf message implementation for struct RClaims.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Protobuf message implementation for struct Tx.
No description provided by the author
No description provided by the author
Protobuf message implementation for struct TXIn.
Protobuf message implementation for struct TXInLinker.
Protobuf message implementation for struct TXInPreImage.
Protobuf message implementation for struct TXOut.
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedBootNodeServer can be embedded to have forward compatible implementations.
UnimplementedDiscoveryServer can be embedded to have forward compatible implementations.
UnimplementedLocalStateServer can be embedded to have forward compatible implementations.
UnimplementedP2PServer can be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Protobuf message implementation for struct ValueStore.
Protobuf message implementation for struct VSPreImage.

# Interfaces

BootNodeClient is the client API for BootNode service.
BootNodeServer is the server API for BootNode service.
DiscoveryClient is the client API for Discovery service.
DiscoveryGetPeersHandler is an interface class that only contains the method HandleDiscoveryGetPeers The class that implements this method MUST handle the RPC call for the method GetPeers of the RPC service Discovery.
DiscoveryServer is the server API for Discovery service.
LocalStateClient is the client API for LocalState service.
LocalStateGetBlockHeaderHandler is an interface class that only contains the method HandleLocalStateGetBlockHeader The class that implements this method MUST handle the RPC call for the method GetBlockHeader of the RPC service LocalState.
LocalStateGetBlockNumberHandler is an interface class that only contains the method HandleLocalStateGetBlockNumber The class that implements this method MUST handle the RPC call for the method GetBlockNumber of the RPC service LocalState.
LocalStateGetChainIDHandler is an interface class that only contains the method HandleLocalStateGetChainID The class that implements this method MUST handle the RPC call for the method GetChainID of the RPC service LocalState.
LocalStateGetDataHandler is an interface class that only contains the method HandleLocalStateGetData The class that implements this method MUST handle the RPC call for the method GetData of the RPC service LocalState.
LocalStateGetEpochNumberHandler is an interface class that only contains the method HandleLocalStateGetEpochNumber The class that implements this method MUST handle the RPC call for the method GetEpochNumber of the RPC service LocalState.
LocalStateGetMinedTransactionHandler is an interface class that only contains the method HandleLocalStateGetMinedTransaction The class that implements this method MUST handle the RPC call for the method GetMinedTransaction of the RPC service LocalState.
LocalStateGetPendingTransactionHandler is an interface class that only contains the method HandleLocalStateGetPendingTransaction The class that implements this method MUST handle the RPC call for the method GetPendingTransaction of the RPC service LocalState.
LocalStateGetRoundStateForValidatorHandler is an interface class that only contains the method HandleLocalStateGetRoundStateForValidator The class that implements this method MUST handle the RPC call for the method GetRoundStateForValidator of the RPC service LocalState.
LocalStateGetTxBlockNumberHandler is an interface class that only contains the method HandleLocalStateGetTxBlockNumber The class that implements this method MUST handle the RPC call for the method GetTxBlockNumber of the RPC service LocalState.
LocalStateGetUTXOHandler is an interface class that only contains the method HandleLocalStateGetUTXO The class that implements this method MUST handle the RPC call for the method GetUTXO of the RPC service LocalState.
LocalStateGetValidatorSetHandler is an interface class that only contains the method HandleLocalStateGetValidatorSet The class that implements this method MUST handle the RPC call for the method GetValidatorSet of the RPC service LocalState.
LocalStateGetValueForOwnerHandler is an interface class that only contains the method HandleLocalStateGetValueForOwner The class that implements this method MUST handle the RPC call for the method GetValueForOwner of the RPC service LocalState.
LocalStateIterateNameSpaceHandler is an interface class that only contains the method HandleLocalStateIterateNameSpace The class that implements this method MUST handle the RPC call for the method IterateNameSpace of the RPC service LocalState.
LocalStateSendTransactionHandler is an interface class that only contains the method HandleLocalStateSendTransaction The class that implements this method MUST handle the RPC call for the method SendTransaction of the RPC service LocalState.
LocalStateServer is the server API for LocalState service.
P2PClient is the client API for P2P service.
P2PGetBlockHeadersHandler is an interface class that only contains the method HandleP2PGetBlockHeaders The class that implements this method MUST handle the RPC call for the method GetBlockHeaders of the RPC service P2P.
P2PGetMinedTxsHandler is an interface class that only contains the method HandleP2PGetMinedTxs The class that implements this method MUST handle the RPC call for the method GetMinedTxs of the RPC service P2P.
P2PGetPeersHandler is an interface class that only contains the method HandleP2PGetPeers The class that implements this method MUST handle the RPC call for the method GetPeers of the RPC service P2P.
P2PGetPendingTxsHandler is an interface class that only contains the method HandleP2PGetPendingTxs The class that implements this method MUST handle the RPC call for the method GetPendingTxs of the RPC service P2P.
P2PGetSnapShotHdrNodeHandler is an interface class that only contains the method HandleP2PGetSnapShotHdrNode The class that implements this method MUST handle the RPC call for the method GetSnapShotHdrNode of the RPC service P2P.
P2PGetSnapShotNodeHandler is an interface class that only contains the method HandleP2PGetSnapShotNode The class that implements this method MUST handle the RPC call for the method GetSnapShotNode of the RPC service P2P.
P2PGetSnapShotStateDataHandler is an interface class that only contains the method HandleP2PGetSnapShotStateData The class that implements this method MUST handle the RPC call for the method GetSnapShotStateData of the RPC service P2P.
P2PGossipBlockHeaderHandler is an interface class that only contains the method HandleP2PGossipBlockHeader The class that implements this method MUST handle the RPC call for the method GossipBlockHeader of the RPC service P2P.
P2PGossipNextHeightHandler is an interface class that only contains the method HandleP2PGossipNextHeight The class that implements this method MUST handle the RPC call for the method GossipNextHeight of the RPC service P2P.
P2PGossipNextRoundHandler is an interface class that only contains the method HandleP2PGossipNextRound The class that implements this method MUST handle the RPC call for the method GossipNextRound of the RPC service P2P.
P2PGossipPreCommitHandler is an interface class that only contains the method HandleP2PGossipPreCommit The class that implements this method MUST handle the RPC call for the method GossipPreCommit of the RPC service P2P.
P2PGossipPreCommitNilHandler is an interface class that only contains the method HandleP2PGossipPreCommitNil The class that implements this method MUST handle the RPC call for the method GossipPreCommitNil of the RPC service P2P.
P2PGossipPreVoteHandler is an interface class that only contains the method HandleP2PGossipPreVote The class that implements this method MUST handle the RPC call for the method GossipPreVote of the RPC service P2P.
P2PGossipPreVoteNilHandler is an interface class that only contains the method HandleP2PGossipPreVoteNil The class that implements this method MUST handle the RPC call for the method GossipPreVoteNil of the RPC service P2P.
P2PGossipProposalHandler is an interface class that only contains the method HandleP2PGossipProposal The class that implements this method MUST handle the RPC call for the method GossipProposal of the RPC service P2P.
P2PGossipTransactionHandler is an interface class that only contains the method HandleP2PGossipTransaction The class that implements this method MUST handle the RPC call for the method GossipTransaction of the RPC service P2P.
P2PServer is the server API for P2P service.
P2PStatusHandler is an interface class that only contains the method HandleP2PStatus The class that implements this method MUST handle the RPC call for the method Status of the RPC service P2P.