Payment Channel Networks with Resource-constrained Devices
Resumo
Payment-channel networks (PCN) represent the leading solution to scale blockchain-based payments to the performance levels of centralized payment systems. However, current PCNs require nodes to stay permanently online and have enough resources to execute payment security mechanisms. Such assumptions are difficult to guarantee in battery-powered devices with intermittent connectivity patterns, such as mobile phones, smart objects, and sensors. In this thesis, we address the case of PCNs with resource-constrained devices on several fronts. First, we formalize a hybrid PCN model that considers light nodes and propose a mechanism to protect payment channels with resource-constrained devices. Our experiments show that the proposed mechanism is efficient for devices with high and medium availability in mobile broadband connections. Next, we propose PCNsim, a simulator that replicates the main functionalities of a PCN in the OMNeT++ framework. PCNsim allows researchers to experiment with payments under custom networking conditions representing resource-constrained devices’ connections. PCNsim’s demonstrations show that it correctly reproduces the behavior of a PCN over unreliable communication channels. Finally, we address the problem of routing payments from resource-constrained devices. We present a payment scheme that anticipates payment confirmations for time-sensitive applications and two routing algorithms that route payments considering application-specific constraints. The results show that our routing algorithms are efficient both for single-path and multi-path payments and reach their top performance when the problem’s constraints are tight.Referências
Baltrunas, D., Elmokashfi, A., and Kvalbein, A. (2014). Measuring the reliability of mobile broadband networks. In 14th ACM IMC, pages 45–58.
CloudTweaks (2021). How Bitcoin Brought The Lightning Network To El Salvador. [link]. Last access: Mar. 6th 2023.
Elmokashfi, A., Zhou, D., and Baltrünas, D. (2017). Adding the next nine: An investigation of mobile broadband networks availability. In 23rd ACM MobiCom, pages 88–100.
Erdin, E., Mercan, S., and Akkaya, K. (2021). An Evaluation of Cryptocurrency Payment Channel Networks and Their Privacy Implications. arXiv:2102.02659 [cs].
Gangwal, A., Gangavalli, H. R., and Thirupathi, A. (2022). A Survey of Layer-Two Blockchain Protocols. arXiv:2204.08032 [cs].
Hafid, A., Hafid, A. S., and Samih, M. (2020). Scaling Blockchains: A Comprehensive Survey. IEEE Access, 8:125244–125262. Conference Name: IEEE Access.
Hannon, C. and Jin, D. (2019). Bitcoin payment-channels for resource limited IoT devices. In IEEE COINS, pages 50–57.
Kurt, A., Akkaya, K., Yilmaz, S., Mercan, S., Shlomovits, O., and Erdin, E. (2022). LNGate2: Secure Bidirectional IoT Micro-payments using Bitcoin’s Lightning Network and Threshold Cryptography. arXiv:2206.02248 [cs].
Mercan, S., Erdin, E., and Akkaya, K. (2020). Improving Transaction Success Rate via Smart Gateway Selection in Cryptocurrency Payment Channel Networks. In 2020 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pages 1–3.
Poon, J. and Dryja, T. (2016). The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments.
Robert, J., Kubler, S., and Ghatpande, S. (2020). Enhanced lightning network (off-chain)-based micropayment in iot ecosystems. Future Generation Computer Systems, 112:283–296.
Sanka, A. I. and Cheung, R. C. C. (2021). A systematic review of blockchain scalability: Issues, solutions, analysis and future research. Journal of Network and Computer Applications, 195:103232.
Sguanci, C., Spatafora, R., and Vergani, A. M. (2021). Layer 2 Blockchain Scaling: a Survey. arXiv:2107.10881 [cs].
Yang, D., Long, C., Xu, H., and Peng, S. (2020). A Review on Scalability of Blockchain. In Proceedings of the 2020 The 2nd International Conference on Blockchain Technology, pages 1–6.
Zhou, Q., Huang, H., Zheng, Z., and Bian, J. (2020). Solutions to Scalability of Blockchain: A Survey. IEEE Access, 8:16440–16455.
CloudTweaks (2021). How Bitcoin Brought The Lightning Network To El Salvador. [link]. Last access: Mar. 6th 2023.
Elmokashfi, A., Zhou, D., and Baltrünas, D. (2017). Adding the next nine: An investigation of mobile broadband networks availability. In 23rd ACM MobiCom, pages 88–100.
Erdin, E., Mercan, S., and Akkaya, K. (2021). An Evaluation of Cryptocurrency Payment Channel Networks and Their Privacy Implications. arXiv:2102.02659 [cs].
Gangwal, A., Gangavalli, H. R., and Thirupathi, A. (2022). A Survey of Layer-Two Blockchain Protocols. arXiv:2204.08032 [cs].
Hafid, A., Hafid, A. S., and Samih, M. (2020). Scaling Blockchains: A Comprehensive Survey. IEEE Access, 8:125244–125262. Conference Name: IEEE Access.
Hannon, C. and Jin, D. (2019). Bitcoin payment-channels for resource limited IoT devices. In IEEE COINS, pages 50–57.
Kurt, A., Akkaya, K., Yilmaz, S., Mercan, S., Shlomovits, O., and Erdin, E. (2022). LNGate2: Secure Bidirectional IoT Micro-payments using Bitcoin’s Lightning Network and Threshold Cryptography. arXiv:2206.02248 [cs].
Mercan, S., Erdin, E., and Akkaya, K. (2020). Improving Transaction Success Rate via Smart Gateway Selection in Cryptocurrency Payment Channel Networks. In 2020 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pages 1–3.
Poon, J. and Dryja, T. (2016). The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments.
Robert, J., Kubler, S., and Ghatpande, S. (2020). Enhanced lightning network (off-chain)-based micropayment in iot ecosystems. Future Generation Computer Systems, 112:283–296.
Sanka, A. I. and Cheung, R. C. C. (2021). A systematic review of blockchain scalability: Issues, solutions, analysis and future research. Journal of Network and Computer Applications, 195:103232.
Sguanci, C., Spatafora, R., and Vergani, A. M. (2021). Layer 2 Blockchain Scaling: a Survey. arXiv:2107.10881 [cs].
Yang, D., Long, C., Xu, H., and Peng, S. (2020). A Review on Scalability of Blockchain. In Proceedings of the 2020 The 2nd International Conference on Blockchain Technology, pages 1–6.
Zhou, Q., Huang, H., Zheng, Z., and Bian, J. (2020). Solutions to Scalability of Blockchain: A Survey. IEEE Access, 8:16440–16455.
Publicado
16/09/2024
Como Citar
REBELLO, Gabriel A. F.; COSTA, Luís Henrique M. K.; POTOP-BUTUCARU, Maria; AMORIM, Marcelo Dias de; DUARTE, Otto Carlos M. B..
Payment Channel Networks with Resource-constrained Devices. In: CONCURSO DE TESES E DISSERTAÇÕES - SIMPÓSIO BRASILEIRO DE SEGURANÇA DA INFORMAÇÃO E DE SISTEMAS COMPUTACIONAIS (SBSEG), 24. , 2024, São José dos Campos/SP.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2024
.
p. 65-72.
DOI: https://doi.org/10.5753/sbseg_estendido.2024.242064.