Please use the upstream repo for ElectrumX with Ravencoin You need to use the code at https://github.com/kyuupichan/electrumx