Documentation ¶
Overview ¶
Package jsonrpc is the json-rpc2 module in ngcore
All commands/methods should follow these rules: - All (private or public) keys are encoded with base58 - All bytes are encoded in base64 (forced by protobuf) - All numbers are float64, coin uint is NG. So when generating tx, its necessary to multiply the values/fee with 1000000 to make unit be MicroNG - All protobuf's bytes are in base64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetWorkReply ¶
type Server ¶
type Server struct { *ServerConfig *jsonrpc2http.Server // contains filtered or unexported fields }
Server is a json-rpc v2 server.
type ServerConfig ¶
type SubmitWorkParams ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.