Simulation code for
J. Xu, D. Ackerer and A. Dubovitskaya, A Game-Theoretic Analysis of Cross-Chain Atomic Swaps with HTLCs, IEEE 41st International Conference on Distributed Computing Systems (ICDCS), 2021, pp. 584-594, doi: 10.1109/ICDCS51616.2021.00062.