Commit Graph

256 Commits

Author SHA1 Message Date
Matias Pando 9bb7f221fe Added tests 2015-03-09 15:24:37 -03:00
Ivan Socolsky cdb2df0cb8 test balance returns only addresses with funds 2015-03-06 15:02:54 -03:00
Ivan Socolsky 6838f8d204 implement balance by address 2015-03-06 14:58:22 -03:00
Ivan Socolsky 2c39d6a687 add tests for balance 2015-03-06 13:07:44 -03:00
Ivan Socolsky 09c20a624f replace with github repo 2015-03-04 12:44:28 -03:00
Matias Alejo Garcia 45033ec3a5 splitted repo. test passing 2015-03-03 18:48:10 -03:00
Ivan Socolsky f486ecacd3 test regaining access to wallet with only xPrivKey 2015-03-01 17:53:34 -03:00
Ivan Socolsky c0b7970ff6 fix bit client: create, join, status 2015-03-01 15:58:17 -03:00
Ivan Socolsky 5b5aca9970 export privKeys in WIF 2015-03-01 15:11:29 -03:00
Ivan Socolsky a0019d966c import & export with compress/encrypt 2015-03-01 14:05:06 -03:00
Ivan Socolsky d2085c9b9e export/import 2015-03-01 11:39:42 -03:00
Ivan Socolsky 265986e257 pkr encryption 2015-03-01 10:27:26 -03:00
Ivan Socolsky cabdb35cb1 add params needed to check proposal on airgapped client 2015-03-01 00:31:42 -03:00
Ivan Socolsky 7309d42711 signing from airgapped client 2015-03-01 00:05:05 -03:00
Ivan Socolsky c3a64761b6 refactor client 2015-02-28 21:12:03 -03:00
Ivan Socolsky 4b1e27f750 test tx history from client 2015-02-26 13:53:28 -03:00
Ivan Socolsky 9260ab202e propose new tests for #getTx 2015-02-26 13:18:26 -03:00
Ivan Socolsky 2326fa2988 remove debug func 2015-02-26 13:08:11 -03:00
Ivan Socolsky d36d8840f9 test utils.js 2015-02-26 12:58:25 -03:00
Ivan Socolsky 0285d4924c reorganize model tests 2015-02-26 12:46:54 -03:00
Ivan Socolsky eba051849c add #getTx tests 2015-02-26 12:34:53 -03:00
Ivan Socolsky 52896dfb7f remove unused broadcast stub 2015-02-26 12:10:11 -03:00
Ivan Socolsky eabdd4f35a fix #getTx argument 2015-02-26 10:41:55 -03:00
Ivan Socolsky 376d8ad688 rebase 2015-02-26 10:37:21 -03:00
Ivan Socolsky 5f687ea5df broadcast tests 2015-02-26 10:27:08 -03:00
Ivan Socolsky 66e173be43 tests 2015-02-26 10:22:02 -03:00
Ivan Socolsky 4d1cb07a79 propose server tests 2015-02-26 10:21:26 -03:00
Ivan Socolsky 628e20d17f fix tests 2015-02-25 18:16:09 -03:00
Ivan Socolsky b0b6de0d02 split sign & broadcast 2015-02-25 16:00:55 -03:00
Matias Alejo Garcia ebbf493935 noent fix 2015-02-24 16:06:07 -03:00
Matias Alejo Garcia b7999988f6 Merge pull request #76 from matiu/feat/encryption
Feat/encryption
2015-02-24 14:18:36 -03:00
Matias Alejo Garcia 2c88e49e96 add nopasswd 2015-02-23 21:03:42 -03:00
Matias Alejo Garcia 531a794e96 encryption schema 2015-02-23 20:11:07 -03:00
Ivan Socolsky d2a1c668a4 tests 2015-02-23 17:15:47 -03:00
Ivan Socolsky de3eddfe39 tx history 2015-02-23 17:15:47 -03:00
Matias Alejo Garcia 74d0908aec better tests 2015-02-23 15:37:57 -03:00
Matias Alejo Garcia e9010b5df6 airgapped working! 2015-02-23 15:37:03 -03:00
Matias Alejo Garcia 6c123f5c2d add other needed data to be completed 2015-02-23 15:37:02 -03:00
Matias Alejo Garcia 9a70047852 changes encryption of pkr to airgapped 2015-02-23 15:37:02 -03:00
Matias Alejo Garcia 879a352b3e add public key ring to txprposals 2015-02-23 15:37:02 -03:00
Matias Alejo Garcia 70b0d3e668 status tests 2015-02-22 23:00:11 -03:00
Matias Alejo Garcia f5cb3f02f3 sigs -i -o 2015-02-22 22:15:53 -03:00
Ivan Socolsky 1258ac24fb use isChange from address 2015-02-22 17:44:37 -03:00
Ivan Socolsky 24e6ceeab5 add isChange to address model 2015-02-22 17:41:00 -03:00
Ivan Socolsky 0672c9084f rm hdpath 2015-02-22 17:35:27 -03:00
Matias Alejo Garcia bd9977a43e add getMainAddress 2015-02-22 13:04:23 -03:00
Matias Alejo Garcia 851f4bd544 Merge pull request #68 from matiu/feat/airgapped01
Feat/airgapped01
2015-02-22 12:36:17 -03:00
Ivan Socolsky 32ccddc71c add padding to walletId base58 2015-02-22 11:16:29 -03:00
Matias Alejo Garcia fa3355ef99 add tests to server internals 2015-02-22 03:46:47 -03:00
Ivan Socolsky 6bf2a10fd2 base58 walletId in secret 2015-02-22 01:35:25 -03:00
Matias Alejo Garcia e12b6b8158 add access levels to import / export 2015-02-21 22:53:00 -03:00
Matias Alejo Garcia 8b89c08237 add tests 2015-02-21 20:34:44 -03:00
Matias Alejo Garcia 7dba50faad ro-rw working! 2015-02-21 20:20:58 -03:00
Matias Alejo Garcia 56f5a58419 WIP ro-rw 2015-02-21 19:29:42 -03:00
Ivan Socolsky 9da16decfa change notification tests to resist varying nb of address creation 2015-02-21 13:17:43 -03:00
Ivan Socolsky b774c999cd remove comments 2015-02-21 13:09:06 -03:00
Ivan Socolsky efa706e68c fix signatures 2015-02-21 12:53:02 -03:00
Ivan Socolsky 5af3ec8839 fix signatures for same address utxos 2015-02-21 11:31:15 -03:00
Ivan Socolsky e7aa060e15 refactor block explorer stubbing 2015-02-21 09:49:43 -03:00
Ivan Socolsky 9cda811691 Merge pull request #54 from matiu/ref/naming
rm CopayServer
2015-02-20 19:00:43 -03:00
Matias Alejo Garcia 1e10c751e9 rm CopayServer 2015-02-20 17:32:19 -03:00
Matias Alejo Garcia a85fe27987 Merge pull request #51 from isocolsky/ref/actions
Ref/actions
2015-02-20 15:27:35 -03:00
Matias Alejo Garcia 612123b3e8 more timeout to travis 2015-02-20 15:24:49 -03:00
Ivan Socolsky 266db38fa4 if decrypted, txp.message contains cleartext and txp.encryptedMessage contains cyphertext 2015-02-20 15:23:40 -03:00
Ivan Socolsky 5a3b754ea1 encrypt/decrypt rejection comment 2015-02-20 15:23:40 -03:00
Ivan Socolsky c8c185ec2e test rejection comment is not sent in clear text to the server 2015-02-20 15:23:40 -03:00
Ivan Socolsky 619db55e6c refactor actions as array 2015-02-20 15:23:40 -03:00
Matias Alejo Garcia e8dce5adfd update json 2015-02-20 13:53:49 -03:00
Matias Alejo Garcia 5804ca4456 add fake tx proposal tests 2015-02-20 13:53:49 -03:00
Matias Alejo Garcia 59f562a6eb add fake address tests 2015-02-20 13:53:49 -03:00
Ivan Socolsky 675369eed0 move parseAmount to CLI only 2015-02-19 21:37:13 -03:00
Matias Alejo Garcia c0615d7ac7 lock and release tests 2015-02-19 20:19:01 -03:00
Matias Alejo Garcia 71d01e279f return correct errors to client 2015-02-19 20:04:05 -03:00
Matias Alejo Garcia f13c95be6b add multiple sign / reject tests 2015-02-19 18:47:17 -03:00
Matias Alejo Garcia 36ed3682be sendTx sign reject tests 2015-02-19 18:11:57 -03:00
Matias Alejo Garcia f3a152ca30 send TX tests 2015-02-19 17:47:51 -03:00
Matias Alejo Garcia ce8aeee3a9 add api tests 2015-02-19 17:39:04 -03:00
Matias Alejo Garcia 83f59ddfbb rm express client 2015-02-19 17:39:04 -03:00
Matias Alejo Garcia dc446c5f2b api tests working 2015-02-19 17:39:04 -03:00
Matias Alejo Garcia a6b797c092 WIP, supertest testing 2015-02-19 17:39:04 -03:00
Ivan Socolsky 8dd523fec8 various fixes 2015-02-19 16:21:50 -03:00
Ivan Socolsky 8ca3b65fad derive signingPubKey from correct xPub 2015-02-19 10:49:31 -03:00
Ivan Socolsky cdbbbec640 use sha256 to generate copayerId from xPub 2015-02-19 10:17:28 -03:00
Ivan Socolsky 33800aff7e fix message encryption/decryption 2015-02-18 18:14:24 -03:00
Matias Alejo Garcia 2d70a54c6f fix tests and amount 2015-02-18 16:47:15 -03:00
Matias Alejo Garcia 93b3e1db86 add inputs as strings to force fail 2015-02-18 16:05:10 -03:00
Matias Alejo Garcia b9538e6486 add test to getTxProposal 2015-02-18 16:05:10 -03:00
Matias Alejo Garcia 640be90270 add test to getTxProposal API 2015-02-18 16:05:09 -03:00
Ivan Socolsky dac04f3db7 parse amount on client API sendTxProposal 2015-02-18 15:55:16 -03:00
Ivan Socolsky c23f962030 check precision is consistent with unit 2015-02-18 15:46:55 -03:00
Ivan Socolsky a5a672b473 add parseAmount method 2015-02-18 15:46:55 -03:00
Ivan Socolsky 58d46c0ad5 encrypt/decrypt proposal message in client api 2015-02-18 13:08:07 -03:00
Ivan Socolsky 78033f7c97 add encrypt/decrypt methods 2015-02-18 13:05:57 -03:00
Matias Alejo Garcia 15e50b6946 add tests 2015-02-18 11:54:57 -03:00
Ivan Socolsky 52f6529952 refactor remaining objects 2015-02-17 21:20:08 -03:00
Ivan Socolsky 53be45ac4c refactor copayer construction 2015-02-17 20:26:58 -03:00
Matias Alejo Garcia 4db7a80775 add tests 2015-02-17 18:04:13 -03:00
Matias Alejo Garcia c6f61ae0da copayerId from pubkey 2015-02-17 17:38:43 -03:00
Ivan Socolsky bea3cf7a65 merge SignUtils into WalletUtils 2015-02-17 16:42:47 -03:00
Ivan Socolsky 5161d96dd6 rename BitcoinUtils -> WalletUtils 2015-02-17 13:11:14 -03:00