Created
June 9, 2014 17:52
-
-
Save matiu/c3ed36926064f7552430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$for i in `seq 1 20`;do mocha >> output; done | |
$ cat output |grep passing | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (9s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (9s) | |
89 passing (10s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (8s) | |
89 passing (10s) | |
89 passing (9s) | |
89 passing (9s) | |
$ cat output |grep passing | wc -l | |
20 | |
Outputfile | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(69ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(46ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(38ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(63ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(46ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(41ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(62ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(200ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(134ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(151ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(174ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(178ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(91ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(102ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(83ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(64ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(45ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(145ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(404ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(272ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(278ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(308ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(401ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(411ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(265ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(123ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(217ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(266ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(446ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(239ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(173ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1192ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(60ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(303ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(43ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(195ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(134ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(216ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(70ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(40ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(40ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(44ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(69ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(41ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(47ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(56ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(205ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(146ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(143ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(192ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(203ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(92ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(106ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(82ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(56ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(50ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(157ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(397ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(282ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(277ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(324ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(401ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(423ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(270ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(121ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(222ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(269ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(456ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(217ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(176ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1194ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(57ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(283ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(39ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(193ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(135ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(212ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(66ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(53ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(45ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(56ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(42ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[31m(77ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(43ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(46ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(55ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(218ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(167ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(153ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(178ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(220ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(109ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(119ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(82ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(59ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(49ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(148ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(444ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(348ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(315ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(346ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(454ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(476ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(306ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(122ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(218ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(263ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(495ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(276ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(210ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1194ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(57ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(269ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(45ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(192ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(131ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(226ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (9s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[31m(87ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m[33m(46ms)[0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m[33m(40ms)[0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(45ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(38ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(57ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(63ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(47ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(43ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(63ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(221ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(139ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(167ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(176ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(187ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(92ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(102ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(83ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(61ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(49ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(134ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(408ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(287ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(300ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(374ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(425ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(414ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(275ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(125ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(218ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(282ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(443ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(231ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(179ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1200ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(54ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(259ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(40ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(197ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(137ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(221ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(66ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(39ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(43ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(70ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(41ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(46ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(56ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(201ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(137ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(136ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(183ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(184ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(92ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(106ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(83ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(57ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(50ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(155ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(389ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(278ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(271ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(311ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(395ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(415ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(261ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(127ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(231ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(275ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(476ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(277ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(179ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1191ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(57ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(265ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(39ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(192ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(136ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(218ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(65ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(41ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(46ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(65ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(43ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(43ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(60ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(199ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(141ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(137ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(179ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(183ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(89ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(107ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(81ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(59ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(49ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(151ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(376ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(281ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(287ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(320ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(425ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(414ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(268ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(127ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(223ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(241ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(459ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(238ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(175ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1203ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(54ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(267ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(39ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(199ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(133ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(223ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(66ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(38ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(41ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(68ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(41ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(45ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(55ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(198ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(136ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(141ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(177ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(188ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(90ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(105ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(81ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(60ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(56ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(150ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(395ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(284ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(276ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(307ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(395ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(409ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(261ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(124ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(216ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(266ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(445ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(236ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(177ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1196ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(60ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(276ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(48ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(204ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(126ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(213ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(64ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(65ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(47ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(66ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(41ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(44ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(56ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(198ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(143ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(141ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(179ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(189ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(91ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(108ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(84ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(58ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(54ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(165ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(392ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(285ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(273ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(310ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(402ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(415ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(277ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(119ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(232ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(269ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(432ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(254ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(181ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1200ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(57ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(274ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(42ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(207ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(155ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(222ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(63ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(45ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(54ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(64ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(39ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(46ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(54ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(211ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(163ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(156ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(173ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(184ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(100ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(105ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(81ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(61ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(46ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(137ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(417ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(292ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(270ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(338ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(398ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(436ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(267ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(123ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(215ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(273ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(451ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(238ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(187ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1199ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(58ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(280ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(40ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(267ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(177ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(317ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m[33m(45ms)[0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(64ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(42ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(41ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(60ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(67ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(44ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(42ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(64ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(219ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(195ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(181ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(174ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(190ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(89ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(124ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(95ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(73ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(50ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(158ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(387ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(294ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(283ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(325ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(442ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(535ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(289ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(132ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(471ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(345ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(486ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(253ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(192ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1223ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(64ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(308ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(42ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(431ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(181ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(240ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m[33m(52ms)[0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (9s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[31m(113ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m[33m(56ms)[0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m[31m(76ms)[0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(45ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(57ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(64ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m[33m(38ms)[0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(61ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[31m(84ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(45ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(51ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(62ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(239ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(157ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(219ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(181ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(197ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(95ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(174ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(96ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[31m(121ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(67ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(241ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(667ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(288ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(288ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(322ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(456ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(551ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(317ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(171ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(225ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(267ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(454ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(250ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(172ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1195ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[31m(86ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(346ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(45ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(287ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(186ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(235ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (10s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(67ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m[33m(39ms)[0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(42ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(39ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(71ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(39ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(45ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(60ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(226ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(143ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(140ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(177ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(182ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(92ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(104ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(86ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(62ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(44ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(134ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(400ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(288ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(280ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(310ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(460ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(449ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(264ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(138ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(228ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(260ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(459ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(307ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(239ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1239ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(62ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(272ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(41ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(196ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(183ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(249ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[31m(76ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(41ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[31m(117ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(54ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(62ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(47ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(41ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(70ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(202ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(136ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(143ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(213ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(186ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(96ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(102ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(83ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(59ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(49ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(153ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(398ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(290ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(275ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(306ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(416ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(426ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(273ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(120ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(225ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(256ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(456ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(215ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(177ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1194ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(59ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(268ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(39ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(200ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(141ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(214ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(64ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(41ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(40ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(67ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(49ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(46ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(55ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(218ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(132ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(136ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(182ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(183ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(96ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(106ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(80ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(58ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(50ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(132ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(391ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(298ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(283ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(303ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(384ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(446ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(289ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(128ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(267ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(276ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(490ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(231ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(195ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1217ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(62ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(360ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(44ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(192ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(127ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(211ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(68ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(41ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(43ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(45ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(75ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(56ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(45ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(72ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(208ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(133ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(145ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(185ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(208ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(111ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(117ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(91ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(69ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(53ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(159ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(457ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(289ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(275ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(309ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(389ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(405ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(269ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(125ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(216ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(263ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(447ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(213ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(183ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1227ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(62ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(318ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(44ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(197ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(129ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(217ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(60ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(39ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(40ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(59ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(45ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(41ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(59ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(197ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(133ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(143ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(171ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(185ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(89ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(101ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(85ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(62ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(43ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(162ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(374ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(285ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(271ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(300ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(407ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(410ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(267ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(120ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(223ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(267ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(427ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(243ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(170ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1193ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(61ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(262ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(44ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(198ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(129ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(214ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(66ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(42ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(40ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(40ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(48ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(60ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(45ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(41ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(73ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(180ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(134ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(176ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(157ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(190ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(108ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(88ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(81ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(63ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(45ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(157ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(384ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(297ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(261ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(325ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(381ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(426ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(266ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(130ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(235ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(235ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(455ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(208ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(191ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1180ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(65ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(262ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(208ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(112ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(252ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (8s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(64ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(44ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(40ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[31m(83ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(48ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(41ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[33m(74ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(181ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(134ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(154ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(153ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(187ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(102ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(90ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(90ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(61ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(48ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(152ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(379ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(309ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(251ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(324ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(394ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(419ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(314ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(167ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(460ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(390ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(696ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(237ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(272ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1226ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(58ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(280ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(60ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(512ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(214ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(406ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m[33m(46ms)[0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (10s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(67ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m[33m(39ms)[0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(41ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(54ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(47ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(42ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[33m(67ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(40ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(45ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[31m(97ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(348ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(211ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(157ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(196ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(183ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(90ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(133ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(130ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[31m(113ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(49ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(154ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(386ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(283ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(350ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(342ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(481ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(457ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(376ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(135ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(235ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(312ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(479ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(249ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(203ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1199ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[31m(77ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(268ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(39ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(196ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(129ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(227ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (9s)[0m | |
[36m [0m[36m 2 pending[0m | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[0m[0m | |
[0m API[0m | |
[90m β¦ should have a command called "echo": [0m | |
[32m β[0m[90m should have a command called "echo" [0m[33m(73ms)[0m | |
[90m β¦ should have argTypes for every command: [0m | |
[32m β[0m[90m should have argTypes for every command [0m | |
[90m β¦ should throw an error for all commands when called with wrong number of arguments: [0m | |
[32m β[0m[90m should throw an error for all commands when called with wrong number of arguments [0m[33m(53ms)[0m | |
[90m β¦ should have a callback in the arguments on every command: [0m | |
[32m β[0m[90m should have a callback in the arguments on every command [0m | |
[0m #echo[0m | |
[90m β¦ should echo a string: [0m | |
[32m β[0m[90m should echo a string [0m[33m(62ms)[0m | |
[0m #echoNumber[0m | |
[90m β¦ should echo a number: [0m | |
[32m β[0m[90m should echo a number [0m[33m(48ms)[0m | |
[0m #echoObject[0m | |
[90m β¦ should echo an object: [0m | |
[32m β[0m[90m should echo an object [0m[33m(55ms)[0m | |
[0m #getArgTypes[0m | |
[90m β¦ should get the argTypes of echo: [0m | |
[32m β[0m[90m should get the argTypes of echo [0m[33m(55ms)[0m | |
[0m #getCommands[0m | |
[90m β¦ should get all the commands: [0m | |
[32m β[0m[90m should get all the commands [0m | |
[0m #getWallets[0m | |
[90m β¦ should get the wallet ids: [0m | |
[32m β[0m[90m should get the wallet ids [0m | |
[0m #help[0m | |
[90m β¦ should call _cmd_getCommands: [0m | |
[32m β[0m[90m should call _cmd_getCommands [0m[33m(57ms)[0m | |
[0m AddressIndex model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m | |
[90m β¦ #merge tests: [0m | |
[32m β[0m[90m #merge tests [0m | |
[0m Passphrase model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[0m PrivateKey model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should derive priv keys: [0m | |
[32m β[0m[90m should derive priv keys [0m[31m(97ms)[0m | |
[90m β¦ should derive priv keys array: [0m | |
[32m β[0m[90m should derive priv keys array [0m[33m(57ms)[0m | |
[90m β¦ should calculate .id: [0m | |
[32m β[0m[90m should calculate .id [0m | |
[90m β¦ fromObj toObj roundtrip: [0m | |
[32m β[0m[90m fromObj toObj roundtrip [0m[33m(52ms)[0m | |
[0m PublicKeyRing model[0m | |
[90m β¦ should create an instance (livenet): [0m | |
[32m β[0m[90m should create an instance (livenet) [0m | |
[90m β¦ should create an instance (testnet): [0m | |
[32m β[0m[90m should create an instance (testnet) [0m | |
[90m β¦ should fail to generate shared pub keys wo extended key: [0m | |
[32m β[0m[90m should fail to generate shared pub keys wo extended key [0m | |
[90m β¦ should add and check when adding shared pub keys: [0m | |
[32m β[0m[90m should add and check when adding shared pub keys [0m[31m(82ms)[0m | |
[90m β¦ show be able to tostore and read: [0m | |
[32m β[0m[90m show be able to tostore and read [0m[31m(336ms)[0m | |
[90m β¦ should generate some p2sh addresses: [0m | |
[32m β[0m[90m should generate some p2sh addresses [0m[31m(145ms)[0m | |
[90m β¦ should return PublicKeyRing addresses: [0m | |
[32m β[0m[90m should return PublicKeyRing addresses [0m[31m(147ms)[0m | |
[90m β¦ should count generation indexes: [0m | |
[32m β[0m[90m should count generation indexes [0m[31m(191ms)[0m | |
[90m β¦ #merge index tests: [0m | |
[32m β[0m[90m #merge index tests [0m[31m(224ms)[0m | |
[90m β¦ #merge check tests: [0m | |
[32m β[0m[90m #merge check tests [0m[31m(151ms)[0m | |
[90m β¦ #merge pubkey tests: [0m | |
[32m β[0m[90m #merge pubkey tests [0m[31m(137ms)[0m | |
[90m β¦ #merge pubkey tests (case 2): [0m | |
[32m β[0m[90m #merge pubkey tests (case 2) [0m[31m(90ms)[0m | |
[90m β¦ #merge with nickname: [0m | |
[32m β[0m[90m #merge with nickname [0m[33m(67ms)[0m | |
[90m β¦ #toObj #fromObj with nickname: [0m | |
[32m β[0m[90m #toObj #fromObj with nickname [0m[33m(55ms)[0m | |
[90m β¦ #getRedeemScriptMap check tests: [0m | |
[32m β[0m[90m #getRedeemScriptMap check tests [0m[31m(199ms)[0m | |
[0m Structure model[0m | |
[90m β¦ should have the correct constants: [0m | |
[32m β[0m[90m should have the correct constants [0m | |
[90m β¦ should get the correct branches: [0m | |
[32m β[0m[90m should get the correct branches [0m | |
[0m TxProposals model[0m | |
[90m β¦ verify TXs: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m verify TXs [0m[31m(434ms)[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ #getUsedUnspend: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #getUsedUnspend [0m[31m(399ms)[0m | |
[90m β¦ #merge with self: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge with self [0m[31m(345ms)[0m | |
[90m β¦ #merge, merge signatures case 1: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 1 [0m[31m(379ms)[0m | |
[90m β¦ #merge, merge signatures case 2: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 2 [0m[31m(434ms)[0m | |
[90m β¦ #merge, merge signatures case 3: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
bignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #merge, merge signatures case 3 [0m[31m(437ms)[0m | |
[90m β¦ #toObj #fromObj roundtrip: [0mbignum (with a lower-case "b") is deprecated. Use bitcore.Bignum (capital "B") instead. | |
[32m β[0m[90m #toObj #fromObj roundtrip [0m[31m(263ms)[0m | |
[0m Wallet model[0m | |
[90m β¦ should fail to create an instance: [0m | |
[32m β[0m[90m should fail to create an instance [0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[90m β¦ should provide some basic features: [0m | |
[32m β[0m[90m should provide some basic features [0m[31m(128ms)[0m | |
[90m β¦ #create, 1 sign: [0m | |
[32m β[0m[90m #create, 1 sign [0m[31m(261ms)[0m | |
[90m β¦ #addressIsOwn: [0m | |
[32m β[0m[90m #addressIsOwn [0m[31m(315ms)[0m | |
[90m β¦ #create. Signing with derivate keys: [0m | |
[32m β[0m[90m #create. Signing with derivate keys [0m[31m(441ms)[0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[31m(248ms)[0m | |
[90m β¦ #getSecret decodeSecret: [0m | |
[32m β[0m[90m #getSecret decodeSecret [0m[31m(193ms)[0m | |
[90m β¦ decodeSecret check: [0m | |
[32m β[0m[90m decodeSecret check [0m | |
[90m β¦ call reconnect after interval: [0m | |
[32m β[0m[90m call reconnect after interval [0m[31m(1222ms)[0m | |
[90m β¦ handle network indexes correctly: [0m | |
[32m β[0m[90m handle network indexes correctly [0m | |
[90m β¦ handle network pubKeyRings correctly: [0m | |
[32m β[0m[90m handle network pubKeyRings correctly [0m[33m(62ms)[0m | |
[90m β¦ handle new connections: [0m | |
[32m β[0m[90m handle new connections [0m | |
[90m β¦ handle disconnections: [0m | |
[32m β[0m[90m handle disconnections [0m | |
[90m β¦ should register new copayers correctly: [0m | |
[32m β[0m[90m should register new copayers correctly [0m | |
[90m β¦ should register new peers correctly: [0m | |
[32m β[0m[90m should register new peers correctly [0m | |
[90m β¦ should get balance: [0m | |
[32m β[0m[90m should get balance [0m | |
[90m β¦ should create transaction: [0m | |
[32m β[0m[90m should create transaction [0m[31m(271ms)[0m | |
[0m WalletFactory model[0m | |
[90m β¦ should create the factory: [0m | |
[32m β[0m[90m should create the factory [0m | |
[90m β¦ #_checkRead should return false: [0m | |
[32m β[0m[90m #_checkRead should return false [0m | |
[90m β¦ should be able to create wallets: [0m | |
[32m β[0m[90m should be able to create wallets [0m | |
[90m β¦ should be able to get wallets: [0m | |
[32m β[0m[90m should be able to get wallets [0m | |
[90m β¦ #fromObj #toObj round trip: [0m | |
[32m β[0m[90m #fromObj #toObj round trip [0m[33m(46ms)[0m | |
[90m β¦ BIP32 length problem: [0m | |
[32m β[0m[90m BIP32 length problem [0m | |
[0m Insight model[0m | |
[90m β¦ should create an instance: [0m | |
[32m β[0m[90m should create an instance [0m | |
[36m - should return array of unspent output[0m | |
[36m - should return txid[0m | |
[0m Performance tests[0m | |
[0m PrivateKey[0m | |
[90m β¦ should optimize BIP32 private key gen time with cache: [0m | |
[32m β[0m[90m should optimize BIP32 private key gen time with cache [0m[31m(203ms)[0m | |
[0m PublicKeyRing[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 2-of-3: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 2-of-3 [0m[31m(139ms)[0m | |
[90m β¦ should optimize BIP32 publickey gen time with cache for 3-of-5: [0m | |
[32m β[0m[90m should optimize BIP32 publickey gen time with cache for 3-of-5 [0m[31m(229ms)[0m | |
[0m Storage/File[0m | |
[90m β¦ should exist: [0m | |
[32m β[0m[90m should exist [0m | |
[0m #load[0m | |
[90m β¦ should call fs.readFile: [0m | |
[32m β[0m[90m should call fs.readFile [0m | |
[0m #save[0m | |
[90m β¦ should call fs.writeFile: [0m | |
[32m β[0m[90m should call fs.writeFile [0m | |
[0m #_read[0m | |
[90m β¦ should return the value of a key: [0m | |
[32m β[0m[90m should return the value of a key [0m | |
[0m #_write[0m | |
[90m β¦ should save the value of a key and then run save: [0m | |
[32m β[0m[90m should save the value of a key and then run save [0m | |
[0m #getGlobal[0m | |
[90m β¦ should call storage._read: [0m | |
[32m β[0m[90m should call storage._read [0m | |
[0m #setGlobal[0m | |
[90m β¦ should store a global key: [0m | |
[32m β[0m[90m should store a global key [0m | |
[0m #removeGlobal[0m | |
[90m β¦ should remove a global key: [0m | |
[32m β[0m[90m should remove a global key [0m | |
[0m #_key[0m | |
[90m β¦ should merge the wallet id and item key: [0m | |
[32m β[0m[90m should merge the wallet id and item key [0m | |
[0m #get[0m | |
[90m β¦ should call getGlobal with the correct key: [0m | |
[32m β[0m[90m should call getGlobal with the correct key [0m | |
[0m #set[0m | |
[90m β¦ should call setGlobal with the correct key: [0m | |
[32m β[0m[90m should call setGlobal with the correct key [0m | |
[0m #remove[0m | |
[90m β¦ should call removeGlobal with the correct key: [0m | |
[32m β[0m[90m should call removeGlobal with the correct key [0m | |
[0m #setFromObj[0m | |
[90m β¦ should set this object for a wallet: [0m | |
[32m β[0m[90m should set this object for a wallet [0m | |
[0m #getEncryptedObj[0m | |
[90m β¦ should give an encrypted object: [0m | |
[32m β[0m[90m should give an encrypted object [0m | |
[0m #clearAll[0m | |
[90m β¦ should set data to {}: [0m | |
[32m β[0m[90m should set data to {} [0m | |
[92m [0m[32m 89 passing[0m[90m (9s)[0m | |
[36m [0m[36m 2 pending[0m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment