Trie-Hashimoto: State Trie-Based Proof-of-Work Mining for Optimizing Blockchain Storage

被引:1
|
作者
Kim, Jae-Yun [1 ]
Lee, Junmo [1 ]
Moon, Soo-Mook [1 ]
机构
[1] Seoul Natl Univ, Dept Elect & Comp Engn, Seoul 08826, South Korea
关键词
Blockchain; LevelDB; memory hardness; proof-of-work mining; state trie;
D O I
10.1109/ACCESS.2024.3360379
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Blockchain makes heavy use of cryptographic hashing to achieve integrity and consensus in a peer-to-peer network, but hashing causes some inefficiencies. For example, blockchain stores data with their hash digest as a key in the database, so the blockchain always reads and writes data in a random order. This can affect blockchain performance, especially for account-based blockchains such as Ethereum, which must maintain a huge, hash-based data structure for accounts, called the state trie. Also, Proof-of-Work (PoW) consensus algorithm requires the miners to find a nonce that makes the block hash lower than a difficulty threshold, but ASICs with parallel hashing have made PoW use a large dataset such as the Ethash DAG for memory-hardness and ASIC-resistance. Unfortunately, verification of the nonce is not easy for many light clients, which cannot deal with the overhead caused by the dataset. This paper proposes a novel PoW mining algorithm named Trie-Hashimoto to address these issues. Trie-Hashimoto adds a nonce field in a state trie node. It then makes the miners find a nonce of every newly-created trie node for a new block such that each node has a hash digest whose prefix is equal to the block number. This can accelerate the database performance by storing the trie nodes in a sequential order. The way for Trie-Hashimoto to achieve memory-hardness is also different. It uses the block headers that any client must maintain, obviating a separate dataset. Furthermore, it allows partial verification using a few Merkle proofs of accounts, so that a client with minimal resources or even a smart contract in another interoperable blockchain can verify a block with a high probability. Finally, Trie-Hashimoto discourages big mining pools by increasing the network overhead among the miners. Our experiment on the Geth client with 500K blocks and 100M accounts shows that Trie-Hashimoto improves the transaction execution time tangibly, reducing the full synchronization time by half. It also shows that Trie-Hashimoto has enough memory-hardness as Ethash. Lastly, a Trie-Hashimoto mining pool should exchange messages highly frequently, proportional to the total number of miners.
引用
收藏
页码:18315 / 18329
页数:15
相关论文
共 26 条
  • [21] A Novel Anti-attack Revenue Optimization Algorithm in the Proof-of-Work Based Blockchain
    Chen, Hao
    Chen, Yourong
    Han, Meng
    Liu, Banteng
    Chen, Qiuxia
    Ma, Zhenghua
    WIRELESS ALGORITHMS, SYSTEMS, AND APPLICATIONS, PT I, 2020, 12384 : 40 - 50
  • [22] SimBlock Simulator Enhancement with Difficulty Level Algorithm Based on Proof-of-Work Consensus for Lightweight Blockchain
    Mardiansyah, Viddi
    Sari, Riri Fitri
    SENSORS, 2022, 22 (23)
  • [23] B plus plus : A High-Throughput Proof-of-Work based Blockchain with Eventual Consistency
    Chen, Bing-Jyue
    Jian, Ting-Han
    Lin, Tsung-Nan
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2021), 2021,
  • [24] Exploration of Mined Block Temporarily Holding and Enforce Fork Attacks by Selfish Mining Pool in Proof-of-Work Blockchain Systems
    Wen, Yean-Fu
    Huang, Chun-Yu
    IEEE ACCESS, 2022, 10 : 61159 - 61174
  • [25] Multi-State Merkle Patricia Trie (MSMPT): High-Performance Data Structures for Multi-Query Processing Based on Lightweight Blockchain
    Mardiansyah, Viddi
    Muis, Abdul
    Sari, Riri Fitri
    IEEE ACCESS, 2023, 11 : 117282 - 117296
  • [26] Performance analysis on Diversity Mining-based Proof of Work in bifolded consortium blockchain for Internet of Things consensus
    Jayabal, Chandra Priya
    Sathia Bhama, Ponsy R. K.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2021, 33 (16):