Improving Transactional Data System Based on an Edge Computing–Blockchain–Machine Learning Integrated Framework