Commit Graph

190 Commits

Author SHA1 Message Date
Ivan Socolsky eca7d55afb update rm 2015-02-15 12:46:38 -03:00
Ivan Socolsky f439f23b61 add rm 2015-02-15 12:42:59 -03:00
Matias Alejo Garcia 437eaa476b move / rename client files 2015-02-15 11:35:21 -03:00
Ivan Socolsky 995dee458f add http method to request signature 2015-02-15 11:12:04 -03:00
Matias Alejo Garcia 83e534d293 refactor request 2015-02-14 01:28:43 -03:00
Ivan Socolsky 384a1daeb6 fix network in wallet secret 2015-02-13 22:59:05 -03:00
Ivan Socolsky da6500e930 add reject to CLI 2015-02-13 22:51:40 -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
Matias Alejo Garcia 0af48ff27b sign 3 2015-02-13 18:53:49 -03:00
Matias Alejo Garcia edce55b6cc sign2 2015-02-13 18:24:44 -03:00
Matias Alejo Garcia 802746889c sign WIP 2015-02-13 18:24:44 -03:00
Matias Alejo Garcia 7de9a95dd0 rename clientlib 2015-02-13 18:24:44 -03:00
Matias Alejo Garcia a3abc3b8ff rn clientLib 2015-02-13 18:24:44 -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 57f8863bf9 fix copayers verification 2015-02-13 16:26:33 -03:00
Matias Alejo Garcia 238aeca3b2 balance send working 2015-02-13 13:35:20 -03:00
Matias Alejo Garcia 20272d895a address and addresses! 2015-02-13 12:55:07 -03:00
Matias Alejo Garcia 8208746bb3 send wip 2015-02-13 12:45:05 -03:00
Matias Alejo Garcia f979cd7376 send wip 2015-02-13 11:39:02 -03:00
Matias Alejo Garcia 8afe0009ec add -v to status 2015-02-13 11:38:31 -03:00
Ivan Socolsky 3f7acbbd94 improve error message when creating/joining over existing wallet file 2015-02-13 12:02:30 -03:00
Ivan Socolsky 9421f0854d fix xPubKeySignature verification 2015-02-13 10:58:49 -03:00
Ivan Socolsky ecf1e03480 verify locally that all copayers knew the wallet secret 2015-02-13 01:21:49 -03:00
Ivan Socolsky cb8658d9e3 add copayer name to notification 2015-02-13 01:09:29 -03:00
Ivan Socolsky 681b8e0bf6 fix signature 2015-02-13 00:51:33 -03:00
Matias Alejo Garcia a37f773d88 create, join, status 2015-02-13 00:23:59 -03:00
Matias Alejo Garcia ce8648a31d cli WIP 2015-02-13 00:02:02 -03:00
Ivan Socolsky 6ca443bf58 improvements 2015-02-13 00:00:54 -03:00
Ivan Socolsky 4171ff4a79 debug clilib 2015-02-12 18:54:17 -03:00
Ivan Socolsky 8a8c111827 CLI lib 2015-02-12 16:50:10 -03:00
Ivan Socolsky 050e5701ec command line client 2015-02-12 16:42:32 -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 f9a2ec27a9 add zeroPad 2015-02-12 11:39:27 -03:00
Matias Alejo Garcia 5757ec5e06 more tests for notifications 2015-02-12 10:26:13 -03:00
Matias Alejo Garcia fa4de0deaf test passing with notifications 2015-02-11 23:13:19 -03:00
Matias Alejo Garcia d548639334 test passing with notifications 2015-02-11 23:11:30 -03:00
Matias Alejo Garcia 7a4d16f88e notifications class 2015-02-11 16:03:26 -03:00
Matias Alejo Garcia 38af347c19 WIP, Proof of concept 2015-02-11 16:00:16 -03:00
Matias Alejo Garcia 2e612791f6 notifications WIP 2015-02-11 15:45:00 -03:00
Matias Alejo Garcia cecb1a703b Merge pull request #29 from isocolsky/REST
REST API
2015-02-11 15:25:01 -03:00
Ivan Socolsky 9d3001434b split long lines 2015-02-11 12:10:47 -03:00
Ivan Socolsky 15798be382 improve error messages 2015-02-11 12:05:21 -03:00
Ivan Socolsky 628dc12d00 do not allow locks on undefined 2015-02-11 11:51:29 -03:00
Ivan Socolsky 469d7dfebe remove redundant check 2015-02-11 11:51:29 -03:00
Matias Alejo Garcia 7ba4d4814c fix var name 2015-02-11 11:41:05 -03:00
Ivan Socolsky b8438fc0eb add express app 2015-02-11 10:54:43 -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
Matias Alejo Garcia 7975bb2499 remove pending tx 2015-02-10 18:50:51 -03:00
Matias Alejo Garcia cc757f935e add lock to removeWallet 2015-02-10 16:11:44 -03:00
Matias Alejo Garcia ebc7e2e885 Merge pull request #23 from isocolsky/ref/createTx
WIP Added signature to tx proposal creation
2015-02-10 14:58:29 -03:00
Ivan Socolsky cde30c6b9d add proposalSignature to txp 2015-02-10 10:22:33 -03:00
Ivan Socolsky 7df19fe754 Merge pull request #22 from matiu/feat/delete-wallet
Feat/delete wallet
2015-02-09 18:27:45 -03:00
Matias Alejo Garcia 1ab279ab15 rm copayers first 2015-02-09 18:26:25 -03:00
Matias Alejo Garcia b19d12157a delete wallet working 2015-02-09 18:07:15 -03:00
Ivan Socolsky a78de0195b check required arguments without throwing exceptions 2015-02-09 17:29:22 -03:00
Ivan Socolsky 8f277b179c simplify required rejections formula 2015-02-09 14:20:25 -03:00
Ivan Socolsky 674e3a5b77 fix required rejections 2015-02-09 12:30:42 -03:00
Matias Alejo Garcia db1d1dd463 delete txp and wallet 2015-02-09 12:21:45 -03:00
Ivan Socolsky 240b3322b0 made address and wallet storage atomic 2015-02-08 20:46:02 -03:00
Ivan Socolsky 07332a1561 test valid toAddress on createTx 2015-02-08 20:31:29 -03:00
Ivan Socolsky b9afbaf0de remove isChange arg from #createAddress 2015-02-08 18:45:13 -03:00
Ivan Socolsky 53fa9fcace simultaneous tx creation 2015-02-08 18:29:58 -03:00
Ivan Socolsky e665db210b refactor join wallet tests 2015-02-08 13:36:44 -03:00
Ivan Socolsky c1a0ec6f5d add tests 2015-02-08 13:16:41 -03:00
Ivan Socolsky 00c56650da fix tx creation when wallet not complete 2015-02-08 11:53:06 -03:00
Ivan Socolsky 1ba97a3883 fix address creation when wallet not complete 2015-02-08 11:47:04 -03:00
Ivan Socolsky 7726a69ae5 fix txProposal#isPending 2015-02-08 11:20:22 -03:00
Matias Alejo Garcia e1ab87c173 txproposal id = time + uuid 2015-02-07 14:15:04 -03:00
Matias Alejo Garcia 44b9691e3e wallet id = uuid 2015-02-07 13:13:29 -03:00
Matias Alejo Garcia 97b6ebdc97 copayer id = uuid 2015-02-07 12:49:24 -03:00
Matias Alejo Garcia 3d8cc2e2a3 keys name 2015-02-07 11:48:39 -03:00
Matias Alejo Garcia ea24e093c0 add tests to getTx 2015-02-07 11:48:39 -03:00
Matias Alejo Garcia 22a88e94fa rm async 2015-02-07 11:47:25 -03:00
Matias Alejo Garcia 9cb47a680a index implemented for fetch pending 2015-02-07 11:47:25 -03:00
Matias Alejo Garcia 0a7edd9523 add KEY to storage 2015-02-07 11:47:25 -03:00
Matias Alejo Garcia 196610f2eb txp indexes at storage 2015-02-07 11:47:25 -03:00
Ivan Socolsky ddbfcbe7f5 refactor server & tests 2015-02-06 18:05:40 -03:00
Ivan Socolsky df84843a96 Merge pull request #14 from matiu/feat/broadcasttx2
WIP: broadcastTx
2015-02-06 16:00:30 -03:00
Matias Alejo Garcia baf5da9b4d use networkname from txp 2015-02-06 15:51:40 -03:00
Matias Alejo Garcia 1200f2b2f0 add tests to broadcast 2015-02-06 15:15:54 -03:00
Ivan Socolsky f1f07cf3ec add copayer lookup 2015-02-06 10:49:03 -03:00
Matias Alejo Garcia dba306045c broadcastTx 2015-02-05 17:22:38 -03:00
Matias Alejo Garcia 4bf541c7b1 transaction signing 2015-02-05 15:50:18 -03:00
Matias Alejo Garcia 9a88a6f8f6 fix addresses in helper / utxos 2015-02-04 21:38:23 -03:00
Matias Alejo Garcia 06ae34a71f sign TX dummy test passing 2015-02-04 16:27:36 -03:00
Matias Alejo Garcia 0758c2e842 signing test 2015-02-04 16:19:19 -03:00
Matias Alejo Garcia 08c90ad26b sign working 2015-02-04 16:19:18 -03:00
Ivan Socolsky f7e60084f2 add #getTx 2015-02-04 15:45:08 -03:00
Ivan Socolsky b5e089bd18 replace all errors with ClientError 2015-02-04 13:31:02 -03:00
Ivan Socolsky 283eca4e12 rename BadRequestError -> RequestError 2015-02-04 13:08:25 -03:00
Ivan Socolsky fdd3b831c0 fix insufficient funds error msg & tests 2015-02-04 12:50:23 -03:00
Ivan Socolsky 8e7fa61466 refactor errors 2015-02-04 12:47:03 -03:00
Ivan Socolsky 7e5a8dc16d Merge pull request #10 from matiu/feat/createTx3
implements createTx
2015-02-03 23:33:00 -03:00
Matias Alejo Garcia 8ac34da3ef add createTx 2015-02-03 23:17:06 -03:00
Ivan Socolsky 72e27606b9 add tests to createAddress 2015-02-03 17:32:40 -03:00
Matias Alejo Garcia fc16cfa8af merge 2015-02-03 16:46:28 -03:00
Ivan Socolsky 8d8def9f4e refactor address manager 2015-02-03 15:44:44 -03:00