Commit Graph

914 Commits

Author SHA1 Message Date
Ivan Socolsky 42c2d9a95f
add includeExtendedInfo opts to getTxHistory 2016-05-03 12:40:22 -03:00
Ivan Socolsky 190ee3ef34
improve log messages 2016-04-28 20:00:02 -03:00
Ivan Socolsky f455b53971
always add changeaddress if specified 2016-04-28 19:58:51 -03:00
Ivan Socolsky c1e9a8a66e
add raw tx to log 2016-04-27 12:57:05 -03:00
Ivan Socolsky 476a2d49ed
log bad signatures data 2016-04-27 12:45:00 -03:00
Kosta Korenkov 98c72d3206 Update method doc 2016-04-19 19:55:05 +03:00
Kosta Korenkov 11b32f4ee5 Optionally disable outputs shuffling for createTx 2016-04-16 10:24:32 +03:00
Ivan Socolsky b3e01c0ddd Merge pull request #497 from troggy/fix-build-tx
fix: wrong output value calculation in _buildTx
2016-04-11 14:25:07 -03:00
Ivan Socolsky 4d25161098
assert inputs & outputs are consistent 2016-04-11 10:06:59 -03:00
Kosta Korenkov 2e1cc88c56 fix: wrong output value calculation in _buildTx 2016-04-11 13:10:40 +03:00
Kosta Korenkov 0d9dc85030 fix: do not remove scripts from outputs 2016-04-11 10:04:47 +03:00
Ivan Socolsky 017d64c76d
remove log strings 2016-04-07 15:03:00 -03:00
Ivan Socolsky 4c9b685e1c
add userAgent opt 2016-04-07 14:52:23 -03:00
Ivan Socolsky 533ddaf3b4
remove blockchain explorer dependency from email service 2016-04-07 14:42:13 -03:00
Matias Alejo Garcia 897c73bf1a Merge pull request #493 from gabrielbazan7/fix/hashToHex
hash to hex
2016-04-07 14:15:37 -03:00
Gabriel Bazán 56b0b5c5a6 hash to hex 2016-04-07 13:12:20 -03:00
Ivan Socolsky 8692c06860 fix for single host config 2016-04-07 12:47:34 -03:00
Ivan Socolsky 37ee40f26a add min change threshold 2016-03-23 10:58:01 -03:00
Ivan Socolsky 6d8b4e70b6 add more info to response 2016-03-18 16:32:11 -03:00
Ivan Socolsky 6b8af51993 handle 0 input txs 2016-03-18 15:56:10 -03:00
Matias Alejo Garcia 93a8d65932 Merge pull request #470 from isocolsky/feat/send-max
Feat/send max
2016-03-18 10:47:51 -03:00
Ivan Socolsky 30469f921d shuffle inputs 2016-03-16 16:46:11 -03:00
Ivan Socolsky f418009ebf add express endpoint 2016-03-16 16:42:39 -03:00
Ivan Socolsky ea94ec9963 increase BACKOFF_OFFSET from 3 to 10 + fixed BACKOFF_TIME (1 hour) 2016-03-15 17:21:22 -03:00
Ivan Socolsky 4892e23100 reduce deletion backoff time from 24h to 1h 2016-03-15 15:58:46 -03:00
Ivan Socolsky dffdebfb47 fix docs for createTx 2016-03-11 14:22:54 -03:00
Ivan Socolsky 0766499cb7 createTx dry run 2016-03-11 13:51:15 -03:00
Ivan Socolsky d23788100e allow for external use of getSendMaxInfo + refactor createTx 2016-03-11 13:51:15 -03:00
Ivan Socolsky b2fc191f54 remove generation of change address when sending max 2016-03-11 13:49:33 -03:00
Ivan Socolsky bdff2cbc35 sendMax option on createTx 2016-03-11 13:45:10 -03:00
Ivan Socolsky 755449e32d return utxo list 2016-03-11 13:42:26 -03:00
Ivan Socolsky 0aa0f345a3 add max size check 2016-03-11 13:42:25 -03:00
Ivan Socolsky 42ae722db9 tests 2016-03-11 13:42:25 -03:00
Ivan Socolsky 8d25f23849 get send max info 2016-03-11 13:38:42 -03:00
Matias Alejo Garcia a3da2deb65 Merge pull request #477 from isocolsky/utxo-selection
Improve UTXO selection
2016-03-11 11:56:42 -03:00
Ivan Socolsky a4ced0320f refactor fee correction on change below dust 2016-03-11 11:47:57 -03:00
Ivan Socolsky 10b4ff3d15 fix netTotal bug + test 2016-03-11 11:13:29 -03:00
Ivan Socolsky 8ce304fd4e reduce safety margin to 2% 2016-03-10 18:59:04 -03:00
Ivan Socolsky 8865d42ec3 improve fee computation for P2PKH wallets 2016-03-10 18:58:56 -03:00
Ivan Socolsky ee7d3bad7f allow absolute fee when specifying inputs 2016-03-10 11:47:54 -03:00
Ivan Socolsky f976637b14 improve code readability 2016-03-09 10:45:37 -03:00
Ivan Socolsky 5afc74d4f6 revert breaking conditions for small inputs to improve tracing 2016-03-09 10:18:13 -03:00
Ivan Socolsky c3ee9e9b93 shuffle inputs 2016-03-08 15:47:31 -03:00
Ivan Socolsky 49791bcfdf remove redundant check for very small utxos 2016-03-08 15:28:49 -03:00
Ivan Socolsky c01d1568bb adapt fee to avoid change below dust 2016-03-08 15:28:28 -03:00
Ivan Socolsky 9ed48f1e77 keep adding utxos to raise change above dust 2016-03-08 10:55:32 -03:00
Gabriel Bazán c43a11d647 refactor ios payload structure 2016-03-08 09:49:00 -03:00
Ivan Socolsky 293c15a3d3 Merge pull request #4 from matiu/utxo-tests
Utxo tests
2016-03-08 09:37:16 -03:00
Ivan Socolsky 72cf236bd6 fix variable names 2016-03-08 09:29:57 -03:00
Ivan Socolsky 37d27cec40 create compound index for walletId, createdOn. drop old index 2016-03-08 08:59:01 -03:00