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
Elizabeth
a620fc6a51
Merge pull request #26 from 8thlight/erc20-take-2
...
Erc20 take 2
2018-06-27 14:54:20 -05:00
Elizabeth Engelman
7ee253b2a3
Add ERC20 token watcher example
...
- starting with the totalSupply function
- sets contract config on transformer by passing it into the transformer
initializer
- handles block records with the same number for different nodes for both creating token_supply records, and finding missing blocks
2018-06-27 14:41:51 -05:00
Rob Mulholand
74d6046508
Merge pull request #65 from chapsuk/dev_env
...
Dockerized dev environment, geth rinkeby
2018-06-27 09:13:38 -05:00
Maxim Krasilnikov
fee202024b
dockerfiles/rinkeby: added named volume for pg container
2018-06-25 23:34:49 +03:00
Maxim Krasilnikov
e9e3864ba9
Added user and password to db config
2018-06-22 18:28:34 +03:00
Maxim Krasilnikov
1ff349e629
Rename dev_env to rinkeby_env, added make commands description to readme
2018-06-21 22:21:34 +03:00
Rob Mulholand
02fc10dd3d
Merge pull request #64 from chapsuk/fix_flag_description
...
Fixed sync command help typo
2018-06-21 12:33:05 -05:00
Maxim Krasilnikov
70f7c63aa8
Dockerized dev environment, geth rinkeby
2018-06-21 20:03:37 +03:00
Maxim Krasilnikov
abb7f26124
Fixed sync command help typo
2018-06-21 19:12:09 +03:00
Rob Mulholand
b2cf8d55d8
Merge pull request #63 from chapsuk/duplicate_gouroutines
...
Removed useless goroutines from sync cmd
2018-06-21 10:12:49 -05:00
Elizabeth
aff2ad2b09
Merge pull request #62 from vulcanize/update-build-badge
...
Update build badge url
2018-06-21 10:11:06 -05:00
Maxim Krasilnikov
51f2a23b74
Removed useless goroutines from sync cmd, backFillAllBlocks always called with go func()
2018-06-21 18:05:49 +03:00
Elizabeth Engelman
8437b72ae1
Update build badge url
2018-06-21 10:02:42 -05:00
Rob Mulholand
94182b55fa
Merge pull request #61 from wanderingstan/patch-1
...
Add "About" section to README
2018-06-21 09:49:49 -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
b1df139d29
Merge pull request #57 from vulcanize/fix-missing-blocks-lookup
...
Fix missing block numbers lookup
2018-06-13 11:28:22 -05:00
Rob Mulholand
3e39ccb9bb
Fix missing block numbers lookup
...
- Previously, a block was treated as missing if there was a number in
the given range for which there existing a block that did not match
the node's fingerprint. This meant that in a case where we have a block
that does not match the node's fingerprint and also one that does match,
the block would be treated as missing. This led to errors being thrown
when attempting to add a block that already exists.
- These changes treat a block as missing only if we do not already have
a block that matches the number and node fingerprint.
2018-06-08 11:26:25 -05: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
A. F. Dudley
4baaed94ec
Merge pull request #50 from gitter-badger/gitter-badge-1
...
Add a Gitter chat badge to README.md
2018-05-05 14:39:36 -04:00
Rob Mulholand
5a5e08bd13
Get head block number
...
- Allows us to refuse to sync past current head
- Creates the opportunity to add a flag for syncing all blocks
2018-05-04 11:03:50 -05:00
Rob Mulholand
5f6bf32ec1
Add cold import script
2018-05-04 10:54:00 -05:00
Rob Mulholand
462f94d84a
Associate receipts with blocks instead of transactions
...
- Allows us to fetch receipts by block and persist even when
associated transaction is unknown. (The associated transaction
can still be derived from the tx_hash column at query time, but
is an expensive operation to require for inserts).
2018-05-04 10:52:28 -05:00
Matt K
4711708397
Update block reading test to resolve periodic fails ( #53 )
2018-05-04 10:41:56 -05:00
The Gitter Badger
021e252bb6
Add Gitter badge
2018-04-19 14:49:56 +00:00
A. F. Dudley
2553f892ea
Merge pull request #46 from vulcanize/update-readme
...
Updates to README
2018-04-17 22:32:08 -06:00
Elizabeth Engelman
115b26a76a
Add updated schema
2018-04-11 11:02:29 -05: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
edf3dbe00c
Add starting block arg check
2018-03-27 16:16:27 -05:00
Matt K
8a9395819c
Get transactions ( #45 )
...
* Make transactions requests in parallel
* Update transaction error handling
2018-03-27 16:06:12 -05:00
Matt Krump
88210e436a
Remove test and travis deps on private dev network
2018-03-22 10:15:18 -05:00
Matt Krump
e96066bc83
Remove geth --dev dep
2018-03-21 13:57:18 -05:00
Matt Krump
1b4e57a5b4
Rename node table and node column
2018-03-21 13:24:13 -05:00
Rob Mulholand
02b23ef748
Rename handlers to transformers
2018-03-16 15:07:19 -05:00
Matt Krump
a11fb709b2
Update watcher to use blockchain instead of contract data fetcher
2018-03-12 16:19:06 -05:00
Matt Krump
76dad443ec
Update FetchContractData to allow optional args
2018-03-12 14:21:34 -05:00
Matt Krump
5a2bb04670
Remove unused contract methods
2018-03-12 14:21:34 -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
Rob Mulholand
203f9b47d3
Merge pull request #32 from vulcanize/custom_handlers
...
Handle events
2018-03-05 10:23:11 -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
ed907535e3
Separate DB access into several repos ( #28 )
...
* Separate files for InMemory
* Start using separate repos for collaborating objects
* Before Updating schema
* Separate various repos
2018-02-12 10:54:05 -06:00
Matt K
605b0a96ae
Add graphql server ( #27 )
...
* Add graphql server
* Update Makefile
* Update log_filters constraint
* Add GetLogFilter to repo
* Update travis (use Makefile, go fmt, go vet)
* Add logFilter schema and resolvers
* Add GetWatchedEvent to watched_events_repo
* Add watchedEventLog schema and resolvers
2018-02-08 10:12:08 -06:00
Matt K
d5852654bb
Update table columns ( #26 )
...
* Update block table names
* Update transaction table names
2018-02-02 16:12:14 -06:00
Matt K
aea9c7b5e2
Separate repositories ( #25 )
...
* Separate Repository into multiple Repositories
* Use struct scan for transactions
* Use struct scan for blocks
* Remove unused block repo methods
* Update naming
* Rename / Cleanup repository related fields
2018-02-02 15:53:16 -06:00
Matt K
3863bcb614
Events ( #24 )
...
* Add watched events repo
2018-02-02 13:58:59 -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