Commit Graph

122 Commits

Author SHA1 Message Date
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
Ivan Socolsky b1a29f5005 check header & change address 2015-02-17 12:39:11 -03:00
Ivan Socolsky 9665f23bc5 add proposal check on sign 2015-02-17 11:58:57 -03:00
Matias Alejo Garcia 03adc38897 add tests, refactor checks 2015-02-17 11:48:19 -03:00
Matias Alejo Garcia 196ae2a448 add test 2015-02-17 10:49:03 -03:00
Matias Alejo Garcia 2121565070 async storage 2015-02-16 20:32:35 -03:00
Matias Alejo Garcia 673ba2823b working after refactor 2015-02-16 19:58:17 -03:00
Matias Alejo Garcia cdb8ab94da fix spelling 2015-02-16 16:29:18 -03:00
Matias Alejo Garcia f8b86842a6 add missing files 2015-02-16 16:29:18 -03:00
Matias Alejo Garcia 85b1bc08b2 adds tests to clientAPI and verified 2015-02-16 16:29:18 -03:00
Ivan Socolsky 8cf28b2200 test for dust amount 2015-02-16 14:41:12 -03:00
Ivan Socolsky 787a3376be test minimum fee 2015-02-16 14:27:01 -03:00
Ivan Socolsky 15b79bfd79 cleaner code 2015-02-15 16:50:50 -03:00
Ivan Socolsky 528634d0a1 remove redundant test 2015-02-15 16:17:37 -03:00
Ivan Socolsky 9020c70dd2 test acceptance flow 2015-02-15 16:15:45 -03:00
Ivan Socolsky bcdd807395 test rejection flow 2015-02-15 15:46:29 -03:00
Ivan Socolsky eba565661c fix integration tests 2015-02-15 13:08:34 -03:00
Matias Alejo Garcia 5953dc8f1d fix getRawTx 2015-02-13 21:16:18 -03:00
Matias Alejo Garcia a04cded8b9 refactor _checkSignatures 2015-02-13 21:00:12 -03:00
Ivan Socolsky 8de10975cf add copayer name to txp 2015-02-13 18:27:35 -03:00
Ivan Socolsky 53bb2567d6 always check proposal signature 2015-02-13 16:57:28 -03:00
Ivan Socolsky 18252b2cae simplify createAndJoinWallet helper 2015-02-13 00:51:04 -03:00
Ivan Socolsky 6ca443bf58 improvements 2015-02-13 00:00:54 -03:00
Ivan Socolsky 50c217c994 fix tests 2015-02-12 17:15:48 -03:00
Ivan Socolsky 9cadcfe7f6 Merge pull request #2 from matiu/feat/notifications2
Feat/notifications
2015-02-12 11:47:34 -03:00
Matias Alejo Garcia 8945b59fd4 add server to check ts is in epoch 2015-02-12 11:41:14 -03:00
Matias Alejo Garcia 0d36c3481b check also emits 2015-02-12 10:57:10 -03:00
Matias Alejo Garcia 5757ec5e06 more tests for notifications 2015-02-12 10:26:13 -03:00
Matias Alejo Garcia d548639334 test passing with notifications 2015-02-11 23:11:30 -03:00
Ivan Socolsky 6b1803fe9d Merge pull request #1 from matiu/feat/add-tests2
add tests
2015-02-11 16:25:25 -03:00
Matias Alejo Garcia d7357c53ea add tests 2015-02-11 13:44:04 -03:00
Ivan Socolsky 86b51f6501 simplify utxo creation 2015-02-11 12:09:12 -03:00
Ivan Socolsky 15798be382 improve error messages 2015-02-11 12:05:21 -03:00
Matias Alejo Garcia f8702ebcce rm pending Tx 2015-02-10 18:51:06 -03:00
Matias Alejo Garcia 324c058303 add test to reject 2015-02-10 18:50:57 -03:00