forked from coinbase/chainstorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.yml
194 lines (194 loc) · 5.34 KB
/
base.yml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# This file is generated by "make config". DO NOT EDIT.
api:
auth: ""
max_num_block_files: 1000
max_num_blocks: 50
num_workers: 10
rate_limit:
global_rps: 3000
per_client_rps: 2000
streaming_batch_size: 50
streaming_interval: 1s
streaming_max_no_event_time: 15m
aws:
aws_account: development
bucket: ""
dlq:
delay_secs: 900
name: example_chainstorage_blocks_polygon_mainnet_dlq
visibility_timeout_secs: 600
dynamodb:
block_table: example_chainstorage_blocks_polygon_mainnet
event_table: example_chainstorage_block_events_polygon_mainnet
event_table_height_index: example_chainstorage_block_events_by_height_polygon_mainnet
transaction_table: example_chainstorage_transactions_table_polygon_mainnet
versioned_event_table: example_chainstorage_versioned_block_events_polygon_mainnet
versioned_event_table_block_index: example_chainstorage_versioned_block_events_by_block_id_polygon_mainnet
presigned_url_expiration: 30m
region: us-east-1
storage:
data_compression: GZIP
cadence:
address: ""
domain: chainstorage-polygon-mainnet
retention_period: 7
tls:
enabled: true
validate_hostname: true
chain:
block_start_height: 0
block_tag:
latest: 2
stable: 2
block_time: 2s
blockchain: BLOCKCHAIN_POLYGON
client:
consensus:
endpoint_group: ""
http_timeout: 0s
master:
endpoint_group: ""
retry:
max_attempts: 5
slave:
endpoint_group: ""
validator:
endpoint_group: ""
event_tag:
latest: 2
stable: 2
feature:
block_validation_enabled: true
block_validation_muted: true
default_stable_event: true
rosetta_parser: true
irreversible_distance: 400
network: NETWORK_POLYGON_MAINNET
config_name: polygon_mainnet
cron:
block_range_size: 4
functional_test: ""
gcp:
presigned_url_expiration: 30m
project: development
sdk:
auth_header: ""
auth_token: ""
chainstorage_address: https://nft-api.coinbase.com/api/exp/chainstorage/polygon/mainnet/v1
num_workers: 10
restful: true
server:
bind_address: localhost:9090
sla:
block_height_delta: 100
block_time_delta: 4m
event_height_delta: 100
event_time_delta: 4m
expected_workflows:
- monitor
- poller
- streamer
- cross_validator
out_of_sync_node_distance: 400
tier: 1
time_since_last_block: 5m
time_since_last_event: 5m
workflows:
backfiller:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
batch_size: 2500
checkpoint_size: 5000
failover_enabled: true
max_reprocessed_per_batch: 100
mini_batch_size: 1
num_concurrent_extractors: 120
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.backfiller
benchmarker:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
child_workflow_execution_start_to_close_timeout: 2h
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.benchmarker
cross_validator:
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
backoff_interval: 0s
batch_size: 100
checkpoint_size: 500
parallelism: 4
task_list: default
validation_percentage: 100
validation_start_height: 44000000
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.cross_validator
event_backfiller:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
batch_size: 250
checkpoint_size: 5000
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.event_backfiller
monitor:
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
backoff_interval: 2s
batch_size: 50
block_gap_limit: 3000
checkpoint_size: 500
event_gap_limit: 300
failover_enabled: true
parallelism: 4
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.monitor
poller:
activity_heartbeat_timeout: 2m
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 2m
activity_start_to_close_timeout: 10m
backoff_interval: 0s
checkpoint_size: 250
consensus_failover_enabled: true
consensus_validation: true
consensus_validation_muted: true
failover_enabled: true
fast_sync: false
liveness_check_enabled: true
liveness_check_interval: 1m
liveness_check_violation_limit: 10
max_blocks_to_sync_per_cycle: 300
parallelism: 24
session_creation_timeout: 2m
session_enabled: true
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.poller
streamer:
activity_retry_maximum_attempts: 5
activity_schedule_to_start_timeout: 2m
activity_start_to_close_timeout: 2m
backoff_interval: 0s
batch_size: 500
checkpoint_size: 500
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.streamer
workers:
- task_list: default