src/js/util/stealth.js
Function addStealth
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Stealth.addStealth = function(recipient, newTx, addressVersion, nonceVersion, ephemKeyBytes, initialNonce) {
if (nonceVersion === undefined) { nonceVersion = Stealth.nonceVersion; };
if (addressVersion === undefined) { addressVersion = Bitcoin.networks.bitcoin.pubKeyHash; };
var outHash, ephemKey, pubKey;
var stealthAddress = Stealth.parseAddress(recipient);
Function addStealth
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Stealth.addStealth = function(recipient, newTx, addressVersion, nonceVersion, ephemKeyBytes, initialNonce) {
Function initiateStealth
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Stealth.initiateStealth = function(scanKeyBytes, spendKeyBytes, version, ephemKeyBytes, newStealth) {