voidsetRefPrice(u256_weiPerRef){if((bigint)m_refsPerBlock*_weiPerRef>std::numeric_limits<u256>::max())BOOST_THROW_EXCEPTION(Overflow()<<errinfo_comment("ether price * block fees is larger than 2**256-1, choose a smaller number."));elsem_weiPerRef=_weiPerRef;}
voidsetRefBlockFees(u256_refsPerBlock){if((bigint)m_weiPerRef*_refsPerBlock>std::numeric_limits<u256>::max())BOOST_THROW_EXCEPTION(Overflow()<<errinfo_comment("ether price * block fees is larger than 2**256-1, choose a smaller number."));elsem_refsPerBlock=_refsPerBlock;}