mirror of
https://github.com/cwinfo/hyperboria-peers.git
synced 2024-11-22 03:40:27 +00:00
recommend peernames (#78)
* recommend peernames * add peerName to recommended fields in README
This commit is contained in:
parent
dbc0d5114b
commit
f1665e9870
@ -37,7 +37,8 @@ We have tried to standardize the structure of the actual credential files, as su
|
||||
+ publicKey
|
||||
+ contact (a means of contacting the operator)
|
||||
* The following fields are not yet required, but are recommended:
|
||||
+ gpg, listing your 16 character pgp fingerprint (no spaces)
|
||||
+ gpg, listing your 16 character pgp fingerprint (all caps, no spaces)
|
||||
+ peerName, a human-readable name for the node
|
||||
* credentials should be formatted such that:
|
||||
- indentation uses four spaces
|
||||
- the file ends with a newline character.
|
||||
|
2
tests.js
2
tests.js
@ -37,7 +37,7 @@ if (credsWithDns.length) {
|
||||
*/
|
||||
|
||||
var requiredFields = ['password', 'publicKey', 'contact'];
|
||||
var recommendedFields = ['gpg'];
|
||||
var recommendedFields = ['gpg', 'peerName'];
|
||||
|
||||
var insufficientFields = Peers.filter(function (x, p) {
|
||||
var problem = false;
|
||||
|
Loading…
Reference in New Issue
Block a user