Commit Graph

73 Commits

Author SHA1 Message Date
Matias Alejo Garcia 0a09dac821 Merge pull request #357 from isocolsky/ref/bip44
Ref/bip44
2015-09-10 15:46:41 -03:00
Matias Alejo Garcia a8607fa11b better insight error handling
add check to getPending

add check to getPending

add tests

rm log

store TXID upon tx completion

monitor accepted txs

change delay

change _checkTxInBlockchain

change _checkTxInBlockchain

rm useless params, refactor txid param

complete tx at fetch
2015-09-09 15:14:11 -03:00
Ivan Socolsky 595a54322b correctly build tx proposal on P2PKH 2015-09-05 18:49:43 -03:00
Kosta Korenkov 20af02e24f Allow arbitrary customData for tx proposals
This way Copay addons may attach related data to proposals
2015-09-03 12:52:12 +03:00
Ivan Socolsky 3f1bae6f25 Merge pull request #340 from matiu/feat/rawTx
add transaction raw HEX if tx status is "accepted"
2015-09-02 13:36:03 -03:00
Matias Alejo Garcia 9de8cfcbf2 add raw HEX if tx is "accepted" 2015-09-02 12:38:28 -03:00
Ivan Socolsky 094e19bc31 use constants form BWU 2015-08-31 17:13:46 -03:00
Ivan Socolsky 3ac0bc5e27 switch tests to bip44 2015-08-28 14:54:36 -03:00
Ivan Socolsky 7d9e43fccc initialize version field from #create method 2015-08-27 10:47:32 -03:00
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