|
|
Gauze: enabling communication-friendly block synchronization with cuckoo filter |
Xiaoqiang DING1, Liushun ZHAO2, Lailong LUO3, Junjie XIE4, Deke GUO1,3(), Jinxi LI1 |
1. College of Intelligence and Computing, Tianjin University, Tianjin 300350, China 2. School of Computer Science and Technology, Xidian University, Xi’an 710071, China 3. Science and Technology on Information Systems Engineering Laboratory, National University of Defense Technology, Changsha 410073, China 4. Institute of Systems Engineering, AMS, PLA, Beijing 100141, China |
|
|
Abstract Block synchronization is an essential component of blockchain systems. Traditionally, blockchain systems tend to send all the transactions from one node to another for synchronization. However, such a method may lead to an extremely high network bandwidth overhead and significant transmission latency. It is crucial to speed up such a block synchronization process and save bandwidth consumption. A feasible solution is to reduce the amount of data transmission in the block synchronization process between any pair of peers. However, existing methods based on the Bloom filter or its variants still suffer from multiple roundtrips of communications and significant synchronization delay. In this paper, we propose a novel protocol named Gauze for fast block synchronization. It utilizes the Cuckoo filter (CF) to discern the transactions in the receiver’s mempool and the block to verify, providing an efficient solution to the problem of set reconciliation in the P2P (Peer-to-Peer Network) network. By up to two rounds of exchanging and querying the CFs, the sending node can acknowledge whether the transactions in a block are contained by the receiver’s mempool or not. Based on this message, the sender only needs to transfer the missed transactions to the receiver, which speeds up the block synchronization and saves precious bandwidth resources. The evaluation results show that Gauze outperforms existing methods in terms of the average processing latency (about lower than Graphene) and the total synchronization space cost (about lower than Compact Blocks) in different scenarios.
|
Keywords
block synchronization
cuckoo filter
probabilistic data structure
|
Corresponding Author(s):
Deke GUO
|
About author: Tongcan Cui and Yizhe Hou contributed equally to this work. |
Just Accepted Date: 18 March 2022
Issue Date: 16 September 2022
|
|
1 |
Renesse R, Van D, Dumitriu V, Gough C Thomas. Efficient reconciliation and flow control for anti-entropy protocols. In: Proceedings of the 2nd Workshop on Large-Scale Distributed Systems and Middleware. 2008, 1− 7
|
2 |
E, Kokoris-Kogias P, Jovanovic N, Gailly I, Khoffi L, Gasser B Ford. Enhancing bitcoin security and performance with strong consistency via collective signing. In: Proceedings of the 25th USENIX Conference on Security Symposium. 2016, 279– 296
|
3 |
Y, Gilad R, Hemo S, Micali G, Vlachos N Zeldovich. Algorand: scaling byzantine agreements for cryptocurrencies. In: Proceedings of the 26th Symposium on Operating Systems Principles. 2017, 51– 68
|
4 |
V, Buterin V Griffith. Casper the friendly finality gadget. 2017, arXiv preprint arXiv: 1710.09437
|
5 |
K, Ayinala B Y, Choi S Song. PiChu: accelerating block broadcasting in blockchain networks with pipelining and chunking. In: Proceedings of the 2020 IEEE International Conference on Blockchain (Blockchain). 2020, 221– 228
|
6 |
N, Chawla H W, Behrens D, Tapp D, Boscovic K S Candan. Velocity: scalability improvements in block propagation through rateless erasure coding. In: Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC). 2019, 447– 454
|
7 |
L, Zhang T, Wang S C Liew . Speeding up block propagation in bitcoin network: uncoded and coded designs. Computer Networks, 2022, 206: 108791
|
8 |
M A, Imtiaz D, Starobinski A, Trachtenberg N Younis. Churn in the bitcoin network: characterization and impact. In: Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC). 2019, 431– 439
|
9 |
K, Croman C, Decker I, Eyal A E, Gencer A, Juels A, Kosba A, Miller P, Saxena E, Shi E G, Sirer D, Song R Wattenhofer. On scaling decentralized blockchains. In: Proceedings of the 2016 International Conference on Financial Cryptography and Data Security. 2016, 106– 125
|
10 |
L, Luo D, Guo W, Li T, Zhang J, Xie X Zhou . Compound graph based hybrid data center topologies. Frontiers of Computer Science, 2015, 9( 6): 860– 1874
|
11 |
C, Decker R Wattenhofer. Information propagation in the bitcoin network. In: Proceedings of the IEEE P2P 2013 Proceedings. 2013, 1– 10
|
12 |
D, Eppstein M T, Goodrich F, Uyeda G Varghese . What’s the difference?: Efficient set reconciliation without prior context. ACM SIGCOMM Computer Communication Review, 2011, 41( 4): 218– 229
|
13 |
P Tschipper. Buip010: xtreme thinblocks. See Bitco.in/forum/threads/buip010-passed-xtreme-thinblocks774 website, 2016
|
14 |
B H Bloom . Space/time trade-offs in hash coding with allowable errors. Communications of the ACM, 1970, 13( 7): 422– 426
|
15 |
M Corallo. Bip152: Compact block relay, See Github/bitcoin/bips/blob/master/bip-0152.mediawiki website, 2016
|
16 |
A P, Ozisik G, Andresen B N, Levine D, Tapp G, Bissias S Katkuri. Graphene: efficient interactive set reconciliation applied to blockchain propagation. In: Proceedings of the ACM Special Interest Group on Data Communication. 2019, 303– 317
|
17 |
M T, Goodrich M Mitzenmacher. Invertible bloom lookup tables. In: Proceedings of the 2011 49th Annual Allerton Conference on Communication, Control, and Computing (Allerton). 2011, 792– 799
|
18 |
B, Fan D G, Andersen M, Kaminsky M D Mitzenmacher. Cuckoo filter: practically better than bloom. In: Proceedings of the 10th ACM International on Conference on Emerging Networking Experiments and Technologies. 2014, 75– 88
|
19 |
J Toomim. Benefits of ltor in block entropy encoding, or: ISPs hate him! Learn how to make your block 75% Xthinner with this one weird trick. See Jtoomim.medium/benefits-of-ltor-in-block-entropy-encoding-or-8d5b77cc2ab0 website, 2018
|
20 |
G, Naumenko G, Maxwell P, Wuille A, Fedorova I Beschastnikh. Erlay: efficient transaction relay for bitcoin. In: Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security. 2019, 817– 831
|
21 |
S, Shafeeq S, Zeadally M, Alam A Khan . Curbing address reuse in the iota distributed ledger: a cuckoo-filter-based approach. IEEE Transactions on Engineering Management, 2020, 67( 4): 1244– 1255
|
22 |
B, Fan D G, Andersen M Kaminsky. MemC3: compact and concurrent MemCache with dumber caching and smarter hashing. In: Proceedings of the 10th USENIX Conference on Networked Systems Design and Implementation. 2013, 371– 384
|
23 |
O Rottenstreich. Sketches for blockchains. In: Proceedings of the 13th International Conference on COMmunication Systems & NETworkS (COMSNETS). 2021, 254– 262
|
24 |
D, Guo M Li . Set reconciliation via counting bloom filters. IEEE Transactions on Knowledge and Data Engineering, 2013, 25( 10): 2367– 2380
|
25 |
D, Chen C, Konrad K, Yi W, Yu Q Zhang . Robust set reconciliation. In: Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data, 2014, 135– 146
|
26 |
L, Luo D, Guo Y, Zhao O, Rottenstreich R T B, Ma X Luo . MCFsyn: a multi-party set reconciliation protocol with the marked cuckoo filter. IEEE Transactions on Parallel and Distributed Systems, 2021, 32( 11): 2705– 2718
|
27 |
M, Ruan T, Titcheu E, Zhai Z, Li Y, Liu E, Jinlong Y, Cui H Xu . On the synchronization bottleneck of openstack swift-like cloud storage systems. IEEE Transactions on Parallel and Distributed Systems, 2018, 29( 9): 2059– 2074
|
28 |
D Eppstein. Cuckoo filter: simplification and analysis. In: Proceedings of the 15th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2016). 2016, 8
|
|
Viewed |
|
|
|
Full text
|
|
|
|
|
Abstract
|
|
|
|
|
Cited |
|
|
|
|
|
Shared |
|
|
|
|
|
Discussed |
|
|
|
|