5
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2024-12-26 15:55:41 +00:00

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

This commit is contained in:
Jacob Henner 2016-08-17 01:26:33 -04:00
parent c5d1dba06f
commit 4f34a9002a
No known key found for this signature in database
GPG Key ID: D85AEFA10414123C
2 changed files with 18 additions and 20 deletions

View File

@ -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"
}
}

View File

@ -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);
```