Browse Source

Fixing README.md to reflect formatting expected by tests.py

Jacob Henner 7 years ago
parent
commit
4f34a9002a
2 changed files with 18 additions and 20 deletions
  1. 14 14
      NA/us/newyork/jacobhenner.usa.k
  2. 4 6
      README.md

+ 14 - 14
NA/us/newyork/jacobhenner.usa.k

@@ -1,20 +1,20 @@
 {
     "107.170.57.34:63472":{
-        "contact": "code@ventricle.us",
-        "gpg": "7FE895160E3314027CD3B5D37392CF088BB4345C",
-        "location": "digitalocean nyc2",
-        "login": "public-peer",
-        "password": "ppm6j89mgvss7uvtntcd9scy6166mwb",
-        "peerName": "Jacob Henner",
-        "publicKey": "1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
+        "contact":"code@ventricle.us",
+        "gpg":"7FE895160E3314027CD3B5D37392CF088BB4345C",
+        "location":"digitalocean nyc2",
+        "login":"public-peer",
+        "password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
+        "peerName":"Jacob Henner",
+        "publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
     },
     "[2604:a880:0:1010::f:4001]:63472":{
-        "contact": "code@ventricle.us",
-        "gpg": "7FE895160E3314027CD3B5D37392CF088BB4345C",
-        "location": "digitalocean nyc2",
-        "login": "public-peer",
-        "password": "ppm6j89mgvss7uvtntcd9scy6166mwb",
-        "peerName": "Jacob Henner",
-        "publicKey": "1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
+        "contact":"code@ventricle.us",
+        "gpg":"7FE895160E3314027CD3B5D37392CF088BB4345C",
+        "location":"digitalocean nyc2",
+        "login":"public-peer",
+        "password":"ppm6j89mgvss7uvtntcd9scy6166mwb",
+        "peerName":"Jacob Henner",
+        "publicKey":"1xkf13m9r9h502yuffsq1cg13s5648bpxrtf2c3xcq1mlj893s90.k"
     }
 }

+ 4 - 6
README.md

@@ -37,7 +37,6 @@ We have tried to standardize the structure of the actual credential files, as su
   + publicKey
   + contact (a means of contacting the operator)
 * credentials should be formatted such that:
-  - there is a space after each colon
   - indentation uses four spaces
   - the file ends with a newline character.
 * credentials must use IP:port strings for keys
@@ -46,10 +45,10 @@ We have tried to standardize the structure of the actual credential files, as su
 ```
 {
     "192.168.1.5:10326": {
-        "login": "default-login",
-        "password": "nq1uhmf06k8c5594jqmpgy26813b81s",
-        "publicKey": "ssxlh80x0bqjfrnbkm1801xsxyd8zd45jkwn1zhlnccqj4hdqun0.k",
-        "peerName": "your-name-goes-here"
+        "login":"default-login",
+        "password":"nq1uhmf06k8c5594jqmpgy26813b81s",
+        "publicKey":"ssxlh80x0bqjfrnbkm1801xsxyd8zd45jkwn1zhlnccqj4hdqun0.k",
+        "peerName":"your-name-goes-here"
     }
 }
 ```
@@ -87,4 +86,3 @@ console.log(Peers.peers);
 
 console.log(Peers.peers.NA.us.california);
 ```
-