Commit Graph

50 Commits

Author SHA1 Message Date
eordano
de62831851 Improve initialization of a simple node 2015-03-25 17:56:55 -03:00
eordano
541a06f5c3 Fix minor issues with rpc 2015-03-25 17:56:55 -03:00
Manuel Araoz
6a1162cae8 _ is amazing :shipit: 2015-03-13 12:17:20 -03:00
Manuel Araoz
824e8ee662 add coverage 2015-03-12 17:45:50 -03:00
Manuel Araoz
03ee93bac8 add real utxos 2015-03-12 17:31:47 -03:00
Manuel Araoz
510f0f0997 add /addresses/:addresses/utxos 2015-03-12 17:16:13 -03:00
Manuel Araoz
cb7f2c9343 add utxos call 2015-03-12 15:58:58 -03:00
Manuel Araoz
81e1ec13d2 add /transactions/:hash/inputs|outputs/:index 2015-03-11 19:20:38 -03:00
Manuel Araoz
63cb77fa2a add /addresses/:addr/transactions 2015-03-11 17:48:11 -03:00
Manuel Araoz
243828c83f refactor mock objects 2015-03-11 17:36:23 -03:00
Manuel Araoz
6e03050095 start with Transactions.list 2015-03-11 16:54:17 -03:00
Esteban Ordano
b216f15968 Merge pull request #34 from maraoz/tdd/api2
add /addresses/:address endpoint
2015-03-11 16:16:28 -03:00
Manuel Araoz
3f65ab9abb fix failing test 2015-03-11 14:50:20 -03:00
Manuel Araoz
0002be1894 remove copypasta code 2015-03-10 19:24:49 -03:00
Manuel Araoz
b3a247cfc1 add /addresses/:address endpoint 2015-03-10 19:23:14 -03:00
Chris Arnesen
bbc048d3a6 "to" >= "from" 2015-03-10 14:17:11 -07:00
Manuel Araoz
c11592b56e add type checks for input and output parameters 2015-03-10 15:02:57 -03:00
Manuel Araoz
c467586b89 remove /transactions/ endpoint 2015-03-10 14:59:48 -03:00
Manuel Araoz
14d6b0b67e add TODOs to blocks controller 2015-03-10 12:59:23 -03:00
Esteban Ordano
d704a6d143 Merge pull request #24 from maraoz/tdd/api
add tests for REST API with mocked services
2015-03-10 12:57:55 -03:00
Manuel Araoz
0b02c6dfaf add more tests for /blocks/ 2015-03-10 12:14:57 -03:00
Manuel Araoz
3dbad3c6e2 add parameters to /blocks/ 2015-03-09 20:18:53 -03:00
Manuel Araoz
cbf4b2c03b mock /blocks call 2015-03-09 19:03:50 -03:00
Manuel Araoz
a09f939b02 promisify Blocks.getLatest 2015-03-09 18:13:56 -03:00
Manuel Araoz
591f28f56b promisify blocks 2015-03-09 10:34:43 -03:00
Chris Arnesen
71ebd84c00 Use 8080 as default port as in config 2015-03-08 19:19:23 -07:00
Manuel Araoz
7c3231ac3c promisify Node.getStatus() 2015-03-06 19:06:19 -03:00
Manuel Araoz
2a17f8076a promisify getTransaction 2015-03-06 18:02:51 -03:00
Manuel Araoz
cd2e1d8b8a add /transactions/send 2015-03-06 17:50:39 -03:00
Manuel Araoz
c86b7c4277 move mocks to tests only 2015-03-06 17:03:38 -03:00
Manuel Araoz
e53beed522 multiple tests for valid tx and block ids 2015-03-06 15:53:07 -03:00
Manuel Araoz
91984e89a1 add /blocks/latest 2015-03-06 15:53:07 -03:00
Manuel Araoz
125d7b22f8 turn controllers into namespaces 2015-03-06 15:53:07 -03:00
Manuel Araoz
d5781a4bc5 height is an integer 2015-03-06 15:53:07 -03:00
Manuel Araoz
a411db153c add /blocks/:height 2015-03-06 15:53:07 -03:00
Manuel Araoz
78856257e4 add /node endpoint 2015-03-06 15:53:07 -03:00
Manuel Araoz
828dd3ff90 add supertest and draft test scheme 2015-03-06 15:53:06 -03:00
Manuel Araoz
dcc8ade166 add tests for api 2015-03-03 14:59:01 -03:00
Manuel Araoz
509a82ac3a reorder files 2015-03-03 12:18:06 -03:00
Manuel Araoz
7ef0c36d38 backend->node 2015-03-03 11:50:41 -03:00
Manuel Araoz
d027bba2c7 refactor app into BitcoreHTTP 2015-03-03 11:50:41 -03:00
Manuel Araoz
244e13c55a add logging 2015-03-03 11:50:40 -03:00
Manuel Araoz
08050a6d30 fix routes with design doc 2015-03-03 11:50:40 -03:00
Yemel Jardi
40d82d877d Remove config 2015-02-27 13:00:30 -03:00
Yemel Jardi
b64a0c0169 Add gzip compression 2015-02-27 13:00:30 -03:00
Yemel Jardi
072e538989 Add first api version (insight) 2015-02-27 13:00:14 -03:00
Yemel Jardi
75bc316ea4 Add backing services to http api 2015-02-27 13:00:13 -03:00
Yemel Jardi
ce415a37eb Add CORS to web api 2015-02-27 13:00:13 -03:00
Yemel Jardi
33f6f422d8 Split api version 2015-02-27 12:59:43 -03:00
Yemel Jardi
845436c34b Initial http server structure 2015-02-27 12:59:43 -03:00