Arijit Das
316bf0990a
Add env flag to load .env file.
2022-01-13 23:15:20 +05:30
Arijit Das
c07ee1d78a
Take config through env.
2022-01-13 22:08:38 +05:30
i-norden
e6869f4236
explicity set whether to forward to proxy on errors, so that we can turn it off and test the direct forwarding
2021-12-30 01:45:53 -06:00
i-norden
907c7132f4
needed type assertion
2021-12-29 14:57:21 -06:00
i-norden
bd093e0ea6
cli flag for new option
2021-12-27 12:31:25 -06:00
i-norden
d53bfae243
use buffered chan for os.Signal
2021-10-11 11:06:04 -05:00
Arijit Das
1973e8032d
Bump up daptools image tag and geth version.
2021-10-07 15:07:23 +05:30
Ashwin Phatak
2de9c5bd48
Use groupcache pool for state db access ( #91 )
...
* Use groupcache pool for state db access
* Group cache config and logging stats on timer
* Integrate state validator into server
* Use tagged ipfs-ethdb
* groupcache config for tests
* Work around duplicate registration of groupcache error in tests
* Use tagged version of eth-ipfs-state-validator
* State validation command.
* Validator for static replicas to keep cache warm
* Update docker go-version and go.mod.
* Address comments and self review.
* Fix ipfs-ethdb version.
Co-authored-by: Arijit Das <arijitad.in@gmail.com>
2021-09-21 17:40:55 +05:30
Arijit Das
d8a5358a70
Remove ipld-eth-indexer dependency.
2021-08-12 11:56:29 +05:30
Arijit Das
9aaea6e016
Address comments.
2021-06-18 17:13:46 +05:30
ramil
31cbaec567
fix serve command for ipld graphql server
2021-04-16 16:56:02 +03:00
ramil
75debec01a
remove proxy command
2021-04-16 16:02:04 +03:00
ramil
07519468e9
fix serve command
2021-04-16 01:32:29 +03:00
ramil
524ab42674
normilize CLI options, environment variables
...
merge gap-filler library to "serve" commnad
2021-04-14 18:53:44 +03:00
Ian Norden
86aa1c16e6
support net endpoints
2021-04-09 09:51:12 -05:00
Ian Norden
f6780ddd95
update go.mod and cmds
2021-03-10 10:46:21 -06:00
Ian Norden
8d10dc98ee
proxy command for graphQL endpoints directly ontop of Postgres indexes
2021-03-10 10:26:40 -06:00
Ramil Amerzyanov
d3f30b621b
support custom chain config ( #36 )
...
* support custom chain config
* move loading config logic to a separate helper function
2021-03-10 19:18:32 +03:00
Ramil Amerzyanov
e92d35b084
update geth statediff to version v1.9.25-statediff-0.0.14 ( #27 )
...
* update geth statediff to version v1.9.25-statediff-0.0.14
run integration tests in github actions
* fix goose install issue
* fix unit test bug.
Added sorting by tx index for transactions and receipts queries
2021-02-19 23:23:45 +03:00
Ian Norden
7a2ccaa8a7
fixes for test; update readme and gomodules
2020-10-28 08:40:00 -05:00
Ian Norden
16aa9652a5
integrate into serve command
2020-10-28 08:23:17 -05:00
Ian Norden
e561fd3178
minor cleanup to prom files
2020-10-27 14:18:59 -05:00
Ian Norden
2d0367fe6c
update env
2020-10-27 12:57:26 -05:00
ramil
909c85b547
monitoring documentation, prometheus config, grafana dashboard
2020-10-21 15:38:48 +03:00
ramil
d9b05233b0
fix null pointer exception
2020-10-21 14:22:43 +03:00
ramil
c5eae5fb75
Merge remote-tracking branch 'remotes/vulc/master' into metrics
...
# Conflicts:
# go.sum
# pkg/serve/config.go
2020-10-21 13:53:38 +03:00
Ian Norden
20af343efb
fixes after dirty rebase; canonical hash/header finder function is in this commit now
2020-10-20 15:36:51 -05:00
ramil
6e127acbf3
upgrade ipld-eth-indexer from v0.2.0-alpha to v0.5.0-alpha and test fixes
2020-10-20 17:42:09 +03:00
Ilnur Galiev
f627c2edfa
add prometheus-middlewares for http and ws endpoint
2020-10-19 18:00:55 +03:00
Ilnur Galiev
b1f00c5776
fix merge error
2020-10-19 16:20:05 +03:00
Ilnur Galiev
2d15e8c2f1
Merge branch 'metrics' of https://github.com/n0cte/ipld-eth-server into metrics
2020-10-19 16:07:40 +03:00
Ilnur Galiev
a0d70b544b
add prometheus metrics
2020-10-19 16:07:29 +03:00
Ilnur Galiev
efebea7a18
add prometheus metrics
2020-10-19 15:07:19 +03:00
ramil
4e063171a9
add * to vhost to allow connecting to server in docker-compose
2020-09-11 14:21:43 +03:00
Ian Norden
add6afadd7
fix subscribe command and client (remove rlp encoding of subscription params)
2020-09-02 14:13:51 -05:00
Ian Norden
dbcb2c0cf7
updat dep and serve cmd
2020-09-02 10:19:25 -05:00
Ian Norden
0d28234804
continue refactor/purge
2020-09-01 16:15:31 -05:00
Ian Norden
d645f52e87
watch => serve
2020-08-31 10:59:41 -05:00
Ian Norden
558599dd32
remove btc stuff
2020-08-31 10:42:01 -05:00
Ian Norden
2817d847ef
log level env var; update geth dep
2020-08-17 16:51:53 -05:00
Ian Norden
a532e17e21
remove option for publishing through ipfs node interface
2020-08-12 09:26:18 -05:00
Ian Norden
7b0b613b92
misc adjustments
2020-08-07 23:17:16 -05:00
Ian Norden
b9fbd2da53
update docs
2020-08-05 00:23:06 -05:00
Ian Norden
0ab55ef9d8
distinguish between differential state/storage nodes and eventual ones
2020-07-01 13:44:04 -05:00
Ian Norden
e2bcc06f8a
major refactor pt 3
2020-06-29 19:16:52 -05:00
Ian Norden
449d23757e
pkg rename
2020-06-29 16:56:25 -05:00
Ian Norden
3dc1bf6955
update ipfs stack, specifically dshelp.CidToDsKey => dshelp.MultihashToDsKey
2020-06-22 13:15:29 -05:00
Ian Norden
fe083c12f9
trimming down to ipfs watchers
2020-05-29 22:02:47 -05:00
Ian Norden
421987ff72
update version in go.mod
2020-05-22 19:22:52 -05:00
Ian Norden
0101c4791a
pair with new statediffing geth version; travis tests will fail til release is up
2020-05-21 15:34:43 -05:00