Commit Graph

20 Commits

Author SHA1 Message Date
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
Eric Meyer
102beb11e3 Add the concept of multiple environments
* Right now, the two environments are Public and Private
    * This was to reflect the two blockchains we run against
2017-11-01 12:15:55 -05:00
Eric Meyer
552bca29b0 Run go fmt 2017-11-01 09:01:48 -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
faf018082f Associate saved transactions to their block 2017-10-31 10:36:37 -05:00
Matt Krump
688bcd30f2 Start storing transactions 2017-10-31 09:18:30 -05:00
Matt Krump
5c0e39eb9f Test GethBlockToCoreBlock 2017-10-31 09:14:44 -05:00
Matt Krump
e05b1a59dd Remove BlockRecord 2017-10-31 09:14:44 -05:00
Matt Krump
598a58e3b2 Added fields for: Time, Gas Limit, and Gas Used 2017-10-26 08:43:39 -05:00
Eric Meyer
0a16e402bb Add BlockchainDBObserver
* First code that interacts
2017-10-25 15:57:05 -05:00
Matt Krump
571bc7f63a Add integration test
* Update Travis to run integration tests
2017-10-24 15:36:50 -05:00
Eric Meyer
51ab23dd3a Output the number of transactions when logging a new block 2017-10-23 15:02:56 -05:00
Eric Meyer
cc05feee3f Pass in IPC path as command line argument 2017-10-23 14:33:08 -05:00
Eric Meyer
de0bdff579 Implement GethBlockchain 2017-10-23 13:58:33 -05:00
Eric Meyer
de2cb3b5cc Start introducing domain concepts
* Potential observers include a logger and/or an observer that writes to the DB
2017-10-23 12:08:59 -05:00
Eric Meyer
0ebe0c253f Remove message 2017-10-23 11:22:56 -05:00
Eric Meyer
d0431295d6 Nest tests with their package 2017-10-19 09:58:36 -05:00
Eric Meyer
67a0d3c850 Update test to import file 2017-10-19 09:32:54 -05:00