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 条
  • [1] DTFIM: Distributed trie-based frequent itemset mining
    Ansari, E.
    Dastghaibifard, G. H.
    Keshtkaran, M.
    IMECS 2008: INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, VOLS I AND II, 2008, : 427 - 431
  • [2] Optimal mining in proof-of-work blockchain protocols
    Soria, Jorge
    Moya, Jorge
    Mohazab, Amin
    FINANCE RESEARCH LETTERS, 2023, 53
  • [3] A Generic Approach for Bulk Loading Trie-Based Index Structures on External Storage
    Ma, Dongzhe
    Feng, Jianhua
    WEB-AGE INFORMATION MANAGEMENT, WAIM 2014, 2014, 8485 : 55 - 66
  • [4] Empirical risk analysis of mining a Proof-of-Work blockchain
    Albrecher, Hansjorg
    Finger, Dina
    Goffard, Pierre-O.
    DECISIONS IN ECONOMICS AND FINANCE, 2024,
  • [5] Mining highly correlated least association rules using scalable trie-based algorithm
    Abdullah, Zailani
    Herawan, Tutut
    Deris, Mustafa Mat
    JOURNAL OF THE CHINESE INSTITUTE OF ENGINEERS, 2012, 35 (05) : 547 - 554
  • [6] Statistical detection of selfish mining in proof-of-work blockchain systems
    Li, Sheng-Nan
    Campajola, Carlo
    Tessone, Claudio J.
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [7] Endex: Degree of Mining Power Decentralization for Proof-of-Work Based Blockchain Systems
    Chen, Ren
    Tu, I-Ping
    Chuang, Kai-Er
    Lin, Qin-Xue
    Liao, Shih-Wei
    Liao, Wanjiun
    IEEE NETWORK, 2020, 34 (06): : 266 - 271
  • [8] Statistical detection of selfish mining in proof-of-work blockchain systems
    Sheng-Nan Li
    Carlo Campajola
    Claudio J. Tessone
    Scientific Reports, 14
  • [9] Cobalt: Optimizing Mining Rewards in Proof-of-Work Network Games
    Vedula, Arti
    Gupta, Abhishek
    Venkatakrishnan, Shaileshh Bojja
    2023 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY, ICBC, 2023,
  • [10] Selfish Mining in Proof-of-Work Blockchain with Multiple Miners: An Empirical Evaluation
    Leelavimolsilp, Tin
    Viet Nguyen
    Stein, Sebastian
    Long Tran-Thanh
    PRINCIPLES AND PRACTICE OF MULTI-AGENT SYSTEMS (PRIMA 2019), 2019, 11873 : 219 - 234