There is currently a list of hard-coded peers for each network (bitcoin, bitcoin testnet, litecoin, etc). This should be used as a starting point to query and store a larger list of known peers (from the Electrum server network).
Done - now fetching peers from connected electrum server then caching the result. The next time the app is loaded the cached list of known (good) peers is used.
There is currently a list of hard-coded peers for each network (bitcoin, bitcoin testnet, litecoin, etc). This should be used as a starting point to query and store a larger list of known peers (from the Electrum server network).
See: https://github.com/samotari/pay-no-way/blob/a354b999791b1e87c76b6388fefc6a251c374e08/src/js/config.js#L38-L43