* small IRC fix and doc
This commit is contained in:
parent
493c74dde0
commit
b513536fb1
|
@ -0,0 +1,18 @@
|
|||
IRC is used by Electrum server to find 'peers' - other Electrum servers. The current list can be seen by running:
|
||||
|
||||
./server.py peers
|
||||
|
||||
The following config file options are used by the IRC part of Electrum server:
|
||||
|
||||
[server]
|
||||
irc = yes
|
||||
host = fqdn.host.name.tld
|
||||
ircname = some short description
|
||||
|
||||
'irc' is used to determine whether the IRC thread will be started or the Electrum server will run in private mode. In private mode, ./server.py peers will always return an empty list.
|
||||
|
||||
'host' is a fqdn of your Electrum server. It is used both when binding the listener for incoming clien conections, and also as part of the realname field in IRC (see below).
|
||||
|
||||
'ircname' is a short text that will be appended to 'host' when composing the IRC realname field:
|
||||
|
||||
realname = 'host' + ' ' + 'ircname', for example 'fqdn.host.name.tld some short description'
|
|
@ -40,6 +40,7 @@ config.set('server', 'host', 'ecdsa.org')
|
|||
config.set('server', 'port', 50000)
|
||||
config.set('server', 'password', '')
|
||||
config.set('server', 'irc', 'yes')
|
||||
config.set('server', 'ircname', 'Electrum server')
|
||||
config.add_section('database')
|
||||
config.set('database', 'type', 'psycopg2')
|
||||
config.set('database', 'database', 'abe')
|
||||
|
|
Loading…
Reference in New Issue