Commit Graph

64 Commits

Author SHA1 Message Date
Matt K
5e64283a12 Get logs for a contract (#99)
* Add ability to fetch logs for a contract and a block

* Test contract related code against Infura, so can run on Travis

* Add godo task for getLogs
2017-12-11 15:08:00 -06:00
Matt K
921bde1089 Update BlockChain to record NodeInfo (#95) 2017-12-07 13:32:16 -06:00
Matt K
71de8e970d Contract hist (#84)
Add ability to query contract historical state
2017-12-04 12:54:33 -06:00
Eric Meyer
aa52088ba7 Refactor config to return an error instead of aborting 2017-11-09 12:41:02 -06:00
Eric Meyer
4c84173bc0 Add ability to populate missing blocks
* The command populates up to the highest known block number
 * The anticipated use case is that the listener will be running
   in parallel to the populateBlocks command
    * This will mean that the listener is responsible for picking up
      new blocks, and the populateBlocks command is reposible for
      historical blocks
 * Reformat SQL statements
2017-11-08 14:52:38 -06:00
Eric Meyer
f4a603efcb Nest packages under pkg 2017-11-06 13:06:03 -06:00
Eric Meyer
24a8fcbadb Refactor DB observer to depend on repository 2017-11-06 11:25:58 -06:00
Eric Meyer
0262a99321 Close subscription in integration test
* This was causing issues in future tests,
   since the subscription was causing blocks
   and transactions to be added to the DB
2017-11-03 08:56:58 -05:00
Eric Meyer
0a04df72d3 Reorganize files into separate packages 2017-11-02 15:07:38 -05:00
Eric Meyer
646e0fa057 Refactor to use listener
* This removes some duplication between the fake blockchain and
   geth blockchain.
 * This pulls the observers into the blockchain listener
2017-11-02 12:51:46 -05:00
Matt K
c961e85099 Refactor block conversion (#38)
Move more of block conversion out of observer
2017-10-31 12:51:05 -05:00
Eric Meyer
09ea8235b6 Add primary key column for blocks table 2017-10-31 08:42:14 -05:00
Eric Meyer
3438c5f256 Lower timeout of integration test 2017-10-25 09:02:12 -05:00
Matt Krump
571bc7f63a Add integration test
* Update Travis to run integration tests
2017-10-24 15:36:50 -05:00