From 4f34a9002a967e0b7ab38b3dec9e6f84f2c141ef Mon Sep 17 00:00:00 2001 From: Jacob Henner Date: Wed, 17 Aug 2016 01:26:33 -0400 Subject: [PATCH] Fixing README.md to reflect formatting expected by tests.py --- NA/us/newyork/jacobhenner.usa.k | 28 ++++++++++++++-------------- README.md | 10 ++++------ 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/NA/us/newyork/jacobhenner.usa.k b/NA/us/newyork/jacobhenner.usa.k index f6d7ce1..49d840e 100644 --- a/NA/us/newyork/jacobhenner.usa.k +++ b/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" } } diff --git a/README.md b/README.md index 00c01d8..9eb5b81 100644 --- a/README.md +++ b/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); ``` -