2018-02-02 05:39:55 +00:00
|
|
|
BLOCK HEADERS (simple ID system to identify block type)
|
|
|
|
-----------------------------------------------
|
|
|
|
-crypt- (encrypted block)
|
|
|
|
-bin- (binary file)
|
|
|
|
-txt- (plaintext)
|
|
|
|
|
2018-01-26 06:28:11 +00:00
|
|
|
HTTP API
|
|
|
|
------------------------------------------------
|
|
|
|
/client/ (Private info, not publicly accessible)
|
|
|
|
|
|
|
|
- hello
|
|
|
|
- hello world
|
|
|
|
- shutdown
|
|
|
|
- exit onionr
|
|
|
|
- stats
|
|
|
|
- show node stats
|
|
|
|
|
|
|
|
/public/
|
|
|
|
|
|
|
|
- firstConnect
|
|
|
|
- initialize with peer
|
|
|
|
- ping
|
|
|
|
- pong
|
|
|
|
- setHMAC
|
|
|
|
- set a created symmetric key
|
|
|
|
- getDBHash
|
|
|
|
- get the hash of the current hash database state
|
|
|
|
- getPGP
|
|
|
|
- export node's PGP public key
|
|
|
|
- getData
|
|
|
|
- get a data block
|
2018-01-28 09:35:09 +00:00
|
|
|
- getBlockHashes
|
|
|
|
- get a list of the node's hashes
|
2018-01-26 06:28:11 +00:00
|
|
|
-------------------------------------------------
|