If an electrum server is on a fork, kdf doesn't notice or exclude it
Describe the bug
We had 3 or 4 electrum servers for PEP coin. One of them went on a fork and was stuck on a old block. This was causing users to see inconsistent balances based on which server they connected to I suppose. Is there a way for kdf to determine the "best" servers and only connect to them? or should this just be done on coins repo via CI/automated checks on a cron
The change to coins repo that fixed the particular issue: https://github.com/KomodoPlatform/coins/pull/1464
That should be on the coins repo level maintenance IMO.
this problem was also mentioned here https://github.com/KomodoPlatform/komodo-defi-framework/issues/2110
kdf could check the height of all electrums when coin is enabled and don't use electrums that are more then x blocks from heighest height
blockchain.headers.subscribe returns the height anyway