Skip to main content

On the Selection of the LN Client Implementation Parameters

  • Conference paper
  • First Online:
Data Privacy Management, Cryptocurrencies and Blockchain Technology (DPM 2020, CBT 2020)

Abstract

The Lightning Network (LN) is a payment network deployed on top of Bitcoin. In the LN, the payer and the payee do not need to have an open direct channel to transact: they can transact through channels by means of other users of the network, that act as intermediaries for the payments. The parameters of the contracts being used in these multihop payments determine the level of security offered, but also the usefulness of the LN as a payment network. In this paper, we evaluate the impact of tuning the parameters of the contracts for the security and performance of the payment network, and provide recommendations on the values for those parameters, taking into account the trade-off between network utility and security.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    See [13] for further details.

References

  1. Albert, R., Jeong, H., Barabási, A.L.: Error and attack tolerance of complex networks. Nature 406(6794), 378–382 (2000)

    Article  Google Scholar 

  2. Conoscenti, M., Vetrò, A., De Martin, J.C.: Hubs, rebalancing and service providers in the lightning network. IEEE Access 7, 132828–132840 (2019)

    Article  Google Scholar 

  3. Decker, C., Wattenhofer, R.: A fast and scalable payment network with bitcoin duplex micropayment channels. In: Pelc, A., Schwarzmann, A.A. (eds.) SSS 2015. LNCS, vol. 9212, pp. 3–18. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21741-3_1

    Chapter  Google Scholar 

  4. Di Stasi, G., Avallone, S., Canonico, R., Ventre, G.: Routing payments on the lightning network. In: 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), pp. 1161–1170. IEEE (2018)

    Google Scholar 

  5. Donet Donet, J.A., Pérez-Solà, C., Herrera-Joancomartí, J.: The bitcoin P2P network. In: Böhme, R., Brenner, M., Moore, T., Smith, M. (eds.) FC 2014. LNCS, vol. 8438, pp. 87–102. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44774-1_7

    Chapter  Google Scholar 

  6. Eclair: A scala implementation of the lightning network (2020). https://github.com/ACINQ/eclair

  7. Elements Project: C-lightning - a lightning network implementation in C (2019). https://github.com/ElementsProject/lightning

  8. Harris, J., Zohar, A.: Flood & loot: a systemic attack on the lightning network. arXiv preprint arXiv:2006.08513 (2020)

  9. Herrera-Joancomartí, J., Navarro-Arribas, G., Ranchal-Pedrosa, A., Pérez-Solà, C., Garcia-Alfaro, J.: On the difficulty of hiding the balance of lightning network channels. In: Proceedings of the 2019 ACM Asia Conference on Computer and Communications Security, Asia CCS 2019, pp. 602–612. ACM, New York (2019). https://doi.org/10.1145/3321705.3329812, http://doi.acm.org/10.1145/3321705.3329812

  10. Lee, S., Kim, H.: On the robustness of lightning network in bitcoin. Pervasive Mob. Comput. 61, 101108 (2020)

    Article  Google Scholar 

  11. Lin, J.H., Primicerio, K., Squartini, T., Decker, C., Tessone, C.J.: Lightning network: a second path towards centralisation of the bitcoin economy. arXiv preprint arXiv:2002.02819 (2020)

  12. McCorry, P., Möser, M., Shahandasti, S.F., Hao, F.: Towards bitcoin payment networks. In: Liu, J.K.K., Steinfeld, R. (eds.) ACISP 2016. LNCS, vol. 9722, pp. 57–76. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-40253-6_4

    Chapter  Google Scholar 

  13. Pérez-Solà, C., Ranchal-Pedrosa, A., Herrera-Joancomartí, J., Navarro-Arribas, G., Garcia-Alfaro, J.: LockDown: balance availability attack against lightning network channels. In: Bonneau, J., Heninger, N. (eds.) FC 2020. LNCS, vol. 12059, pp. 245–263. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-51280-4_14

    Chapter  Google Scholar 

  14. Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2016)

    Google Scholar 

  15. Samokhvalov, A., Poon, J., Osuntokun, O.: Basis of lightning technology (BOLTs) (2018). https://github.com/lightningnetwork/lightning-rfc

  16. Samokhvalov, A., Poon, J., Osuntokun, O.: The lightning network daemon (2018). https://github.com/lightningnetwork/lnd

  17. Samokhvalov, A., Poon, J., Osuntokun, O.: Lightning network in-progress specifications. BOLT 11: Invoice protocol for lightning payments (2018). https://github.com/lightningnetwork/lightning-rfc

  18. Samokhvalov, A., Poon, J., Osuntokun, O.: P2P node and channel discovery. BOLT 7: Onion routing protocol (2018). https://github.com/lightningnetwork/lightning-rfc

  19. Sivaraman, V., et al.: High throughput cryptocurrency routing in payment channel networks. In: 17th \(\{\)USENIX\(\}\) Symposium on Networked Systems Design and Implementation (\(\{\)NSDI\(\}\) 20), pp. 777–796 (2020)

    Google Scholar 

Download references

Acknowledgment

This work was supported in part by the Spanish Government, under Grant RTI2018-095094-B-C22 “CONSENT”.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Luis E. Oleas-Chávez .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Oleas-Chávez, L.E., Pérez-Solà, C., Herrera-Joacomartí, J. (2020). On the Selection of the LN Client Implementation Parameters. In: Garcia-Alfaro, J., Navarro-Arribas, G., Herrera-Joancomarti, J. (eds) Data Privacy Management, Cryptocurrencies and Blockchain Technology. DPM CBT 2020 2020. Lecture Notes in Computer Science(), vol 12484. Springer, Cham. https://doi.org/10.1007/978-3-030-66172-4_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-66172-4_20

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-66171-7

  • Online ISBN: 978-3-030-66172-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics