Commit Graph

1712 Commits

Author SHA1 Message Date
Matias Alejo Garcia 70e72f8307 Merge pull request #554 from isocolsky/keep-alive
Set keep-alive timeout
2016-08-09 10:27:23 -03:00
Ivan Socolsky b70b3cd726
set keep-alive timeout 2016-08-09 10:05:25 -03:00
Matias Alejo Garcia da63dbdbc8 Merge pull request #552 from isocolsky/fix/history-cache
Fix cache reset
2016-08-09 09:34:31 -03:00
Ivan Socolsky 756e3d740a
fix tests 2016-08-09 09:33:56 -03:00
Ivan Socolsky 13ca84f077
fix cache reset 2016-08-09 09:31:03 -03:00
Matias Alejo Garcia 7a77805b29 Merge pull request #551 from isocolsky/fix/rm-legacy
Restore legacy txproposal model
2016-08-09 09:23:36 -03:00
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
Matias Alejo Garcia fa98635843 Merge pull request #3 from isocolsky/ref/cache
Cache current blockheight & refresh via notifications
2016-08-08 10:23:23 -03:00
Ivan Socolsky a0e54e79c8
cache blockchain height 2016-08-08 10:06:58 -03:00
Ivan Socolsky 13735829c7
improve # of confirmations tests 2016-08-08 09:12:04 -03:00
Matias Alejo Garcia 36d7724f1c Merge pull request #2 from isocolsky/ref/cache
Fix confirmations
2016-08-06 14:47:18 -03:00
Ivan Socolsky f423f8a567
fix confirmations computation 2016-08-06 13:14:42 -03:00
Matias Alejo Garcia 8c032c9da8 Merge pull request #1 from isocolsky/ref/cache
Ref/cache
2016-08-06 07:23:55 -03:00
Ivan Socolsky 4e7f1f39d9
rebase 2016-08-06 00:15:50 -03:00
Ivan Socolsky 2b2c945339
fix confirmations
Conflicts:
	test/integration/server.js
2016-08-06 00:12:26 -03:00
Ivan Socolsky 8342d22041
store txs individually
Conflicts:
	lib/storage.js
	test/integration/server.js
2016-08-06 00:11:55 -03:00
Ivan Socolsky 251c743e16
refactor retrieving normalized txs
Conflicts:
	lib/server.js
2016-08-06 00:10:08 -03:00
Ivan Socolsky b2731e59f1
blockchain height endpoint 2016-08-06 00:09:36 -03:00
Ivan Socolsky 2cb819c657 Merge pull request #547 from isocolsky/feat/bitcore-sync-endpoint
Blockchain height endpoint
2016-08-05 22:35:53 -03:00
Ivan Socolsky 827bb03d0c
restore legacy txproposal model 2016-08-04 12:42:03 -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 61ffe309f8 Merge pull request #549 from isocolsky/ref/logs
Skip logging of notification requests
2016-08-02 11:54:34 -03:00
Ivan Socolsky 0403b5ab94
skip log for notification requests 2016-08-02 11:38:40 -03:00
Matias Alejo Garcia f7ec6e3a0b
implement "buckets" to split big values in mongodb 2016-07-29 18:15:25 -03:00
Ivan Socolsky 3512cf2f23
blockchain height endpoint 2016-07-29 16:24:03 -03:00
Matias Alejo Garcia b3090c6352
no result fix 2016-07-29 13:05:42 -03:00
Matias Alejo Garcia bb08cba966
rm node versions 0.10 and 0.12 2016-07-29 12:36:22 -03:00
Matias Alejo Garcia 77547e65aa
fix padding last request 2016-07-29 11:51:45 -03:00
Matias Alejo Garcia c220a09354
fix bug when asking beyong cache limit 2016-07-29 11:38:03 -03:00
Matias Alejo Garcia 27b2275461
add names 2016-07-29 10:51:21 -03:00
Matias Alejo Garcia 926506c394
add cache resets 2016-07-29 10:39:01 -03:00
Matias Alejo Garcia 9a09050646
better tests 2016-07-29 08:52:36 -03:00
Matias Alejo Garcia 19d95d9a49
ref tests 2016-07-27 10:25:13 -03:00
Matias Alejo Garcia 63e6847767
better tests 2016-07-27 09:57:54 -03:00
Matias Alejo Garcia 5db61703b4
better tests 2016-07-27 09:46:20 -03:00
Matias Alejo Garcia 35f44b4636
store history cache 2016-07-26 21:10:49 -03:00
Matias Alejo Garcia e8a687d59e
fetch address 2016-07-26 17:55:29 -03:00
Matias Alejo Garcia 7e3660adf5 Merge pull request #539 from isocolsky/rm-deprecated
Remove deprecated methods
2016-07-26 17:54:33 -03:00
Ivan Socolsky bc9354bf1f
remove tx legacy code 2016-07-26 17:47:15 -03:00
Ivan Socolsky 520dc6ecfd
handle exceptions in express layer 2016-07-26 17:37:25 -03:00
Ivan Socolsky 8f46ca85e2
rm redundant tests 2016-07-26 17:35:34 -03:00
Ivan Socolsky 70c8fdac00
remove legacy fee computation tests 2016-07-26 17:35:34 -03:00
Ivan Socolsky b863df0b70
block access to BWC < 1.2 clients 2016-07-26 17:35:34 -03:00
Matias Alejo Garcia 0f3449a864 Merge pull request #544 from isocolsky/ref/txp-id
Allow id to be specified for txps
2016-07-26 11:15:29 -03:00
Ivan Socolsky b3578ccfb5
rm dead code 2016-07-26 11:09:17 -03:00
Ivan Socolsky d47bf73dd8
test allow duplicate tx if no id is specified 2016-07-26 11:03:29 -03:00
Ivan Socolsky 04fdc090bd
check tx already exists based on foreign id 2016-07-26 11:01:14 -03:00
Ivan Socolsky 49929942e7
accept id as arg for tx creation 2016-07-26 11:00:52 -03:00
Ivan Socolsky b69edc44f2
test tx creation with foreign id 2016-07-26 11:00:09 -03:00