TY - GEN
T1 - Real-Time Traffic Detection for Lightweight Blockchain
AU - Tang, Shaolong
AU - Jiang, Peng
AU - Zhu, Liehuang
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Blockchain networks provide trust through decentralization and anonymity but also introduce significant challenges in real-time monitoring and security regulation, with network traffic anomalies being a prevalent threat. To address this challenge, we propose a real-time traffic detection system for lightweight blockchain environments. The proposed system is built on Docker containerization to enable portable node deployment and utilizes Wireshark to gather real-time on-chain traffic data. We extract only three lightweight numerical features i.e., packet index, timestamp, and packet length and address class imbalance using the SMOTE method. For detection modeling, we introduce a hybrid CNN+LSTM+Attention architecture that integrates multi-channel convolutional layers, LSTM, and an attention mechanism to jointly capture spatial-local and temporal dependencies. Evaluated on a dataset of 15,000labeled samples from the Sepolia testnet, our system achieves an accuracy of 84.1 % and an F 1 -score of 0.778. This performance demonstrates the effectiveness and scalability of combining our lightweight feature set with the hybrid deep learning model for containerized real-time detection scenarios.
AB - Blockchain networks provide trust through decentralization and anonymity but also introduce significant challenges in real-time monitoring and security regulation, with network traffic anomalies being a prevalent threat. To address this challenge, we propose a real-time traffic detection system for lightweight blockchain environments. The proposed system is built on Docker containerization to enable portable node deployment and utilizes Wireshark to gather real-time on-chain traffic data. We extract only three lightweight numerical features i.e., packet index, timestamp, and packet length and address class imbalance using the SMOTE method. For detection modeling, we introduce a hybrid CNN+LSTM+Attention architecture that integrates multi-channel convolutional layers, LSTM, and an attention mechanism to jointly capture spatial-local and temporal dependencies. Evaluated on a dataset of 15,000labeled samples from the Sepolia testnet, our system achieves an accuracy of 84.1 % and an F 1 -score of 0.778. This performance demonstrates the effectiveness and scalability of combining our lightweight feature set with the hybrid deep learning model for containerized real-time detection scenarios.
KW - Attention
KW - Blockchain
KW - CNN
KW - Docker
KW - LSTM
KW - Traffic anomaly detection
UR - https://www.scopus.com/pages/publications/105030337197
U2 - 10.1109/CSCloud66326.2025.00040
DO - 10.1109/CSCloud66326.2025.00040
M3 - Conference contribution
AN - SCOPUS:105030337197
T3 - Proceedings - 2025 IEEE 12th International Conference on Cyber Security and Cloud Computing, CSCloud 2025
SP - 208
EP - 213
BT - Proceedings - 2025 IEEE 12th International Conference on Cyber Security and Cloud Computing, CSCloud 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 12th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2025
Y2 - 7 November 2025 through 9 November 2025
ER -