classInvalidTransactionFormat:publicException{public:InvalidTransactionFormat(int_f,bytesConstRef_d):m_f(_f),m_d(_d.toBytes()){}intm_f;bytesm_d;virtualstd::stringdescription()const{return"Invalid transaction format: Bad field "+toString(m_f)+" ("+toHex(m_d)+")";}};
classInvalidBlockFormat:publicException{public:InvalidBlockFormat(int_f,bytesConstRef_d):m_f(_f),m_d(_d.toBytes()){}intm_f;bytesm_d;virtualstd::stringdescription()const{return"Invalid block format: Bad field "+toString(m_f)+" ("+toHex(m_d)+")";}};
classInvalidBlockHeaderFormat:publicException{public:InvalidBlockHeaderFormat(int_f,bytesConstRef_d):m_f(_f),m_d(_d.toBytes()){}intm_f;bytesm_d;virtualstd::stringdescription()const{return"Invalid block header format: Bad field "+toString(m_f)+" ("+toHex(m_d)+")";}};