Commit Graph

1728 Commits

Author SHA1 Message Date
Matt Krump
cdc861e5f2 Update Config to use abs path if supplied 2017-11-08 14:42:23 -06:00
ericmeyer
d3946e27d8 Merge pull request #57 from 8thlight/refactor-specs
Remove duplication in repository specs
2017-11-06 14:17:31 -06:00
Eric Meyer
1bd56ec499 Remove duplication in repository specs 2017-11-06 14:15:02 -06:00
Eric Meyer
7131eafe99 Fix Travis 2017-11-06 13:22:02 -06:00
Eric Meyer
aeb1fe8862 Nest migrations under db directory 2017-11-06 13:12:57 -06:00
ericmeyer
6a1589bafa Merge pull request #56 from 8thlight/introduce-pkg
Nest packages under pkg
2017-11-06 13:08:18 -06:00
Eric Meyer
f4a603efcb Nest packages under pkg 2017-11-06 13:06:03 -06:00
ericmeyer
cf5f2f28db Merge pull request #55 from 8thlight/update-godo
Update godo
2017-11-06 11:44:55 -06:00
Eric Meyer
9ef1fda667 Fix issue where godo would not build project
* The solution is to add a main.go and call run
     *  parses the current file contents
2017-11-06 11:40:52 -06:00
Eric Meyer
24a8fcbadb Refactor DB observer to depend on repository 2017-11-06 11:25:58 -06:00
Eric Meyer
26b21e8eea Add InMemory Repository 2017-11-06 10:42:33 -06:00
ericmeyer
808d4388cd Merge pull request #53 from 8thlight/introduce-repository
Extract Postgres repository
2017-11-06 09:56:29 -06:00
Eric Meyer
ebad2187e5 Extract Postgres repository 2017-11-06 09:52:02 -06:00
ericmeyer
b1a7da4ee3 Merge pull request #49 from 8thlight/add_block_fields
Add fields to block tables
2017-11-03 16:53:31 -05:00
Eric Meyer
70faec6dfd Update README to account for environment based changes 2017-11-03 16:52:19 -05:00
Eric Meyer
24ac0023e9 Ignore non-private environments 2017-11-03 16:37:17 -05:00
ericmeyer
946847a2bd Merge pull request #52 from 8thlight/config_file
Update to use TOML config
2017-11-03 12:26:30 -05:00
Matt Krump
e9efc2ff82 Update to use TOML config 2017-11-03 11:53:31 -05:00
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