|
3011d52fae
|
fix: switch back to ioutil + unmarshal JSON
- possible fix for #33
|
2023-03-14 07:19:07 +00:00 |
|
|
94f1f3bc2c
|
fix: add checksum address to event, use stdlib json, load addresses from ko
|
2023-03-11 09:29:51 +00:00 |
|
|
9d1b77e907
|
refactor: filters, pipeline, minor fixes, remove RPC support (#27)
* devnet: snapshot
* refactor: pass struct through pipeline fllters
* refactor: replace timer with ticker
* refactor: filters, jetstream emitter
* add register filter
* update gas filter
* refactor: remove RPC fetcher support
|
2023-02-24 13:28:30 +03:00 |
|
|
20fc30c34a
|
feat: RPC block fetcher (#15)
* feat: init base logic for rpc fetcher
* feat: rpc block fetcher, move filters to internal
* move filters to internal folder
* rpc block fetcher
* add benchmarks:
goos: linux
goarch: amd64
pkg: github.com/grassrootseconomics/cic-chain-events/pkg/fetch
cpu: AMD EPYC Processor
Benchmark_RPC
Benchmark_RPC/RPC_Block_Fetcher_Benchmark
Benchmark_RPC/RPC_Block_Fetcher_Benchmark-4 25 46000646 ns/op 221697 B/op 844 allocs/op
Benchmark_GraphQL
Benchmark_GraphQL/GraphQL_Block_Fetcher_Benchmark
Benchmark_GraphQL/GraphQL_Block_Fetcher_Benchmark-4 56 21219962 ns/op 56686 B/op 94 allocs/op
PASS
ok github.com/grassrootseconomics/cic-chain-events/pkg/fetch 2.920s
* inline-docs: Describe RPC fetcher
|
2023-01-19 11:42:59 +03:00 |
|
|
ef9f2b2b7f
|
hotfix: drain janitor queue, worker pool, js
* fully drain worker queue before reading gap from db
* dedicated go routine for head syncer
* emit blok, tx index and hash to jetstream
|
2023-01-18 22:40:14 +03:00 |
|
|
f2d9154da0
|
refactor: decode JSON io.Reader stream
|
2023-01-16 08:31:46 +00:00 |
|
|
02e31146cc
|
refactor: move filter and fetch to pkg
|
2023-01-14 10:18:50 +00:00 |
|