Using FSMs to Find Patterns for Off-Chain Computing Finding Patterns for Off-Chain Computing with FSMs

被引:3
作者
Bodorik, Peter [1 ]
Liu, Christian G. [1 ]
Jutla, Dawn [2 ]
机构
[1] Dalhousie Univ, Fac Comp Sci, Halifax, NS, Canada
[2] St Marys Univ, Sobey Sch Business, San Antonio, TX USA
来源
2021 THE 3RD INTERNATIONAL CONFERENCE ON BLOCKCHAIN TECHNOLOGY, ICBCT 2021 | 2021年
关键词
Blockchain; Smart contract; FSM and HSM modeling; Off-chain computation; Blockchain developer productivity;
D O I
10.1145/3460537.3460565
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
One of the problems arising in using blockchains is their size-constraints regarding performance. This paper proposes a new algorithm for blockchain software developers and architects to use for determining what computations of a smart contract can be effectively done off-chain without loss of trust. Our algorithm uses FSMs or HSMs in order to create smart contract patterns using graphs and then uses pattern recognition to identify which parts of the smart contracts should be considered for moving off-chain. The pattern recognition property used is that once software execution transits into the pattern's entry state, off-chain execution continues until the execution transits into the pattern's exit state, when execution continues on-chain. The software developer reviews each pattern together with information, such as anticipated overhead cost due to off-chain execution, and she is provided with guidance on decision making whether to execute the smart contract pattern under consideration off-chain. Expert software developer inspection, in the context of a Trade Finance use case, validates that our algorithm finds optimal patterns for moving computations off-chain and improve blockchain software performance.
引用
收藏
页码:28 / 34
页数:7
相关论文
共 14 条
  • [1] Asgaonkar A, 2019, 2019 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (ICBC), P262, DOI 10.1109/BLOC.2019.8751482
  • [2] Off-chaining Models and Approaches to Off-chain Computations
    Eberhardt, Jacob
    Heiss, Jonathan
    [J]. SERIAL'18: PROCEEDINGS OF THE 2018 WORKSHOP ON SCALABLE AND RESILIENT INFRASTRUCTURES FOR DISTRIBUTED LEDGERS, 2018, : 7 - 12
  • [3] On or Off the Blockchain? Insights on Off-Chaining Computation and Data
    Eberhardt, Jacob
    Tai, Stefan
    [J]. SERVICE-ORIENTED AND CLOUD COMPUTING (ESOCC 2017), 2017, 10465 : 3 - 15
  • [4] HeartBank, 2018, Smart Contract Design Patterns: A Case Study with Real Solidity Code
  • [5] Ledger Insights, 2020, Letter of Credit blockchain launches with eight banks
  • [6] Lisk, 2020, What is Blockchain?
  • [7] Liu C., 2021, Master of Computer Science Thesis
  • [8] Mavridou A., 2018, Financial Cryptography, DOI [10.1007/978-3-662-58387-628, DOI 10.1007/978-3-662-58387-628]
  • [9] Tool Demonstration: FSolidM for Designing Secure Ethereum Smart Contracts
    Mavridou, Anastasia
    Laszka, Aron
    [J]. PRINCIPLES OF SECURITY AND TRUST, POST 2018, 2018, 10804 : 270 - 277
  • [10] Poon J., 2017, CISC VIS NETW IND GL, P1