Skip to content

Commit

Permalink
Use node_ prefix for node ID
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiySW committed Aug 3, 2019
1 parent 0ffdb48 commit 42eb2c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/commands/rpc-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ _enable_control required, version 17.0+_

--8<-- "debug-only-command.md"

Derive private key, public key and account number from node ID
Derive private key, public key and node ID number with checksum (similar to account representation). "ac_account" field is **deprecated**

**Request:**
```json
Expand All @@ -1498,7 +1498,8 @@ Derive private key, public key and account number from node ID
{
"private": "2AD75C9DC20EA497E41722290C4DC966ECC4D6C75CAA4E447961F918FD73D8C7",
"public": "78B11E1777B8E7DF9090004376C3EDE008E84680A497C0805F68CA5928626E1C",
"as_account": "nano_1y7j5rdqhg99uyab1145gu3yur1ax35a3b6qr417yt8cd6n86uiw3d4whty3"
"as_account": "nano_1y7j5rdqhg99uyab1145gu3yur1ax35a3b6qr417yt8cd6n86uiw3d4whty3",
"node_id": "node_1y7j5rdqhg99uyab1145gu3yur1ax35a3b6qr417yt8cd6n86uiw3d4whty3"
}
```

Expand Down Expand Up @@ -1564,7 +1565,7 @@ Boolean, false by default. Returns a list of peers IPv6:port with its node proto
"peers": {
"[::ffff:172.17.0.1]:32841": {
"protocol_version": "16",
"node_id": "nano_1y7j5rdqhg99uyab1145gu3yur1ax35a3b6qr417yt8cd6n86uiw3d4whty3",
"node_id": "node_1y7j5rdqhg99uyab1145gu3yur1ax35a3b6qr417yt8cd6n86uiw3d4whty3",
"type": "udp"
}
}
Expand Down

0 comments on commit 42eb2c4

Please sign in to comment.