Real-Time Traffic Detection for Lightweight Blockchain

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE 12th International Conference on Cyber Security and Cloud Computing, CSCloud 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages208-213
Number of pages6
ISBN (Electronic)9798331587819
DOIs
Publication statusPublished - 2025
Externally publishedYes
Event12th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2025 - New York City, United States
Duration: 7 Nov 20259 Nov 2025

Publication series

NameProceedings - 2025 IEEE 12th International Conference on Cyber Security and Cloud Computing, CSCloud 2025

Conference

Conference12th IEEE International Conference on Cyber Security and Cloud Computing, CSCloud 2025
Country/TerritoryUnited States
CityNew York City
Period7/11/259/11/25

Keywords

  • Attention
  • Blockchain
  • CNN
  • Docker
  • LSTM
  • Traffic anomaly detection

Fingerprint

Dive into the research topics of 'Real-Time Traffic Detection for Lightweight Blockchain'. Together they form a unique fingerprint.

Cite this