I didn't assign a BUIP number for this, as this is low hanging fruit.
Move hard-coded DNS server addresses to a config file because servers are not guaranteed to remain online and if they disappear, users have no way to change servers unless they modify the code. For example, this server went offline:
https://github.com/bitcoin/bitcoin/commit/e18378e53fb71c39236db35ab2d560b43602b1be
Server addresses could be stored as a list of key-value pairs in bitcoin.conf or a new configuration file e.g. bu.conf or bitcoin-dnsseeds.conf. Default values would be set in the example bitcoin.conf to make it easier for new users to set up. However, desktop (QT) users would expaect to be able to launch the application without having to first edit a config file, so a default config file may need to be bundled and copied to the correct config file location on first launch of the QT application.
References:
Move hard-coded DNS server addresses to a config file because servers are not guaranteed to remain online and if they disappear, users have no way to change servers unless they modify the code. For example, this server went offline:
https://github.com/bitcoin/bitcoin/commit/e18378e53fb71c39236db35ab2d560b43602b1be
Server addresses could be stored as a list of key-value pairs in bitcoin.conf or a new configuration file e.g. bu.conf or bitcoin-dnsseeds.conf. Default values would be set in the example bitcoin.conf to make it easier for new users to set up. However, desktop (QT) users would expaect to be able to launch the application without having to first edit a config file, so a default config file may need to be bundled and copied to the correct config file location on first launch of the QT application.
References:
Last edited: