Skip to content

v3.0.3 - appdata fix

Compare
Choose a tag to compare
@chappjc chappjc released this 10 Dec 23:30
· 1058 commits to master since this release

This is a patch release with one fix since v3.0.2:

When appdata is set, dcrdata now adjusts the config/log/data paths.

With appdata set to a non-default value via either a command line switch or the
environment variable, this updates the default config file location to avoid an
error. A missing config file in the default appdata directory should not have been
an error.

This change also updates the default config file location when a custom appdata
is set so there is no error if the config file is missing. It is only an error if
the config file location is explicitly set and does not exist.

A small optimization is also made such that the API status is not updated
with an invalid height when DB is empty. When first starting with an empty
sqlite DB, do not send a bogus height (4294967295 = uint32(-1)) on the API
status update channel.

The block height is added to the error message if no block is returned by
appContext.BlockData.GetBestBlockSummary when performing this lookup in
response to an API status update signal received by appContext.StatusNtfnHandler.

v3.0.2...v3.0.3