Commit Graph

64 Commits

Author SHA1 Message Date
Matias Alejo Garcia dac564f290 adds addAccess call and tests 2015-08-20 14:15:33 -03:00
Ivan Socolsky 3533b60e6b change fee rounding strategy 2015-08-11 16:52:10 -03:00
Ivan Socolsky 2558dcbbbd support legacy clients + tests 2015-07-29 17:45:25 -03:00
Ivan Socolsky 26aef25be6 compute total bytes to send max 2015-07-27 12:19:27 -03:00
Ivan Socolsky 5b3671b079 fix tests 2015-07-27 11:37:10 -03:00
Ivan Socolsky 344fc525e0 add fee estimation method to txp 2015-07-27 08:59:00 -03:00
Ivan Socolsky 1603c200b6 add excludeUnconfirmedUtxos arg to txp creation 2015-07-20 21:35:34 -03:00
Gregg Zigler bc565f671a get network from first output when multiple outputs in proposal 2015-07-09 12:02:04 -07:00
Ivan Socolsky 7139847709 remove TxProposal#getHeader 2015-06-25 12:53:53 -03:00
Ivan Socolsky 48e0709607 simplify validations on createTx 2015-06-25 11:43:47 -03:00
Ivan Socolsky dee4a83ded refactor proposal hash 2015-06-25 11:03:11 -03:00
Gregg Zigler 40dc1c095b Merge remote-tracking branch 'upstream/master' into feat/multOutputs
Conflicts:
	test/integration/server.js
2015-06-19 12:24:04 -07:00
Gregg Zigler 0a4bf8f77f proposal header hash and proposal amount should work with multi-output 2015-06-19 09:30:46 -07:00
Gregg Zigler ab33debdd1 move types to single object, remove default type assignment from proposal 2015-06-18 10:32:56 -07:00
Ivan Socolsky 931923f585 compute kbs needed to send max in getBalance 2015-06-18 13:20:19 -03:00
Gregg Zigler 10644f7edc handle unknown proposal types 2015-06-18 07:57:07 -07:00
Gregg Zigler 453a7187b5 separate common properties from those that vary by proposal type 2015-06-17 13:33:43 -07:00
Gregg Zigler 6f43888176 txproposal with type=multiple-outputs needs an array of outputs 2015-06-17 12:07:31 -07:00
Ivan Socolsky 366638b2d4 implement variable fee per kb 2015-06-16 17:59:56 -03:00
Matias Alejo Garcia 5d943a4b27 allow to remove creator, in tx without other signatures 2015-06-11 18:00:52 -03:00
Ivan Socolsky 4b53947ae6 add network to txproposal model 2015-04-23 12:33:01 -03:00
Ivan Socolsky 4e840328bd add walletId to txProposal model 2015-03-30 11:29:19 -03:00
Matias Alejo Garcia 8b4a946497 add payproUrl to model 2015-03-26 17:55:56 -03:00
Ivan Socolsky 10231c3aa7 set fee if txp successfully created 2015-03-14 09:32:19 -03:00
Ivan Socolsky 4a53da8690 shuffle outputs 2015-03-13 11:56:35 -03:00
Ivan Socolsky e06a788e05 build tx using BWU 2015-03-13 11:56:35 -03:00
Ivan Socolsky 97d4809f68 use Bitcore instance from BWU 2015-03-13 11:56:35 -03:00
Ivan Socolsky 5d537afc60 improve error detection when building tx 2015-03-11 17:04:20 -03:00
Ivan Socolsky cfd9061cc4 remove unused packages 2015-03-04 13:37:00 -03:00
Ivan Socolsky 5f687ea5df broadcast tests 2015-02-26 10:27:08 -03:00
Matias Alejo Garcia 992ef12be3 speed up in signing 2015-02-23 15:58:07 -03:00
Ivan Socolsky 6bf2a10fd2 base58 walletId in secret 2015-02-22 01:35:25 -03:00
Ivan Socolsky 619db55e6c refactor actions as array 2015-02-20 15:23:40 -03:00
Ivan Socolsky 8dd523fec8 various fixes 2015-02-19 16:21:50 -03:00
Matias Alejo Garcia 2d70a54c6f fix tests and amount 2015-02-18 16:47:15 -03:00
Ivan Socolsky 52f6529952 refactor remaining objects 2015-02-17 21:20:08 -03:00
Ivan Socolsky 787a3376be test minimum fee 2015-02-16 14:27:01 -03:00
Matias Alejo Garcia 7c1860117e sign/reject with args (if only one txp) 2015-02-15 19:06:11 -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
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 5757ec5e06 more tests for notifications 2015-02-12 10:26:13 -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
Ivan Socolsky cde30c6b9d add proposalSignature to txp 2015-02-10 10:22:33 -03:00
Ivan Socolsky 674e3a5b77 fix required rejections 2015-02-09 12:30:42 -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 97b6ebdc97 copayer id = uuid 2015-02-07 12:49:24 -03:00