A blockchain-enabled deep residual architecture for accountable, in-situ quality control in industry 4.0 with minimal latency