Commit Graph

28 Commits

Author SHA1 Message Date
Ivan Socolsky ea399e12f5 Merge pull request #550 from got3nks/patch-1
Update default History_Limit to 50
2016-08-08 11:51:40 -03:00
Ivan Socolsky 046f83fb0b Merge pull request #545 from matiu/feat/history-cache
Feat/history cache
2016-08-08 10:31:19 -03:00
Ivan Socolsky a0e54e79c8
cache blockchain height 2016-08-08 10:06:58 -03:00
got3nks 48cc135185 Update default History_Limit to 50
The default 100 is causing error when loading the wallet transactions history.

[error] Error: Error querying the blockchain
[Error: Error querying the blockchain]

This is BWS log showing the error:

WARN REQUEST FAIL: https://insight.bitpay.com:443/api/addrs/txs?from=0&to=100 STATUS CODE: 503
WARN Insight https://insight.bitpay.com:443/api/addrs/txs?from=0&to=100 Returned Status: 503
ERR! /v1/txhistory/?r=69638 :500:Error querying the blockchain
2016-08-03 12:09:12 +02:00
Matias Alejo Garcia 27b2275461
add names 2016-07-29 10:51:21 -03:00
Matias Alejo Garcia 63e6847767
better tests 2016-07-27 09:57:54 -03:00
Matias Alejo Garcia b26fa865d1 Merge pull request #531 from isocolsky/ref/various
Minor refactor
2016-07-21 16:20:43 -03:00
Ivan Socolsky 27b69feb81
fee level fallback + tests 2016-06-27 12:45:48 -03:00
Ivan Socolsky 15a2d51992
relax timeoff constraints 2016-06-14 12:26:37 -03:00
Ivan Socolsky aa2a08ac04
hardcoded dust threshold 2016-06-10 13:50:57 -03:00
Ivan Socolsky 0f1629b440
super economy level 2016-05-30 12:13:52 -03:00
Ivan Socolsky 37ee40f26a add min change threshold 2016-03-23 10:58:01 -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 f976637b14 improve code readability 2016-03-09 10:45:37 -03:00
Ivan Socolsky 72cf236bd6 fix variable names 2016-03-08 09:29:57 -03:00
Ivan Socolsky a8cd4fe2c6 improve test cases 2016-03-04 17:50:23 -03:00
Ivan Socolsky 682bf7fdd2 make feePerKb required 2016-03-04 11:06:16 -03:00
Ivan Socolsky 9e0891f644 new defaults 2016-03-04 09:51:59 -03:00
Ivan Socolsky f7013a4589 expand address scan gap 2016-03-01 10:56:13 -03:00
Ivan Socolsky 2e19d6164b improve utxo selection & add tx max size limit 2016-02-19 12:30:40 -03:00
Matias Alejo Garcia 270c5cbeff mv constant to defaults 2016-02-17 16:45:56 -03:00
Ivan Socolsky 77dc536a15 check fee limits 2016-01-28 18:20:48 -03:00
Ivan Socolsky 6f196aa1b9 allow fee to be specified on proposal creation 2016-01-28 17:53:22 -03:00
Ivan Socolsky 8a6c5dfc13 establish a limit on look back time for a valid rate 2016-01-13 16:29:04 -03:00
Ivan Socolsky 57912a3180 define constants in defaults.js 2016-01-13 16:05:08 -03:00
Ivan Socolsky 9868cd7c34 fix tests 2015-12-10 13:03:17 -03:00
Ivan Socolsky 795097bf04 refactor constants+defaults+utils -> common 2015-10-30 17:16:20 -03:00