forked from coinbase/chainstorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.yml
182 lines (182 loc) · 4.88 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
# 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: 10m
aws:
aws_account: development
bucket: ""
dlq:
delay_secs: 900
name: example_chainstorage_blocks_base_goerli_dlq
visibility_timeout_secs: 600
dynamodb:
block_table: example_chainstorage_blocks_base_goerli
transaction_table: example_chainstorage_transactions_table_base_goerli
versioned_event_table: example_chainstorage_versioned_block_events_base_goerli
versioned_event_table_block_index: example_chainstorage_versioned_block_events_by_block_id_base_goerli
presigned_url_expiration: 30m
region: us-east-1
storage:
data_compression: GZIP
cadence:
address: ""
domain: chainstorage-base-goerli
retention_period: 7
tls:
enabled: true
validate_hostname: true
chain:
block_start_height: 0
block_tag:
latest: 1
stable: 1
block_time: 2s
blockchain: BLOCKCHAIN_BASE
client:
consensus:
endpoint_group: ""
http_timeout: 0s
master:
endpoint_group: ""
slave:
endpoint_group: ""
validator:
endpoint_group: ""
event_tag:
latest: 1
stable: 1
feature:
block_validation_enabled: true
block_validation_muted: true
default_stable_event: true
rosetta_parser: true
irreversible_distance: 200
network: NETWORK_BASE_GOERLI
config_name: base_goerli
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/base/goerli/v1
num_workers: 10
restful: true
server:
bind_address: localhost:9090
sla:
block_height_delta: 60
block_time_delta: 2m
event_height_delta: 60
event_time_delta: 2m
expected_workflows:
- monitor
- poller
- streamer
out_of_sync_node_distance: 60
tier: 2
time_since_last_block: 2m30s
time_since_last_event: 2m30s
workflows:
backfiller:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 20m
batch_size: 2500
checkpoint_size: 5000
max_reprocessed_per_batch: 30
mini_batch_size: 1
num_concurrent_extractors: 20
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: 60m
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: 10s
batch_size: 100
checkpoint_size: 1000
parallelism: 4
task_list: default
validation_percentage: 10
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: 10s
batch_size: 50
block_gap_limit: 3000
checkpoint_size: 500
event_gap_limit: 300
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: 2s
checkpoint_size: 1000
fast_sync: false
liveness_check_enabled: true
liveness_check_interval: 1m
liveness_check_violation_limit: 10
max_blocks_to_sync_per_cycle: 100
parallelism: 4
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: 2s
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