txproposal comuninication between peers. Still WIP

This commit is contained in:
Matias Alejo Garcia 2014-04-11 13:26:36 -03:00
commit 333ecb352a
12 changed files with 282 additions and 124 deletions

View file

@ -12,7 +12,9 @@ var PublicKeyRing = require('./PublicKeyRing');
function PrivateKey(opts) {
this.network = opts.networkName === 'testnet' ?
networks.testnet : networks.livenet;
this.BIP32 = opts.BIP32 || new BIP32(opts.extendedPrivateKeyString || this.network.name);
var init = opts.extendedPrivateKeyString || this.network.name;
console.log('[PrivateKey.js.15:init:]',init); //TODO
this.BIP32 = opts.BIP32 || new BIP32(init);
this._calcId();
};