Skip to main content

Enhancing Blockchain Performance via On-chain and Off-chain Collaboration

  • Conference paper
  • First Online:
Service-Oriented Computing (ICSOC 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14419))

Included in the following conference series:

  • 764 Accesses

Abstract

Transactions concurrent execution is one of the most promising solutions to enhance throughput for blockchain systems. Traditional concurrent execution schemes include on-chain concurrency and off-chain concurrency. However, they either increase hardware requirements to nodes or bring extra overheads for transaction verification, compromising the decentralization and security properties of blockchains. In this paper, we propose a new concurrent execution scheme that integrates off-chain execution into the on-chain concurrent execution scheme, by which a blockchain system can enhance performance without compromising security and decentralization. To achieve this, we first propose a consistent information scheduling mechanism. This mechanism divides scheduling information of transactions based on the execution-related information, improving the efficiency of scheduling information transmission and execution between on-chain and off-chain nodes. Then, to achieve secure and efficient collaboration between on-chain and off-chain nodes, our scheme proposes a secure collaboration validation mechanism without additional security assumptions. Finally, we implement our prototype based on Tendermint and compare it with the serial execution scheme in the blockchain. The experimental results show that our scheme can achieve a maximum throughput improvement of 2.6\(\times \), 11.2\(\times \) less execution time, and 2.1\(\times \) less verification time.

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 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.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

