Commit Graph

1616 Commits

Author SHA1 Message Date
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
Esteban Ordano
54a84b03da Merge pull request #36 from maraoz/run-all-tests
run all tests by using mocha
2015-03-11 16:15:10 -03:00
Manuel Araoz
66793f7bc7 fix tests again ☺ 2015-03-11 15:47:32 -03:00
Manuel Araoz
3f65ab9abb fix failing test 2015-03-11 14:50:20 -03:00
Manuel Araoz
6357fa3dc4 run all tests by using mocha 2015-03-11 13:18:44 -03:00
Manuel Aráoz
01106133c6 Merge pull request #35 from eordano/schema
Services using RPC
2015-03-11 13:16:22 -03:00
eordano
808b191648 Minor fixes (address concerns on PR #35) 2015-03-11 12:50:41 -03:00
eordano
c846ccdeeb Sort dependencies 2015-03-11 12:33:08 -03:00
Manuel Aráoz
a54becad17 Merge pull request #33 from carnesen/typo
Typo "to" >= "from"
2015-03-11 11:53:12 -03:00
eordano
191cb0e0d1 Reorg db and mock services 2015-03-11 11:13:33 -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
Esteban Ordano
01aa4fa4f9 Merge pull request #32 from maraoz/fix/travis
add npm test command
2015-03-10 12:18:01 -03:00
Manuel Araoz
76bd3d5804 add npm test command 2015-03-10 12:16:53 -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
Manuel Aráoz
43f6558d72 Merge pull request #28 from carnesen/master
Various. Should I be using branches?
2015-03-09 10:14:53 -03:00
Chris Arnesen
3e479a7738 Update configuration section 2015-03-08 19:58:13 -07:00
Chris Arnesen
71ebd84c00 Use 8080 as default port as in config 2015-03-08 19:19:23 -07:00
Chris Arnesen
c018d5696d Updates for grunt replaced by gulp 2015-03-08 17:57:12 -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
Esteban Ordano
58affe9f6c Merge pull request #27 from bitpay/maraoz-patch-1
Delete old config.js
2015-03-06 11:39:11 -03:00
Manuel Aráoz
9c8549af07 Delete old config.js 2015-03-06 11:38:20 -03:00
Esteban Ordano
abaebc9918 Merge pull request #23 from maraoz/http
refactor http module, use BitcoreNode
2015-03-03 16:01:00 -03:00