-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
33 lines (29 loc) · 1.96 KB
/
config
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
# sample brcheck config file
[log]
logstdio = true # log to standard output (default: true)
logfile = "./brcheck.log" # logfile. Leave empty "" to disable (default = "brcheck.log")
lognet = false # log network's activity (default: false)
logstats = true # statistics' log (default: true)
logresult = true # log positive results (default: true)
logcrawler = true # log crawler's activity (default: true)
[conn]
sslonly = true # connect only to SSL nodes (default: false)
# tor = "127.0.0.1:9150" # use tor. Leave empty "" (or comment) to disable
[db]
dbdir = "./database" # db directory
exportdbfile = "./brcheck.db" # export database filename (sqlite3) leave empty to disable export
exportdbtable = "brains" # export db tablename
exportdbinterval = 60 # export every exportinterval seconds (set to 0 to disable cron). db will be always exported when program stops
[core]
autobrainspeed = true # true = auto-adjust brainwallet's generation speed using electrum's test/second as parameter (that's the default)
# false = generate brainwallet at full speed (unnecessary high cpu usage)
[crawler]
starturl = "https://bitcoin.org" # startup words extraction page (leave empty "" to disable crawling)
followlinks = -1 # follow found links in page: 0 = no ; -1 = infinte depth; N = depth N (default: 0)
samedomain = true # follow same domain only urls (don't visit sites outside starturl) (default: true)
maxconcurrency = 10 # max concurrent number of url fetched. WARNING: high memory usage (default: 10)
iterator = 10 # number of words (default: 10)
autocrawlerspeed = true # true = auto-adjust generation speed using electrum's test/second as parameter (that's the default)
# false = generate at full speed (unnecessary high cpu usage)
# NOTE: with this enabled, "Time to complete" estimation doesn't work correctly, since we never have
# total amount of tests to be done