/// Return true if it is a normal block and empty
Return true if it is a normal block and empty
Return true if it is a normal block and empty
pub fn is_empty(&self) -> bool {
        match self {
            BlockPayload::Data(data) => data.batch.is_empty() && data.dealings.messages.is_empty(),
            _ => false,
        }
    }
pub fn is_empty ( & self ) -> bool { match self { BlockPayload :: Data ( data ) => data . batch . is_empty ( ) && data . dealings . messages . is_empty ( ) , _ => false , } }
Return true if it is a normal block and empty
Return true if it is a normal block and empty
&self