The simulation source code in our paper MERCURY: Fast Transaction Broadcast in High Performance Blockchain Systems(Accepted by INFOCOM 2023) is available here.
MERCURY shortens the transaction propagation delay using two techniques: a virtual coordinate system and an early outburst strategy. Our simulation results show that MERCURY outperforms prior propagation schemes and decreases overall propagation latency by up to 44% compared with Random mechanism. When implemented in Conflux, an open-source high-throughput blockchain system, MERCURY reduces transaction propagation latency by over 50% with less than 5% bandwidth overhead. Please review our paper for more details.
In linux environment:
make
./sim
Main files:
sim.cpp
: the simulation codecoordinate.h
: the implementation of vivaldi algorithmgeolocation.txt
: geolocation input, used by sim.cpp
IF YOU USE THIS SIMULATION CODE IN ANY PUBLISHED RESEARCH, PLEASE KINDLY CITE THE FOLLOWING PAPER:
Mingxun Zhou*, Liyi Zeng*, Yilin Han, Peilun Li, Fan Long, Dong Zhou, Ivan Beschastnikh, Ming Wu, "MERCURY: Fast Transaction Broadcast in High Performance Blockchain Systems", IEEE INFOCOM 2023-IEEE Conference on Computer Communications. IEEE, 2023.(* The first two authors contributed equally)
Email: [email protected], [email protected].