This commit is contained in:
Christopher Jeffrey 2016-05-31 13:29:42 -07:00
parent a567a61b41
commit f4b0d029df
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -223,7 +223,7 @@ Mnemonic.getWordlist = function getWordlist(language) {
};
/**
* Test an object to see if it is an Mnemonic.
* Test whether an object is a Mnemonic.
* @param {Object} obj
* @returns {Boolean}
*/
@ -434,7 +434,7 @@ HD.parsePath = function parsePath(path, max) {
HD.cache = new LRU(500);
/**
* Test an object to see if it is an HD key.
* Test whether an object is an HD key.
* @param {Object} obj
* @returns {Boolean}
*/
@ -450,7 +450,7 @@ HD.isHD = function isHD(obj) {
* @constructor
* @param {Object|Base58String} options
* @param {Base58String?} options.xkey - Serialized base58 key.
* @param {(Mnemonic|Object)?} options.mnemonic - mnemonic or mnemonic options.
* @param {Mnemonic?} options.mnemonic
* @param {Number?} options.depth
* @param {Buffer?} options.parentFingerPrint
* @param {Number?} options.childIndex
@ -963,8 +963,8 @@ HDPrivateKey.prototype.toBase58 = function toBase58(network) {
};
/**
* Serialize the key
* @param {Network|String} network
* Serialize the key.
* @param {Network|NetworkType} network
* @returns {Buffer}
*/
@ -1113,7 +1113,7 @@ HDPrivateKey.fromJSON = function fromJSON(json, passphrase) {
};
/**
* Test an object to see if it is a HDPrivateKey.
* Test whether an object is an HDPrivateKey.
* @param {Object} obj
* @returns {Boolean}
*/
@ -1462,8 +1462,8 @@ HDPublicKey.prototype.toBase58 = function toBase58(network) {
};
/**
* Serialize the key
* @param {Network|String} network
* Serialize the key.
* @param {Network|NetworkType} network
* @returns {Buffer}
*/
@ -1510,7 +1510,7 @@ HDPublicKey.fromRaw = function fromRaw(data) {
};
/**
* Test an object to see if it is a HDPublicKey.
* Test whether an object is a HDPublicKey.
* @param {Object} obj
* @returns {Boolean}
*/
@ -1563,7 +1563,8 @@ HDPublicKey.isHDPublicKey = function isHDPublicKey(obj) {
* @memberof HDPublicKey#
* @param {Buffer} msg
* @param {Buffer} sig
* @returns {Buffer}
* @param {Buffer} key
* @returns {Boolean}
*/
HD.prototype.verify = function verify() {