References

  1. Wang, X., Muppirala, V.V., Yang, L., Kannan, S., Viswanath, P.: Securing parallel-chain protocols under variable mining power. In: Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, pp. 1700–1721 (2021)

    Google Scholar 

  2. Duan, S., Zhang, H.: Foundations of dynamic bft. In: 2022 IEEE Symposium on Security and Privacy (SP), pp. 1317–1334. IEEE (2022)

    Google Scholar 

  3. Zhang, J., Hong, Z., Qiu, X., Zhan, Y., Guo, S., Chen, W.: Dynamic sharding: a trade-off between security and scalability. In: Blockchain Scalability, pp. 193–221. Springer, Heidelberg (2023). https://doi.org/10.1007/978-981-99-1059-5_8

  4. Dickerson, T., Gazzillo, P., Herlihy, M., Koskinen, E.: Adding concurrency to smart contracts. In: Proceedings of the ACM Symposium on Principles of Distributed Computing, pp. 303–312 (2017)

    Google Scholar 

  5. Anjana, P.S., Kumari, S., Peri, S., Rathor, S., Somani, A.: An efficient framework for optimistic concurrent execution of smart contracts. In: 2019 27th Euromicro International Conference on Parallel, Distributed and Network-Based Processing (PDP), pp. 83–92. IEEE (2019)

    Google Scholar 

  6. Garamvölgyi, P., Liu, Y., Zhou, D., Long, F., Wu, M.: Utilizing parallelism in smart contracts on decentralized blockchains by taming application-inherent conflicts. In: Proceedings of the 44th International Conference on Software Engineering, pp. 2315–2326 (2022)

    Google Scholar 

  7. Jin, C., Pang, S., Qi, X., Zhang, Z., Zhou, A.: A high performance concurrency protocol for smart contracts of permissioned blockchain. IEEE Trans. Knowl. Data Eng. 34(11), 5070–5083 (2021)

    Article  Google Scholar 

  8. Kalodner, H., Goldfeder, S., Chen, X., Weinberg, S.M., Felten, E.W.: Arbitrum: scalable, private smart contracts. In: 27th USENIX Security Symposium (USENIX Security 2018), pp. 1353–1370 (2018)

    Google Scholar 

  9. Wüst, K., Matetic, S., Egli, S., Kostiainen, K., Capkun, S.: ACE: asynchronous and concurrent execution of complex smart contracts. In: Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, pp. 587–600 (2020)

    Google Scholar 

  10. Kang, H., Dai, T., Jean-Louis, N., Tao, S., Gu, X.: Fabzk: supporting privacy-preserving, auditable smart contracts in hyperledger fabric. In: 2019 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), pp. 543–555. IEEE (2019)

    Google Scholar 

  11. Cheng, R., et al.: Ekiden: a platform for confidentiality-preserving, trustworthy, and performant smart contracts. In: 2019 IEEE European Symposium on Security and Privacy (EuroS &P), pp. 185–200. IEEE (2019)

    Google Scholar 

  12. Xie, T., et al.: zkbridge: trustless cross-chain bridges made practical. In: Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security, pp. 3003–3017 (2022)

    Google Scholar 

  13. Van Bulck, J., et al.: Foreshadow: extracting the keys to the intel SGX kingdom with transient out-of-order execution. In: 27th USENIX Security Symposium (USENIX Security 2018), pp. 991–1008 (2018)

    Google Scholar 

  14. Cai, Z., et al.: Benzene: scaling blockchain with cooperation-based sharding. IEEE Trans. Parallel Distrib. Syst. 34(2), 639–654 (2022)

    Article  MathSciNet  Google Scholar 

  15. Cason, D., Fynn, E., Milosevic, N., Milosevic, Z., Buchman, E., Pedone, F.: The design, architecture and performance of the tendermint blockchain network. In: 2021 40th International Symposium on Reliable Distributed Systems (SRDS), pp. 23–33. IEEE (2021)

    Google Scholar 

  16. Zhang, R., Zhang, D., Wang, Q., Wu, S., Xie, J., Preneel, B.: Nc-max: breaking the security-performance tradeoff in nakamoto consensus. Cryptology ePrint Archive (2020)

    Google Scholar 

  17. Reijsbergen, D., Dinh, T.T.A.: On exploiting transaction concurrency to speed up blockchains. In: 2020 IEEE 40th International Conference on Distributed Computing Systems (ICDCS), pp. 1044–1054. IEEE (2020)

    Google Scholar 

  18. Bartoletti, M., Galletta, L., Murgia, M.: A true concurrent model of smart contracts executions. In: Bliudze, S., Bocchi, L. (eds.) COORDINATION 2020. LNCS, vol. 12134, pp. 243–260. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-50029-0_16

    Chapter  Google Scholar 

  19. Klems, M., Eberhardt, J., Tai, S., Härtlein, S., Buchholz, S., Tidjani, A.: Trustless intermediation in blockchain-based decentralized service marketplaces. In: Maximilien, M., Vallecillo, A., Wang, J., Oriol, M. (eds.) ICSOC 2017. LNCS, vol. 10601, pp. 731–739. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-69035-3_53

    Chapter  Google Scholar 

  20. Sariboz, E., Kolachala, K., Panwar, G., Vishwanathan, R., Misra, S.: Off-chain execution and verification of computationally intensive smart contracts. In: 2021 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1–3. IEEE (2021)

    Google Scholar 

  21. Kim, Y., Jeong, S., Jezek, K., Burgstaller, B., Scholz, B.: An off-the-chain execution environment for scalable testing and profiling of smart contracts. In: 2021 USENIX Annual Technical Conference (USENIX ATC 21), pp. 565–579 (2021)

    Google Scholar 

  22. Das, P., et al.: Fastkitten: practical smart contracts on bitcoin. In: USENIX Security Symposium, pp. 801–818 (2019)

    Google Scholar 

  23. Dwork, C., Lynch, N., Stockmeyer, L.: Consensus in the presence of partial synchrony. J. ACM (JACM) 35(2), 288–323 (1988)

    Article  MathSciNet  Google Scholar 

  24. Zhang, J., Chen, W., Luo, S., Gong, T., Hong, Z., Kate, A.: Front-running attack in distributed sharded ledgers and fair cross-shard consensus. arXiv preprint arXiv:2306.06299 (2023)

Download references

Acknowlegements

The work described in this paper was supported by the National Key Research and Development Plan(2022YFF0903100), the National Natural Science Foundation of China (62172453), the National Natural Science Foundation of Guangdong province(2022A1515010154), the Major Key Project of PCL(PCL2021A06), and the Pearl River Talent Recruitment Program (No. 2019QN01X130).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jianting Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, W., Yang, Z., Zhang, J., Liang, J., Sun, Q., Zhou, F. (2023). Enhancing Blockchain Performance via On-chain and Off-chain Collaboration. In: Monti, F., Rinderle-Ma, S., Ruiz Cortés, A., Zheng, Z., Mecella, M. (eds) Service-Oriented Computing. ICSOC 2023. Lecture Notes in Computer Science, vol 14419. Springer, Cham. https://doi.org/10.1007/978-3-031-48421-6_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-48421-6_27

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-48420-9

  • Online ISBN: 978-3-031-48421-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics