From 481aa04cdbde3a63cf59071b3f84b14994f2dc63 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 20 Nov 2014 11:44:46 -0300 Subject: [PATCH] add comment to identity.js --- lib/extra/identity.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/extra/identity.js b/lib/extra/identity.js index d6c8c53..662044d 100644 --- a/lib/extra/identity.js +++ b/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);