when i enable XEC with these electrums
curl --url "http://127.0.0.1:7783" --data "{\"method\":\"electrum\",\"coin\":\"XEC\",\"servers\":[{\"url\":\"electrum.bitcoinabc.org:50002\",\"protocol\":\"SSL\",\"disable_cert_verification\":true},{\"url\":\"fulcrum.pepipierre.fr:50002\",\"protocol\":\"SSL\",\"disable_cert_verification\":true}],\"userpass\":\"$userpass\",\"mm2\":1}"
i see this error in log
coins::utxo::rpc_clients:2588] ERROR data did not match any variant of untagged enum ElectrumRpcResponseEnum
and it takes much longer for the enable call then on other coins
later, XEC works fine, i see balance and swaps work
the servers are from https://1209k.com/bitcoin-eye/ele.php?chain=xec, we use the same in the GUIs
they don't use Electrumx software, but Fulcrum
i checked on Linux CLI by calling blockchain.headers.subscribe like that:
(echo '{ "id": 1, "method": "blockchain.headers.subscribe" }'; sleep 2) | ncat --ssl fulcrum.pepipierre.fr 50002
i get the correct response, like on other electrumx electrums, eg {"id":1,"jsonrpc":"2.0","result":{"height":847844,"hex":"0040c8335b43930656bf3e3817af66bcd1eedb8974d1edeac91b1f090000000000000000d99527b1a16d73ac0e11705f3fca325f49090acba6c7390c6828b31c25e683dd07e1616669cf271834fc3d62"}} but the call does not return to shell, i need to Ctrl+C... this is different then on other electrums and could explain why it takes much longer to enable XEC
when i enable XEC with these electrums
curl --url "http://127.0.0.1:7783" --data "{\"method\":\"electrum\",\"coin\":\"XEC\",\"servers\":[{\"url\":\"electrum.bitcoinabc.org:50002\",\"protocol\":\"SSL\",\"disable_cert_verification\":true},{\"url\":\"fulcrum.pepipierre.fr:50002\",\"protocol\":\"SSL\",\"disable_cert_verification\":true}],\"userpass\":\"$userpass\",\"mm2\":1}"
i see this error in logcoins::utxo::rpc_clients:2588] ERROR data did not match any variant of untagged enum ElectrumRpcResponseEnum
and it takes much longer for theenable
call then on other coins later, XEC works fine, i see balance and swaps work the servers are from https://1209k.com/bitcoin-eye/ele.php?chain=xec, we use the same in the GUIs they don't use Electrumx software, but Fulcrum i checked on Linux CLI by callingblockchain.headers.subscribe
like that:(echo '{ "id": 1, "method": "blockchain.headers.subscribe" }'; sleep 2) | ncat --ssl fulcrum.pepipierre.fr 50002
i get the correct response, like on other electrumx electrums, eg{"id":1,"jsonrpc":"2.0","result":{"height":847844,"hex":"0040c8335b43930656bf3e3817af66bcd1eedb8974d1edeac91b1f090000000000000000d99527b1a16d73ac0e11705f3fca325f49090acba6c7390c6828b31c25e683dd07e1616669cf271834fc3d62"}}
but the call does not return to shell, i need to Ctrl+C... this is different then on other electrums and could explain why it takes much longer to enable XEC