Commit Graph

156 Commits

Author SHA1 Message Date
Rob Mulholand
634604d0b5 Combine price feed transformers
- fetches logs from all three price feeds in one query
- assumes eth/usd price feed will be updated to include LogValue event
- updates transformers to run separate from header sync
2018-08-16 11:22:16 -05:00
Rob Mulholand
9231d40369 Extract price feed contract addresses to config 2018-08-16 11:22:16 -05:00
Rob Mulholand
ac63e43543 Backfill Frob log events 2018-08-14 10:47:43 -05:00
Elizabeth
b37324bf3d Refactoring
* Move flip kick files pkg/transformers/flip_kick

* Consolidate test database setup

* Pull ganache ipcPath from config

* Update README to include info about using a Ganache chain
2018-08-07 15:17:29 -05:00
Elizabeth
c617cd9c9d Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
Rob Mulholand
1355271011 Add light sync command
- Only syncs block headers (excludes block bodies, transactions, receipts, and logs)
- Modifies validation window to include the most recent block
- Isolates validation window to the variable defined in the cmd directory (blocks
  have a separate variable defined in the block_repository for determining when
  to set a block as final)
2018-07-18 16:34:12 -05:00
Maxim Krasilnikov
1ff349e629 Rename dev_env to rinkeby_env, added make commands description to readme 2018-06-21 22:21:34 +03:00
Elizabeth
aff2ad2b09 Merge pull request #62 from vulcanize/update-build-badge
Update build badge url
2018-06-21 10:11:06 -05:00
Elizabeth Engelman
8437b72ae1 Update build badge url 2018-06-21 10:02:42 -05:00
Stan James
febf412642 Add "About" section to README
Per issue https://github.com/vulcanize/vulcanizedb/issues/60 , adding description provided by @AFDudley on gitter here:
https://gitter.im/vulcanizeio/VulcanizeDB?at=5b2a54b0148056028591b323
2018-06-20 15:55:33 -06:00
Rob Mulholand
7533e6d476 Merge pull request #52 from vulcanize/cold-import
Cold import
2018-05-21 09:34:05 -05:00
Rob Mulholand
d5c2ab33fc Sync only missing blocks on cold import
= Add eth_node_fingerprint to block that can be imitated by both hot and cold imports
- Only sync missing blocks (blocks that are missing or don't share a fingerprint) on cold import
- Set block is_final status after import
2018-05-07 16:38:04 -05:00
Rob Mulholand
5f6bf32ec1 Add cold import script 2018-05-04 10:54:00 -05:00
The Gitter Badger
021e252bb6 Add Gitter badge 2018-04-19 14:49:56 +00:00
Elizabeth Engelman
7d7f0e3790 Update README to only recommend 1 way to setup database schema 2018-04-11 11:00:25 -05:00
Elizabeth Engelman
fd6eb172e4 Address PR comments 2018-04-10 09:07:55 -05:00
Elizabeth Engelman
ba9efc2be0 Updates to README
- update configuration section
- remove creating and migrating the db as a prerequisite for running test - it doesn't seem to be necessary
- add a public.toml.example config file to be copied and updated locally
2018-04-09 17:29:31 -05:00
Matt Krump
e96066bc83 Remove geth --dev dep 2018-03-21 13:57:18 -05:00
Matt K
6c5bc673c0 Update README.md 2018-03-07 15:34:55 -06:00
Matt K
5a652190d9 Allow Parity as ingest node (#36)
* Upgrade go-ethereum to v1.8

* Add Node Info for parity nodes

* Upgrade start_private_blockchain to use v1.8
2018-03-07 15:29:21 -06:00
Matt Krump
06f78e0083 Handle events
- Adds interfaces for developers to build handlers that update data in
response to log events
- Resolves #29
2018-03-05 10:01:50 -06:00
Matt K
293dd2e848 Add vendor dir (#16) (#4)
* Add vendor dir so builds dont require dep

* Pin specific version go-eth version
2018-01-29 13:44:18 -06:00
Matt K
82119b3c4b Update README.md 2018-01-29 09:46:48 -06:00
Matt Krump
0800e331d5 Update README 2018-01-26 13:53:26 -06:00
Matt Krump
69545b72f0 Update README 2018-01-26 13:52:45 -06:00
Matt Krump
662d7e1d79 Update README 2018-01-26 13:51:13 -06:00
Matt K
3b31e2a342 Update README, add State sync test (#1) 2018-01-26 13:38:14 -06:00
Matt Krump
afdeadeca1 Update deps, schema and ci 2018-01-25 19:06:06 -06:00
Matt Krump
aac2239097 Merge old private repo into vulcanize 2018-01-25 18:08:26 -06:00
Matt Krump
ed5a8f5bc4 WIP 2018-01-25 17:19:15 -06:00
Matt K
d09c2ae9bb Remove godo (#136) 2018-01-25 15:46:55 -06:00
Matt K
c00b8a5a98 Add Filters (#133)
* Add LogFilter struct

* Add log_filters table

* Add view for events watching

* Add cmd line "add_filter" to mimic eventual endpoint

* Allow multiple filters in config
2018-01-23 12:43:35 -06:00
Matt Krump
0ae25aff95 Remove getLogs entrypoint 2018-01-16 09:49:23 -06:00
Matt K
f41bf49b0e Update README.md 2018-01-09 08:45:15 -06:00
Matt K
70cfa20c68 Watch contact updates (#127)
* Downcase all arguments for contact watching

* ABI retrieval from test networks
2018-01-08 15:59:47 -06:00
ee4f7c710a replace '8thlight' with 'vulcanize' 2018-01-06 15:31:53 -05:00
Matt K
7e5e12f488 Backfill/listen for contract logs (#113) 2017-12-22 11:42:35 -06:00
Matt K
24bc83a448 Block categorization (#110)
* Add block categorization (is_final=)

* Add godo task for vulcanizeDB (Example of how everything could work together)

* Add unique constraint on block_number and node

* Add index on block_id for transactions_table

* Add node_id index on blocks table

* Sort transactions returned from FindBlock by tx_hash

* lowercase tx_to, tx_from like etherscan
2017-12-20 14:06:22 -06:00
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 Krump
72b656fc15 Update README to include contract summary usage 2017-11-28 15:14:05 -06:00
Eric Meyer
a23023f7d6 Move environment configuration to root 2017-11-14 09:10:48 -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
70faec6dfd Update README to account for environment based changes 2017-11-03 16:52:19 -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
5d297584df Revert "Remove Travis indicator from README"
This reverts commit 954a3ec3aa9eb5ab351fc0155e45c711ed46cc99.
2017-10-31 09:13:47 -05:00
Eric Meyer
ebc4bfa8fd Remove Travis indicator from README 2017-10-31 08:40:34 -05:00
Eric Meyer
e25a9753b4 Add scripts to help with migrations 2017-10-27 14:20:22 -05:00
Eric Meyer
4c1ff9ecbf Update README to suggest installing dep via go get 2017-10-26 10:04:45 -05:00
Matt Krump
2e4d0b9bb1 Update README 2017-10-25 15:56:42 -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
4b63a55060 Updates to readme 2017-10-25 09:01:13 -05:00
Matt Krump
571bc7f63a Add integration test
* Update Travis to run integration tests
2017-10-24 15:36:50 -05:00
Eric Meyer
d0431295d6 Nest tests with their package 2017-10-19 09:58:36 -05:00
Eric Meyer
07998d5077 Add Travis indicator to readme 2017-10-19 09:45:37 -05:00
Eric Meyer
d0776d33d9 Add README 2017-10-19 09:38:47 -05:00