# README
protowire
- Download and place in your PATH: https://github.com/protocolbuffers/protobuf/releases/download/v3.12.3/protoc-3.12.3-linux-x86_64.zip
go install github.com/golang/protobuf/protoc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
- In the protowire directory:
go generate .
Documentation
To generate rpc.md
:
go install -u github.com/astrix-network/protoc-gen-doc/cmd/protoc-gen-doc
- In the protowire directory:
protoc --doc_out=. --doc_opt=markdown,rpc.md rpc.proto
# Functions
FromAppMessage creates a AstrixdMessage from a appmessage.Message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
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
P2P_ServiceDesc is the grpc.ServiceDesc for P2P service.
RPC_ServiceDesc is the grpc.ServiceDesc for RPC service.
Enum value maps for SubmitBlockResponseMessage_RejectReason.
Enum value maps for SubmitBlockResponseMessage_RejectReason.
# Structs
No description provided by the author
AddPeerRequestMessage adds a peer to astrixd's outgoing connection list.
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
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
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
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
BanRequestMessage bans the given ip.
No description provided by the author
BlockAddedNotificationMessage is sent whenever a blocks has been added (NOT accepted) into the DAG.
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
GetBalanceByAddressRequest returns the total balance in unspent transactions towards a given address
This call is only available when this astrixd was started with `--utxoindex`.
No description provided by the author
No description provided by the author
No description provided by the author
GetBlockCountRequestMessage requests the current number of blocks in this astrixd.
No description provided by the author
GetBlockDagInfoRequestMessage requests general information about the current state of this astrixd's DAG.
No description provided by the author
GetBlockRequestMessage requests information about a specific block.
No description provided by the author
GetBlocksRequestMessage requests blocks between a certain block lowHash up to this astrixd's current virtual.
No description provided by the author
GetBlockTemplateRequestMessage requests a current block template.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetConnectedPeerInfoRequestMessage requests information about all the p2p peers currently connected to this astrixd.
No description provided by the author
GetCurrentNetworkRequestMessage requests the network astrixd is currently running against.
No description provided by the author
GetHeadersRequestMessage requests headers between the given startHash and the current virtual, up to the given limit.
No description provided by the author
GetInfoRequestMessage returns info about the node.
No description provided by the author
No description provided by the author
No description provided by the author
GetMempoolEntriesRequestMessage requests information about all the transactions currently in the mempool.
No description provided by the author
GetMempoolEntryRequestMessage requests information about a specific transaction in the mempool.
No description provided by the author
No description provided by the author
GetPeerAddressesRequestMessage requests the list of known astrixd addresses in the current network.
No description provided by the author
GetSelectedTipHashRequestMessage requests the hash of the current virtual's selected parent.
No description provided by the author
GetSubnetworkRequestMessage requests information about a specific subnetwork
Currently unimplemented.
No description provided by the author
GetUtxosByAddressesRequestMessage requests all current UTXOs for the given astrixd addresses
This call is only available when this astrixd was started with `--utxoindex`.
No description provided by the author
GetVirtualSelectedParentBlueScoreRequestMessage requests the blue score of the current selected parent of the virtual block.
No description provided by the author
GetVirtualSelectedParentChainFromBlockRequestMessage requests the virtual selected parent chain from some startHash to this astrixd's current virtual.
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
NewBlockTemplateNotificationMessage is sent whenever a new updated block template is available for miners.
NotifyBlockAddedRequestMessage registers this connection for blockAdded notifications.
No description provided by the author
No description provided by the author
No description provided by the author
NotifyNewBlockTemplateRequestMessage registers this connection for NewBlockTemplate notifications.
No description provided by the author
NotifyPruningPointUTXOSetOverrideRequestMessage registers this connection for pruning point UTXO set override notifications.
No description provided by the author
NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications for the given addresses.
No description provided by the author
NotifyVirtualDaaScoreChangedRequestMessage registers this connection for virtualDaaScoreChanged notifications.
No description provided by the author
NotifyVirtualSelectedParentBlueScoreChangedRequestMessage registers this connection for virtualSelectedParentBlueScoreChanged notifications.
No description provided by the author
NotifyVirtualSelectedParentChainChangedRequestMessage registers this connection for virtualSelectedParentChainChanged notifications.
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
PruningPointUTXOSetOverrideNotificationMessage is sent whenever the UTXO index resets due to pruning point change via IBD.
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
RPCError represents a generic non-internal error.
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
ShutDownRequestMessage shuts down this astrixd.
No description provided by the author
StopNotifyingPruningPointUTXOSetOverrideRequestMessage unregisters this connection for pruning point UTXO set override notifications.
No description provided by the author
StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications for the given addresses.
No description provided by the author
SubmitBlockRequestMessage requests to submit a block into the DAG.
No description provided by the author
SubmitTransactionRequestMessage submits a transaction to the mempool.
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
UnbanRequestMessage unbans the given ip.
No description provided by the author
No description provided by the author
UnimplementedP2PServer must be embedded to have forward compatible implementations.
UnimplementedRPCServer must be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated.
No description provided by the author
No description provided by the author
VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score of the virtual changes.
VirtualSelectedParentBlueScoreChangedNotificationMessage is sent whenever the blue score of the virtual's selected parent changes.
VirtualSelectedParentChainChangedNotificationMessage is sent whenever the DAG's selected parent chain had changed.
# Interfaces
No description provided by the author
No description provided by the author
P2PClient is the client API for P2P service.
P2PServer is the server API for P2P service.
No description provided by the author
No description provided by the author
RPCClient is the client API for RPC service.
RPCServer is the server API for RPC service.
UnsafeP2PServer may be embedded to opt out of forward compatibility for this service.
UnsafeRPCServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
No description provided by the author