Skip to content

Commit

Permalink
Change large deposit/redemption threshold for tbtc-v2-monitoring (#…
Browse files Browse the repository at this point in the history
…3801)

New values are
- 100 BTC for mainnet deposits and redemptions
- 10 BTC for testnet deposits and redemptions
  • Loading branch information
tomaszslabon authored Apr 9, 2024
2 parents f752155 + dc06f7c commit ede24a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ configMapGenerator:
- name: tbtc-v2-monitoring-config
literals:
- environment=mainnet
- large-deposit-threshold-sat=1000000000 # 10 BTC
- large-deposit-threshold-sat=10000000000 # 100 BTC
- large-redemption-threshold-sat=10000000000 # 100 BTC

secretGenerator:
- name: tbtc-v2-monitoring-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ configMapGenerator:
- name: tbtc-v2-monitoring-config
literals:
- environment=testnet
- large-deposit-threshold-sat=10000000 # 0.1 BTC for testing purposes
- large-deposit-threshold-sat=1000000000 # 10 BTC
- large-redemption-threshold-sat=1000000000 # 10 BTC

secretGenerator:
- name: tbtc-v2-monitoring-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ spec:
configMapKeyRef:
name: tbtc-v2-monitoring-config
key: large-deposit-threshold-sat
- name: LARGE_REDEMPTION_THRESHOLD_SAT
valueFrom:
configMapKeyRef:
name: tbtc-v2-monitoring-config
key: large-redemption-threshold-sat
- name: DATA_DIR_PATH
value: /mnt/tbtc-v2-monitoring/data
- name: SENTRY_DSN
Expand Down

0 comments on commit ede24a3

Please sign in to comment.