-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathchainqueryconfig.toml
154 lines (124 loc) · 5.41 KB
/
chainqueryconfig.toml
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
152
153
154
#Debug mode outputs specific information to the console
#DEFAULT: false
#debugmode=
#DebugQueryMode outputs SQL Boiler queries to the console.
#DEFAULT: false
#debugquerymode=
#LBRYcrd URL is required for chainquery to query the blockchain
#DEFAULT: "rpc://lbry:lbry@localhost:9245"
#lbrycrdurl=
#MySQL DSN is required for chainquery to store information.
#DEFAULT: "chainquery:chainquery@tcp(localhost:3306)/chainquery"
#SUGGESTED: "chainquery:chainquery@unix(/var/run/mysqld/mysqld.sock)/chainquery"
#mysqldsn=
#API MySQL DSN is required for chainquery to expose a SQL query service
#DEFAULT: "chainquery:chainquery@tcp(localhost:3306)/chainquery"
#SUGGESTED: "chainquery:chainquery@unix(/var/run/mysqld/mysqld.sock)/chainquery"
#apimysqldsn=
#API Host and Port is required for the API Server to bind and listen on.
#DEFAULT: "0.0.0.0:6300"
#apihostport=
#Profile mode enables and disables the reporting of a profile for chainquery
#DEFAULT: false
#profilemode=
#Daemon mode tells chainquery how hard it should work catch up processing the blockchain
#deamonmode=0 #BeastMode it continuously process block after block until caughtup.
#daemonmode=1 #SlowAndSteadyMode it will process block with a frequency of 1 block every 100ms
#daemonmode=2 #DelayMode it will process a block with a configured delay frequency (set via 'processingdelay')
#daemonmode=3 #DaemonMode it will process a block every iteration of the daemon.
#DEFAULT: 0
#deamonmode=
#Default client timeout is for communication with the api of chainquery
#DEFAULT: 20 #Measured in seconds
#defaultclienttimeout=
#Processing delay is used to determine how frequently chainquery should process a block
# It is only used if Daemon mode is set to delay mode
#DEFAULT: 100 #Measured in milliseconds
#processingdelay=
#Daemon delay is the frequency at which chainquery checks for work to do.
#DEFAULT: 1 #Measured in seconds
#daemondelay=
#Profiling options - will output the time take for certain opertions related to the below category
#DEFAULT: false (for all 4 params)
#daemonprofile=
#lbrycrdprofile=
#mysqlprofile=
#codeprofile=
#Slack Hook URL allows slack integration. All logging info level and above is posted to a slack channel.
#DEFAULT: ""
#slackhookurl=
#Slack Channel is the channel that you want the messages to appear. Works together with the hook url.
#DEFAULT: ""
#slackchannel=
#Slack Log Level tells chainquery what level of logging will be sent to the slack channel. It will log all levels below
# it as well. Panic=0,Fatal=1,Error=2,Warning=3,Info=4,Debug=5
#DEFAULT: 0
#slackloglevel=
#The command that should be executed to trigger a self update of the software. For linux, for example, `<yourscript>.sh`
#DEFAULT: ""
#autoupdatecommand=
#Twilio service of chainquery to send specifically important information to key users of the Chainquery install.
#DEFAULT:
##twiliosid=""
##twilioauthtoken=""
##smsrecipients=["",""]
##smsfromphonenumber=""
#twiliosid=
#twilioauthtoken=
#smsrecipients=
#smsfromphonenumber=
#API Keys - Disallowed by default unless keys are entered.
#DEFAULT: []
#apikeys=
#Max Failures - Specifies the number of failures that can happen in processing a transaction. This is for parallel
#transaction processing which puts a transaction to the back of the processing queue if it fails. It can fail say if its
#source output to spend is not already processed.
#DEFAULT: 1000
#maxfailures=
#Block Chain Name - Specifies the chain params for parsing blocks, transactions, claims, and addresses. valid choices are
#lbrycrd_main, lbrycrd_testnet, and lbrycrd_regtest.
#DEFAULT: "lbrycrd_main"
#blockchainname=
#Chain Sync Run Duration - Specifies the duration, in seconds, the chain sync job will run at a time before stopping and storing
#state. It will get triggered periodically.
#DEFAULT: 60
#chainsyncrunduration=
#Chain Sync Delay - Specifies the duration, in milliseconds, between each block it synchronizes. Depending on the
#usage of the database you will want to add some delay between blocks so it does not overload the db server.
#DEFAULT: 100
#chainsyncdelay=
#Max SQL API Timeout - Specifies a timeout, in seconds, on queries placed against the SQL API.
#DEFAULT: 5
#maxsqlapitimeout=
#Max Parallel Tx Processing - Specifies the maximum number of worker go routines created for processing transactions in a block.
#DEFAULT: NumCPU
#maxparalleltxprocessing=
#Max Parallel Vin Processing - Specifies the maximum number of worker go routines created for processing inputs in a transaction.
#DEFAULT: NumCPU
#maxparallelvinprocessing=
#Max Parallel Vout Processing - Specifies the maximum number of worker go routines created for processing outputs in a transaction.
#DEFAULT: NumCPU
#maxparallelvoutprocessing=
#Prometheus User - user for basic authentication on metrics endpoint
#DEFAULT: <none>
#promuser=
#Prometheus Password - password for basic authentication on metrics endpoint
#DEFAULT: <none>
#prompass=
#Sockety Token - token used to be able to send notifications to a sockety instance
#DEFAULT: <none>
#socketytoken=
#Sockety URL - url to connect to a sockety instance
#DEFAULT: <none>
#socketyurl=
#Subscribers - Lists the subscriptions for notifications. Possible types "payment" "new_claim"
#DEFAULT: <none>
#[[subscriber.payment]]
# url= "http://localhost:8080/event/payment"
# auth_token="mytoken"
#[[subscriber.payment]]
# url= "http://localhost:8080/event/payment"
# auth_token="mytoken"
#[[subscriber.newclaim]]
# url= "http://localhost:8080/event/claim"
# auth_token="mytoken"