Browse Source

add comment to identity.js

patch-2
Manuel Araoz 10 years ago
parent
commit
481aa04cdb
  1. 4
      lib/extra/identity.js

4
lib/extra/identity.js

@ -2,6 +2,10 @@ var base58check = require('./base58check');
var constants = require('./constants');
var Hash = require('./hash');
/**
* See https://en.bitcoin.it/wiki/Identity_protocol_v1#Type_2_.28ephemeral.29
*/
function Identity(buf) {
// TODO: instantiate identities without providing any configuration
if (!(this instanceof Identity)) return new Identity(buf);

Loading…
Cancel
Save