-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_template.yaml
76 lines (75 loc) · 2.01 KB
/
config_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
# Global options apply per default to every protocol / network / endpoint
global:
# head_length is the number of blocks to be fetched from the head of the chain
networks_options:
head_length: 5
# Gobal configuration for all endpoints, if not defined in endpoint, global will be used
options:
# Retry define how many time worker will try to call instance if he fail
retry: 3
# Delay between every retry
delay: 1
# Rate between every scrapping task
rate: 4
server:
# On wich port json rpc will be served
port: 8080
metrics:
# With listenning port metrics will be served
port: 8081
database:
# How many block will be kept in database
keep_history: 100
protocols:
bitcoin:
mainnet:
network_options:
head_length: 10
rpc:
- url: https://sample.bitcoin.mainnet.rpc
options:
retry: 10
delay: 1
rate: 1
- url: https://sample2.bitcoin.mainnet.rpc
options:
retry: 10
delay: 1
rate: 10
blockstream:
url: https://sample.bitcoin.mainnet.blockstream.api
blockcypher:
url: https://api.blockcypher.com
options:
rate: 360
# options:
# retry: 10
# delay: 1
# rate: 1000
# ethereum:
# mainnet:
# rpc:
# - url: https://sample.eth.mainnet.rpc
# infura:
# url: https://sample.eth.mainnet.infura
# sepolia:
# rpc:
# - url: https://sample.eth.sepolia.rpc
# infura:
# url: https://sample.eth.sepolia.infura
# tezos:
# mainnet:
# rpc:
# - url: https://sample.tezos.mainnet.rpc
# tzkt:
# url: https://sample.tezos.mainnet.tzkt.api
# tzstats:
# url: https://sample.tezos.mainnet.tzstats.api
# ghostnet:
# rpc:
# - url: https://sample.tezos.ghostnet.rpc.api
# tzkt:
# url: https://sample.tezos.ghostnet.tzkt.api
# tzstats:
# url: https://sample.tezos.ghostnet.tzstats.api