Commit Graph

61 Commits

Author SHA1 Message Date
tenthirtyone
52ebe7dde0 bugfix, return array instead of object 2017-08-22 14:10:19 -04:00
tenthirtyone
d86cdd3678 Fix /txs default return to return the properly transformed response 2017-08-22 10:34:55 -04:00
tenthirtyone
067592df50 helmet and static expires header 2017-08-22 01:44:51 -04:00
tenthirtyone
479d55de4a check for findOne null 2017-08-22 01:17:44 -04:00
tenthirtyone
c2c51e709a more cleaning up 2017-08-22 00:29:10 -04:00
tenthirtyone
e5ad52f55d fixed search by addr checking for address. Eventually move these to middleware 2017-08-21 22:57:43 -04:00
tenthirtyone
cae4a45572 Massive debug/dev code cleanup. Most db logic moved to models. 2017-08-21 22:38:20 -04:00
tenthirtyone
801fbf62e8 Change FE to relative request paths. 2017-08-21 14:01:08 -04:00
tenthirtyone
968ab3c103 merge mongo changes 2017-08-19 20:59:37 -04:00
tenthirtyone
46842c9cc5 tx by address wired up 2017-08-19 04:07:09 -04:00
tenthirtyone
697388f1ce pre cleanup. Running entirely on mongo. 2017-08-19 03:15:17 -04:00
tenthirtyone
14cb4e3332 clean up console log and fix return statements 2017-08-18 14:19:10 -04:00
tenthirtyone
805e5ec0c3 top n txs setup 2017-08-17 17:49:54 -04:00
tenthirtyone
d2f68fefe9 need new mongo models from another branch 2017-08-17 17:41:07 -04:00
tenthirtyone
898e373b77 Add util to other routes for input validation. 2017-08-17 16:28:30 -04:00
Alex
5d91e48afa Merge branch 'next-merge' into feature/txEndpointValidation 2017-08-17 15:19:50 -04:00
tenthirtyone
d148b5ec77 updated readme instructions 2017-08-17 15:17:23 -04:00
tenthirtyone
4b6482e0ad add scriptsigs to txs for circle-plus info on tx lists 2017-08-17 14:37:08 -04:00
tenthirtyone
5a89cf17d2 All routes replaced. Stable but no tx inputs working. 2017-08-17 11:25:58 -04:00
tenthirtyone
8d733df278 Tx Parsing and updating input values 2017-08-17 00:26:32 -04:00
tenthirtyone
a5d74393d1 tx size, tx parser, mongo replies for tx by hash 2017-08-16 23:07:06 -04:00
tenthirtyone
1b0c1b1250 Bringing back other parsers 2017-08-16 22:49:13 -04:00
tenthirtyone
3e7f263e18 bestBlockHeight set by node now. Less cb Hell. 2017-08-16 21:56:56 -04:00
tenthirtyone
1cb0a6b385 indexes and experimenting with mem db 2017-08-16 21:23:29 -04:00
Rob Riddle
1218726ffc This adds some basic regex validation on query parameters to harden against attacks and reduce time to error. Address validation could likely be improved beyond just regex, but this will do for now 2017-08-16 16:31:57 -04:00
tenthirtyone
2ac70bc9a2 Fixed Bcoin error returned as data, fixed dead /txs endpoint missing error, added ttl to bcoin requests but large addrs still take too long 2017-08-16 16:30:33 -04:00
tenthirtyone
c47f58f8e8 Clean up eslint complaints 2017-08-16 14:13:18 -04:00
tenthirtyone
e5b608809b Fix Coinbase in blocks and address. Remove console log from compiled js (removed from temp previousl) 2017-08-16 12:49:37 -04:00
tenthirtyone
515884bf63 Fix isCoinBase typo and add comments 2017-08-16 12:39:12 -04:00
tenthirtyone
958fc79204 Fix return val in transactions.js for bestBlockHeight 2017-08-16 10:40:50 -04:00
tenthirtyone
ad39b6337c comment updates 2017-08-16 02:02:19 -04:00
tenthirtyone
06b0e108d5 socket reworking to reduce coupling 2017-08-16 01:47:30 -04:00
tenthirtyone
2f4533e057 getBestHeight added to db api 2017-08-16 01:13:30 -04:00
tenthirtyone
3b8b900405 More cleanup, naming fixes and comments 2017-08-16 01:08:05 -04:00
tenthirtyone
e3b8413eee Moved db configs to config file. Dropped time from log files. Simple commenting 2017-08-16 00:52:11 -04:00
tenthirtyone
2eac46fdb5 transactions added to db api 2017-08-16 00:17:45 -04:00
tenthirtyone
1d029fcf7f getBlocks completely in db api 2017-08-16 00:00:52 -04:00
tenthirtyone
b0f95d93ab All API but tx & socket cleaned up, blocks db api done 2017-08-15 23:14:24 -04:00
tenthirtyone
ecee54c10b Address API cleaned up. Unnecessary db calls removed 2017-08-15 21:55:48 -04:00
tenthirtyone
d278dbdb7c Blocks DB API up 2017-08-15 21:29:59 -04:00
tenthirtyone
1777be323c Message verification and bitcore-message added 2017-08-15 20:29:38 -04:00
tenthirtyone
0c04a55fd0 use app 404 page and clean up console log 2017-08-15 20:15:01 -04:00
tenthirtyone
afd68116e7 broadcast tx 2017-08-15 15:41:25 -04:00
tenthirtyone
358662fb84 add tx paging and protections 2017-08-15 11:38:40 -04:00
tenthirtyone
6659148d4b fix bad txid 2017-08-15 10:59:40 -04:00
tenthirtyone
bf26304746 Remove index from txs. Explicit return and fix spent and received in addr. 2017-08-15 10:42:36 -04:00
tenthirtyone
a3e4e19a9d address summary finished 2017-08-15 04:37:53 -04:00
tenthirtyone
17acbdda6d messiest yet, bump confs by 1 2017-08-15 04:11:22 -04:00
tenthirtyone
2b8eee6e03 Confirmations wired up for blocks txs and addr views 2017-08-15 04:09:28 -04:00
tenthirtyone
dd0e0bedf0 update tx fees div 1e8 2017-08-15 03:19:21 -04:00