-
Notifications
You must be signed in to change notification settings - Fork 13
/
reference.conf
79 lines (70 loc) · 2.97 KB
/
reference.conf
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
play.http.secret.key = "QCY?tAnfk?aZ?iwrNwnxIlR6CTf:G3gf:90Latabg@5241AB`R5W:1uDFN];Ik@n"
http.port = 9000
play.server.http.port = 9000
play: {
http {
filters="filters.CorsFilters",
fileMimeTypes = ${play.http.fileMimeTypes} """
wasm=application/wasm
"""
}
filters {
hosts {
# Allow requests to example.com, its subdomains, and localhost:9000.
allowed = ["localhost", "127.0.0.1"]
}
cors {
pathPrefixes = ["/"]
allowedOrigins = null,
allowedHttpMethods = ["GET", "POST"]
allowedHttpHeaders = null
}
}
}
networkType = "mainnet"
explorerBackend = "https://api.ergoplatform.com"
explorerFrontend = "https://explorer.ergoplatform.com"
nodes = ["213.239.193.208:9053", "159.65.11.55:9053", "165.227.26.175:9053", "159.89.116.15:9053"]
// database info, will be saved in home directory. this is where all secrets are saved. make sure its safe.
database = {
// whether to prune done mixes
// this is mostly for performance reasons, we recommend you to enable the pruning
prune = false
// number of confirmations to wait for the withdrawn transaction, before pruning a mix
// so for example, if set to 720, mixes that have been withdrawn and confirmed for 720 blocks (around 1 day) will be prunned
pruneAfter = 720
user = "changeme"
pass = "changeme"
}
jobInterval = 180 // interval between mixing boxes, no need to be less than 2 min! around 4 mins seems to be smoothest.
statisticJobsInterval = 3600 // period between updating statistics. Doesn't need to be small!
numConfirmation = 3 // increasing this will cause slower mixes but more confidence about avoiding rare cases (forks). better to avoid setting it less than 2!
maxOutputs = 10 // maximum number of outputs in one txs.
maxInputs = 6 // maximum number of inputs in one txs.
// default fees
fees = {
// fee used for each kind of transaction, these are different because tx size of each kind is different!
// to preserve fee/byte ratio the same for all txs
// don't change this unless there is an announcement by mixer owners
distributeTx = 1500000 // creating mix boxes
startTx = 2500000 // buying token and start mixing
halfTx = 1252000
fullTx = 1628000
halfTokenTx = 1287000
fullTokenTx = 1666000
ageusd = 5000000
}
proxy = { // all trafics will go through this proxy if set (except address derivation from node)
url = "" // 127.0.0.1
port = 0 // 9050
protocol = "SOCKS" // HTTP or SOCKS
}
mixOnlyAsBob = false // if true, your mix boxes will never be converted to half-box. Do not change this if you don't know what you are doing
stopMixingWhenReachedThreshold = true // if true, will mark the mix as complete when it reaches the predefined mix rounds.
db.default.driver=org.h2.Driver
db.default.url="jdbc:h2:~/ergoMixer/database"
db.default.user=${?database.user}
db.default.password=${?database.pass}
play.evolutions.autoApply = true
play.evolutions.db.default.autoApply=true
play.evolutions.db.default.autoApplyDowns=true