Merge pull request #2168 from karalabe/move-rpc-into-node

cmd, common, node, rpc: move IPC into the node itself
This commit is contained in:
Péter Szilágyi
2016-02-05 11:33:24 +02:00
14 changed files with 292 additions and 156 deletions

View File

@ -41,7 +41,7 @@ type JSONRequest struct {
Method string `json:"method"`
Version string `json:"jsonrpc"`
Id *int64 `json:"id,omitempty"`
Payload json.RawMessage `json:"params"`
Payload json.RawMessage `json:"params,omitempty"`
}
// JSON-RPC response