add comment to identity.js
This commit is contained in:
parent
5dd3eae34f
commit
481aa04cdb
|
@ -2,6 +2,10 @@ var base58check = require('./base58check');
|
||||||
var constants = require('./constants');
|
var constants = require('./constants');
|
||||||
var Hash = require('./hash');
|
var Hash = require('./hash');
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* See https://en.bitcoin.it/wiki/Identity_protocol_v1#Type_2_.28ephemeral.29
|
||||||
|
*/
|
||||||
function Identity(buf) {
|
function Identity(buf) {
|
||||||
// TODO: instantiate identities without providing any configuration
|
// TODO: instantiate identities without providing any configuration
|
||||||
if (!(this instanceof Identity)) return new Identity(buf);
|
if (!(this instanceof Identity)) return new Identity(buf);
|
||||||
|
|
Loading…
Reference in New Issue