forked from GaloyMoney/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.yaml
151 lines (128 loc) · 3.11 KB
/
default.yaml
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
name: "Galoy Banking"
# username of the account that will be used to fund rewards
funder: "FunderWallet"
buildVersion:
android:
minBuildNumber: 182
lastBuildNumber: 294
ios:
minBuildNumber: 182
lastBuildNumber: 269
coldStorage:
minOnChainHotWalletBalance: 1000000 # 0.1
minRebalanceSize: 10000000 # 0.1
maxHotWalletBalance: 200000000 # 2
# pattern used to load cold storage wallet balances
# string.include() is being used as a filter
walletPattern: "specter"
# select which bitcoind wallet is used for automatic rebalancing
onChainWallet: "specter/coldstorage"
# number of blocks in which a rebalance transaction is expected to be confirmed
targetConfirmations: 6
lndScbBackupBucketName: "lnd-static-channel-backups"
test_accounts:
- ref: A
phone: "+16505554321"
code: "321321"
needUsdWallet: true
- ref: B
phone: "+16505554322"
code: "321432"
phoneMetadataCarrierType: "mobile" # TODO: verify mobile is a valid value
needUsdWallet: true
- ref: C
phone: "+16505554323"
code: "321321"
title: business
- ref: D
phone: "+16505554324"
code: "321321"
- ref: E
phone: "+16505554332"
code: "321321"
- ref: F
phone: "+16505554333"
code: "321321"
- ref: "G"
phone: "+16505554335"
code: "321321"
username: "user15"
rateLimits:
requestPhoneCodePerPhone:
points: 4
duration: 3600 # 60 * 60 s
blockDuration: 10800 # 60 * 60 * 3 s
requestPhoneCodePerPhoneMinInterval:
points: 1
duration: 15
blockDuration: 15
requestPhoneCodePerIp:
points: 4
duration: 3600 # 60 * 60 * 3 s
blockDuration: 86400 # 60 * 60 s
failedLoginAttemptPerPhone:
points: 8
duration: 1200 # 60 * 20 s
blockDuration: 3600 # 60 * 60 s
failedLoginAttemptPerIp:
points: 20
duration: 21600 # 60 * 60 * 6 s
blockDuration: 86400 # 60 * 60 * 24 s
invoiceCreateAttempt:
points: 20
duration: 120
blockDuration: 300
invoiceCreateForRecipientAttempt:
points: 20
duration: 120
blockDuration: 300
onChainAddressCreateAttempt:
points: 20
duration: 3600
blockDuration: 14400 # 60 * 60 * 4 s # 4 hours
accountLimits:
withdrawal:
level:
1: 100000 # cents
2: 5000000 # cents
intraLedger:
level:
1: 200000 # cents
2: 5000000 # cents
spamLimits:
memoSharingSatsThreshold: 1000
twoFALimits:
threshold: 10000 # cents
ipRecording:
enabled: true
proxyChecking:
enabled: true
# blacklistedIPTypes: ['VPN', 'Compromised Server']
# blacklistedIPs: ['1.2.3.4', '5.6.7.8']
fees:
withdraw: 2000 # 2000 sats flat per tx
deposit: 0.003 # 0.3 percent
withdrawFeeRange:
min: 0 # sats
max: 50000 # sats
lnds:
- name: LND1
type: ["offchain", "onchain"]
priority: 2 # lower number means higher priority
- name: LND2
type: ["offchain"]
priority: 3
onChainWallet:
dustThreshold: 5000
minConfirmations: 2
scanDepth: 360
scanDepthOutgoing: 2
scanDepthChannelUpdate: 8
# TODO
# carrierRegexFilter: ""
apollo:
playground: true
playgroundUrl: "https://api.staging.galoy.io/graphql"
userActivenessMonthlyVolumeThreshold: 100 # cents
cronConfig:
rebalanceEnabled: true