Skip to content

Instantly share code, notes, and snippets.

@strophy
strophy / genesis.json
Last active August 11, 2023 05:19
dash-testnet-22 genesis doc
{
"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",
@strophy
strophy / envoy.yaml
Created August 7, 2023 05:30
dash-testnet-22 envoy configuration
!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
@strophy
strophy / genesis.json
Last active September 9, 2022 04:02
dash platform testnet tenderdash genesis file
{
"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",
@strophy
strophy / dash_budget_payout_dates.sh
Last active September 5, 2022 15:15 — forked from moocowmoo/dash_budget_payout_dates.sh
estimate future dash budget payout dates
#!/bin/bash
D0=$(TZ=UTC date --date="$(date --date="2015-12-07T08:27:12+0000")");
for block in `seq 398784 16616 $((382168 + (16616*48)))`;
do DD=$(TZ=UTC date --date="$(date --date="$D0") +727 hours +5 minutes +2 seconds");
D0=$DD;
echo "$block - $DD";
done
@strophy
strophy / grpc.yaml
Created May 23, 2022 14:20
Dash Platform Monorepo Envoy gRPC configuration
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
@strophy
strophy / genesis.json
Last active November 16, 2021 09:58
dash platform tenderdash genesis file
{
"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",
@strophy
strophy / keybase.md
Created October 26, 2017 09:22
Keybase

Keybase proof

I hereby claim:

  • I am strophy on github.
  • I am strophy (https://keybase.io/strophy) on keybase.
  • I have a public key ASCIS01uGk9OhsrY5T0vOBZoI6pnXNONoy50sci49scGigo

To claim this, I am signing this object:

@strophy
strophy / default.conf
Last active February 15, 2021 23:00
dash platform nginx default config
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;
@strophy
strophy / grpc.conf
Last active February 15, 2021 20:51
dash platform nginx grpc config
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;
}
@strophy
strophy / grpc.yaml
Last active February 3, 2021 04:08
dash platform envoy configuration file
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 8080
filter_chains:
- filters: