gap-filler

command module
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

README

gap-filler

gap-filler service runs graphql proxy, handle predefined list of queries from eth-watcher-ts and if response from indexer's postgraphile is empty, them call geth-statediff to generate state diff.

Application Diagram

Usage

After building the binary, run as

./gap-filler proxy

Supported GraphQL Queries

  • ethHeaderCidByBlockNumber

Environment Variables

Name Default Value Comment
GQL_TARGET http://127.0.0.1:5020/graphql URL of source Postgraphile
GQL_GUI false Enable graphiql interface
RPC_ETH http://127.0.0.1:8545 Comma separated Ethereum rpc addresses
RPC_TRACING http://127.0.0.1:8545 Comma separated Ethereum rpc addresses
HTTP_HOST 127.0.0.1 Gap-filler host
HTTP-PORT 8080 Gap-filler port
HTTP-PATH / Gap-filler base path. Result URL is http://$HTTP_HOST:$HTTP-PORT$HTTP-PATH/graphql

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
mux

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL