diff --git a/ENV-NOTES b/ENV-NOTES index fb62edd..88ec4c8 100644 --- a/ENV-NOTES +++ b/ENV-NOTES @@ -4,11 +4,13 @@ DB_DIRECTORY - path to the database directory (if relative, to `run` script) USERNAME - the username the server will run as if using `run` script ELECTRUMX - path to the electrumx_server.py script (if relative, to `run` script) -DAEMON_URL - the URL used to connect to the daemon. Should be of the form +DAEMON_URL - A comma-separated list of daemon URLS. If more than one is + provided ElectrumX will failover to the next when one stops + working. The generic form is: http://username:password@hostname:port/ - Alternatively you can specify DAEMON_USERNAME, DAEMON_PASSWORD, - DAEMON_HOST and DAEMON_PORT. DAEMON_PORT is optional and - will default appropriately for COIN. + The leading 'http://' is optional, as is the trailing + slash. The ':port' part is also optional and will default + to the standard RPC port for COIN if omitted. The other environment variables are all optional and will adopt sensible defaults if not specified. diff --git a/HOWTO.rst b/HOWTO.rst index 3f3fa5a..79fc35b 100644 --- a/HOWTO.rst +++ b/HOWTO.rst @@ -28,9 +28,9 @@ for someone used to either. When building the database form the genesis block, ElectrumX has to flush large quantities of data to disk and to leveldb. You will have a much nicer experience if the database directory is on an SSD than on -an HDD. Currently to around height 434,000 of the Bitcoin blockchain +an HDD. Currently to around height 439,800 of the Bitcoin blockchain the final size of the leveldb database, and other ElectrumX file -metadata comes to just over 17GB. Leveldb needs a bit more for brief +metadata comes to just over 18GB. Leveldb needs a bit more for brief periods, and the block chain is only getting longer, so I would recommend having at least 30-40GB free space. diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4b505c3..5de94dc 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,14 @@ +version 0.7 +----------- + +- daemon failover is now supported; see docs/ENV-NOTES. As a result, + DAEMON_URL must now be supplied and DAEMON_USERNAME, DAEMON_PASSWORD, + DAEMON_HOST and DAEMON_PORT are no longer used. +- fixed a bug introduced in 0.6 series where some client header requests + would fail +- fully asynchronous mempool handling; blocks can be processed and clients + notified whilst the mempool is still being processed + version 0.6.3 -------------