Commit Graph

16 Commits

Author SHA1 Message Date
Esteban Ordano
b216f15968 Merge pull request #34 from maraoz/tdd/api2
add /addresses/:address endpoint
2015-03-11 16:16:28 -03:00
Chris Arnesen
bbc048d3a6 "to" >= "from" 2015-03-10 14:17:11 -07:00
Manuel Araoz
14d6b0b67e add TODOs to blocks controller 2015-03-10 12:59:23 -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 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