A scalable bitcoin blockchain network by dynamic block size adjustment using reinforcement learning
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Alam, Md. Golam Rabiul | |
| dc.contributor.advisor | Islam, Shayekh Bin | |
| dc.contributor.author | Sumaiya | |
| dc.contributor.author | Taposhi, Umme Jannat | |
| dc.contributor.author | Akbar, Redowanul | |
| dc.contributor.author | Islam, Md. Zunayedul | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-05-04T07:42:42Z | |
| dc.date.available | 2026-05-04T07:42:42Z | |
| dc.date.copyright | 2023 | |
| dc.date.issued | 2023-11 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 83-85). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2023. | en_US |
| dc.description.abstract | The revolutionary technology known as blockchain has revolutionized the way we handle and keep confidential information. In a blockchain network, transactions are organized into blocks that are connected to one another in a sequential and immutable chain. So, the size of the block is a crucial element in the blockchain technology. It influences the number of transactions handled per second, the confirmation time and the general performance of the network. However, the size of each block is fixed to 1 MB in the current technology and we cannot simply alter the block size of the blockchain which causes network congestion and transaction delay. So, we have proposed a model to enhance network performance by dynamically estimating the optimal block size using the Soft Actor-Critic (SAC) algorithm of Reinforcement Learning (RL). This model can predict appropriate block size in real-time by taking account into 4 different features of the network that effects the network performance greatly and resolve the 1 MB fixed block size issues. Soft Actor-Critic model enhances network performance by speeding up transaction confirmation times and making the most use of each block. By using the Soft Actor- Critic model, a scalable improvised network will not only reduce network congestion but it will guarantee consistent profits for the miners. Initially, we constructed a baseline block size prediction model using Long Short-Term Memory (LSTM) networks. However, due to LSTM’s limitations in reflecting the dynamic nature of the blockchain, we implemented a better solution using Reinforcement learning. We have applied both online and offline reinforcement learning techniques using a simulator and a real-world dataset. Offline reinforcement Learning was not impressive as well due to the static nature of the data. But using online reinforcement learning gave us the desired results. In online RL, Gym library-based blockchain simulation environment have been utilized for real-time training and assessment. Later we have applied Inverse reinforcement learning (IRL) for reward shaping using Generative Adversarial Imitation Learning (GAIL). Nevertheless, our reward function and Soft Actor-Critic (SAC) model were most efficient to build a scalable improvised network that guaranteed optimal block utilization, minimum confirmation time and miners consistent profits. | en_US |
| dc.description.degree | Bachelor of Science in Computer Science and Engineering | |
| dc.description.statementofresponsibility | Sumaiya | |
| dc.description.statementofresponsibility | Umme Jannat Taposhi | |
| dc.description.statementofresponsibility | Redowanul Akbar | |
| dc.description.statementofresponsibility | Md. Zunayedul Islam | |
| dc.format.extent | 97 pages | |
| dc.identifier.other | ID 20101124 | |
| dc.identifier.other | ID 20101135 | |
| dc.identifier.other | ID 20101253 | |
| dc.identifier.other | ID 22241165 | |
| dc.identifier.uri | http://hdl.handle.net/10361/28170 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Deep neural networks | en_US |
| dc.subject | Blockchain networks | en_US |
| dc.subject | LSTM | en_US |
| dc.subject | Deep learning | en_US |
| dc.subject | Inverse learning | en_US |
| dc.subject | Long-short term memory | en_US |
| dc.subject | Predictive modeling | en_US |
| dc.subject | Block size adjustment | en_US |
| dc.subject.lcsh | Reinforcement learning. | |
| dc.subject.lcsh | Computer networks--Scalability. | |
| dc.subject.lcsh | Blockchains (Databases). | |
| dc.subject.lcsh | Bitcoin. | |
| dc.subject.lcsh | Neural networks (Computer science). | |
| dc.title | A scalable bitcoin blockchain network by dynamic block size adjustment using reinforcement learning | en_US |
| dc.type | Thesis | en_US |