merged with jl777 btcd