-
Notifications
You must be signed in to change notification settings - Fork 1
/
tzproxy.yaml
81 lines (81 loc) · 2.11 KB
/
tzproxy.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
76
77
78
79
80
81
allow_routes:
enabled: true
values:
- GET/chains/.*/blocks
- GET/chains/.*/chain_id
- GET/chains.*/checkpoint
- GET/chains/.*/invalid_blocks
- GET/chains.*/invalid_blocks.*
- GET/chains/.*/is_bootstrapped
- GET/chains.*/mempool/filter
- GET/chains/.*/mempool/monitor_operations
- GET/chains/.*/mempool/pending_operations
- GET/config/network/user_activated_protocol_overrides
- GET/config/network/user_activated_upgrades
- GET/config/network/dal
- GET/network/stat
- GET/network/version
- GET/network/versions
- GET/protocols
- GET/protocols.*
- GET/protocols.*/environment
- GET/monitor.*
- GET/version
- POST/chains/.*/blocks/.*/helpers
- POST/chains/.*/blocks/.*/script
- POST/chains/.*/blocks/.*/context/contracts.*/big_map_get
- POST/chains/.*/blocks/.*/context/contracts.*/ticket_balance
- POST/injection/operation
cache:
disabled_routes:
- GET/monitor/.*
- GET/chains/.*/mempool
- GET/chains/.*/blocks.*head
enabled: true
size_mb: 100
ttl: 5
cors:
enabled: true
deny_ips:
enabled: false
values: []
deny_routes:
enabled: true
values:
- GET/workers.*
- GET/worker.*
- GET/stats.*
- GET/chains/.*/blocks/.*/helpers/baking_rights
- GET/chains/.*/blocks/.*/helpers/endorsing_rights
- GET/helpers/baking_rights
- GET/helpers/endorsing_rights
- GET/chains/.*/blocks/.*/context/contracts(/?)$
- GET/chains/.*/blocks/.*/context/raw/bytes
- POST/injection/block
- POST/injection/protocol
dev_mode: false
gc:
optimize_memory_store: true
percent: 100
gzip:
enabled: true
host: 0.0.0.0:8080
load_balancer:
ttl: 600
logger:
bunch_size: 1000
pool_interval_seconds: 1
metrics:
enabled: true
host: 0.0.0.0:9000
pprof: false
rate_limit:
enabled: false
max: 300
minutes: 1
redis:
enabled: false
host: ""
tezos_host:
- 127.0.0.1:8732
tezos_host_retry: ""