This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!ignore filters: &filters | |
- name: envoy.http_connection_manager | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager | |
stat_prefix: ingress_http | |
codec_type: auto | |
access_log: | |
- name: envoy.access_loggers.file | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"genesis_time": "2023-04-26T10:43:20.921Z", | |
"chain_id": "dash-testnet-22", | |
"initial_core_chain_locked_height": 854281, | |
"consensus_params": { | |
"timeout": { | |
"propose": "50000000000", | |
"propose_delta": "10000000000", | |
"vote": "500000000", | |
"vote_delta": "100000000", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"genesis_time": "2021-07-22T12:57:05.429Z", | |
"chain_id": "dash-testnet-12", | |
"initial_height": "0", | |
"initial_core_chain_locked_height": 782293, | |
"initial_proposal_core_chain_lock": null, | |
"consensus_params": { | |
"block": { | |
"max_bytes": "22020096", | |
"max_gas": "-1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static_resources: | |
listeners: | |
- name: web_grpc_gateweb | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 10000 } | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Standard HTTP-to-gRPC status code mappings | |
# Ref: https://github.com/grpc/grpc/blob/master/doc/http-grpc-status-mapping.md | |
# | |
error_page 400 = @grpc_internal; | |
error_page 401 = @grpc_unauthenticated; | |
error_page 403 = @grpc_permission_denied; | |
error_page 404 = @grpc_unimplemented; | |
error_page 429 = @grpc_unavailable; | |
error_page 502 = @grpc_unavailable; | |
error_page 503 = @grpc_unavailable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 3010 http2; | |
limit_req zone=protect_api burst=300 nodelay; | |
limit_req_status 429; | |
location = /org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs { | |
grpc_pass grpc://127.0.0.1:3006; | |
grpc_buffer_size 128k; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
limit_req_zone $binary_remote_addr zone=protect_api:15m rate=120r/m; | |
server { | |
listen 3000 default_server; | |
limit_req zone=protect_api burst=300 nodelay; | |
limit_req_status 429; | |
# Docker DNS resolver | |
# resolver 127.0.0.11 ipv6=off; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 8080 | |
filter_chains: | |
- filters: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"genesis_time": "2021-07-22T12:57:05.429Z", | |
"chain_id": "dash-testnet-6", | |
"initial_height": "0", | |
"initial_core_chain_locked_height": 542300, | |
"initial_proposal_core_chain_lock": null, | |
"consensus_params": { | |
"block": { | |
"max_bytes": "22020096", | |
"max_gas": "-1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
full_url="http://your_graphana_host_here" | |
name="dashboards" | |
create_slug () { | |
echo "$1" | iconv -t ascii//TRANSLIT | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z | |
} | |
process_db_json() { |
NewerOlder