move getourchainid into auxpow

a