Commit Graph

1760 Commits

Author SHA1 Message Date
Matt Krump
946eb23861 mend 2017-11-03 09:59:24 -05:00
Matt Krump
df09cf8d93 Add fields to block tables 2017-11-03 09:56:24 -05: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
ericmeyer
4733b25f54 Merge pull request #50 from 8thlight/reogranize-packages
Reorganize files into separate packages
2017-11-02 15:10:52 -05:00
Eric Meyer
0a04df72d3 Reorganize files into separate packages 2017-11-02 15:07:38 -05:00
ericmeyer
70c34e86ea Merge pull request #48 from 8thlight/refactor-to-listener
Refactor to use listener
2017-11-02 12:55:12 -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
ericmeyer
60a8be67f4 Merge pull request #44 from 8thlight/go-task
Add multiple environments
2017-11-01 12:21:49 -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
121511f10d Refactor existing code to use Godo 2017-11-01 10:54:57 -05:00
Eric Meyer
e4fe3e0210 Run dep ensure 2017-11-01 09:02:50 -05:00
Eric Meyer
552bca29b0 Run go fmt 2017-11-01 09:01:48 -05:00
Matt K
d2920e7acf Add index on block_number column (#43) 2017-11-01 08:52:04 -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
ericmeyer
963cc83299 Merge pull request #37 from 8thlight/add-block-id-to-transactions
Associate saved transactions to their block
2017-10-31 10:38:57 -05:00
Eric Meyer
faf018082f Associate saved transactions to their block 2017-10-31 10:36:37 -05:00
ericmeyer
703acb99fb Merge pull request #32 from 8thlight/transactions
Transactions
2017-10-31 09:24:07 -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
Eric Meyer
5d297584df Revert "Remove Travis indicator from README"
This reverts commit 954a3ec3aa9eb5ab351fc0155e45c711ed46cc99.
2017-10-31 09:13:47 -05:00
ericmeyer
293a0957fa Merge pull request #34 from 8thlight/add-travis
Add travis
2017-10-31 09:13:13 -05:00
Eric Meyer
3cfbf00796 Remove AS SEQUENCE 2017-10-31 09:10:29 -05:00
Eric Meyer
60dd1d1d2d Revert "Remove Travis"
This reverts commit ae737c8ef2bd64ae5405a72a4aafabb410751b18.
2017-10-31 09:03:13 -05:00
ericmeyer
1c9706fbea Merge pull request #31 from 8thlight/add-primary-key-to-blocks
Add primary key column for blocks table
2017-10-31 08:44:25 -05:00
Eric Meyer
09ea8235b6 Add primary key column for blocks table 2017-10-31 08:42:14 -05:00
Eric Meyer
ebc4bfa8fd Remove Travis indicator from README 2017-10-31 08:40:34 -05:00
Eric Meyer
ec107ea933 Remove Travis
* Travis does not support Postgres 10, so we are temporarily removing it
2017-10-31 08:40:10 -05:00
ericmeyer
66ac0728a6 Merge pull request #29 from 8thlight/add-migrate-script
Add scripts to help with migrations
2017-10-27 15:19:36 -05:00
Eric Meyer
e25a9753b4 Add scripts to help with migrations 2017-10-27 14:20:22 -05:00
Eric Meyer
9cac8e6086 Add dev flag to setup script 2017-10-26 12:26:02 -05:00
Eric Meyer
4c1ff9ecbf Update README to suggest installing dep via go get 2017-10-26 10:04:45 -05:00
ericmeyer
cc924d2a6b Merge pull request #14 from 8thlight/add-fields
Added fields for: Time, Gas Limit, and Gas Used
2017-10-26 08:46:24 -05:00
Matt Krump
598a58e3b2 Added fields for: Time, Gas Limit, and Gas Used 2017-10-26 08:43:39 -05:00
ericmeyer
f97c75828a Merge pull request #13 from 8thlight/dump-schema
Update Travis to create a database from a schema
2017-10-25 16:51:16 -05:00
Eric Meyer
f61b1bc96c Update Travis to create a database from a schema
* We were running into issues getting migrate to work
2017-10-25 16:50:19 -05:00
ericmeyer
6fec53d5a1 Merge pull request #12 from 8thlight/add-database
Add database
2017-10-25 15:59:16 -05:00
Eric Meyer
0a16e402bb Add BlockchainDBObserver
* First code that interacts
2017-10-25 15:57:05 -05:00
Matt Krump
2e4d0b9bb1 Update README 2017-10-25 15:56:42 -05:00
ericmeyer
0b7d9e308f Merge pull request #11 from 8thlight/update-deps
Update locked dependencies
2017-10-25 13:33:37 -05:00
Eric Meyer
5979eb5f8a Update locked dependencies
* ethereum-go had never been locked
 * Remove vendor from repo due to size of ethereum-go
2017-10-25 13:29:12 -05:00
ericmeyer
eef5296b44 Merge pull request #10 from 8thlight/add-database
Add instructions for creating the database and the initial table
2017-10-25 10:12:05 -05:00
Eric Meyer
99c3003ba8 Add instructions for creating the database and the initial table 2017-10-25 10:05:29 -05:00
Eric Meyer
3438c5f256 Lower timeout of integration test 2017-10-25 09:02:12 -05:00
Eric Meyer
4b63a55060 Updates to readme 2017-10-25 09:01:13 -05:00
Matt Krump
5e7280616a Add start_blockchain script 2017-10-25 08:56:19 -05:00
ericmeyer
392f31d3c4 Merge pull request #7 from 8thlight/integration_test_2
Add integration test
2017-10-24 15:44:27 -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