IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v12y2020i11p185-d436505.html
   My bibliography  Save this article

A MILP Model for a Byzantine Fault Tolerant Blockchain Consensus

Author

Listed:
  • Vitor Nazário Coelho

    (OptBlocks, Avenida Jo ao Pinheiro, 274 Sala 201-Lourdes, Belo Horizonte-MG 30130-186, Brazil)

  • Rodolfo Pereira Araújo

    (Graduate Program in Computational Sciences (PPG-CComp), Universidade do Estado do Rio de Janeiro, Rua S ao Francisco Xavier, 524-Maracan a, Rio de Janeiro-RJ 20550-013, Brazil)

  • Haroldo Gambini Santos

    (Department of Computer Science, Universidade Federal de Ouro Preto, Campus Morro do Cruzeiro, Ouro Preto-MG 35400-000, Brazil)

  • Wang Yong Qiang

    (Research & Development Department, Neo Global Development, 80, Zhengxue Rd, Shanghai 200082, China)

  • Igor Machado Coelho

    (Institute of Computing, Universidade Federal Fluminense, Av. Gal. Milton Tavares de Souza, São Domingos, Niterói-RJ 24210-310, Brazil)

Abstract

Mixed-integer mathematical programming has been widely used to model and solve challenging optimization problems. One interesting feature of this technique is the ability to prove the optimality of the achieved solution, for many practical scenarios where a linear programming model can be devised. This paper explores its use to model very strong Byzantine adversaries , in the context of distributed consensus systems. In particular, we apply the proposed technique to find challenging adversarial conditions on a state-of-the-art blockchain consensus: the Neo dBFT. Neo Blockchain has been using the dBFT algorithm since its foundation, but, due to the complexity of the algorithm, it is challenging to devise definitive algebraic proofs that guarantee safety/liveness of the system (and adjust for every change proposed by the community). Core developers have to manually devise and explore possible adversarial attacks scenarios as an exhaustive task. The proposed multi-objective model is intended to assist the search of possible faulty scenario, which includes three objective functions that can be combined as a maximization problem for testing one-block finality or a minimization problem for ensuring liveness. Automated graphics help developers to visually observe attack conditions and to quickly find a solution. This paper proposes an exact adversarial model that explores current limits for practical blockchain consensus applications such as dBFT, with ideas that can also be extended to other decentralized ledger technologies.

Suggested Citation

  • Vitor Nazário Coelho & Rodolfo Pereira Araújo & Haroldo Gambini Santos & Wang Yong Qiang & Igor Machado Coelho, 2020. "A MILP Model for a Byzantine Fault Tolerant Blockchain Consensus," Future Internet, MDPI, vol. 12(11), pages 1-18, October.
  • Handle: RePEc:gam:jftint:v:12:y:2020:i:11:p:185-:d:436505
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/12/11/185/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/12/11/185/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. George B. Dantzig, 1957. "Discrete-Variable Extremum Problems," Operations Research, INFORMS, vol. 5(2), pages 266-288, April.
    2. Igor M. Coelho & Vitor N. Coelho & Rodolfo P. Araujo & Wang Yong Qiang & Brett D. Rhodes, 2020. "Challenges of PBFT-Inspired Consensus for Blockchain and Enhancements over Neo dBFT," Future Internet, MDPI, vol. 12(8), pages 1-20, July.
    3. Coelho, Vitor N. & Coelho, Igor M. & Coelho, Bruno N. & Cohen, Miri Weiss & Reis, Agnaldo J.R. & Silva, Sidelmo M. & Souza, Marcone J.F. & Fleming, Peter J. & Guimarães, Frederico G., 2016. "Multi-objective energy storage power dispatching using plug-in vehicles in a smart-microgrid," Renewable Energy, Elsevier, vol. 89(C), pages 730-742.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Uttam Ghosh & Deepak Tosh & Nawab Muhammad Faseeh Qureshi & Ali Kashif Bashir & Al-Sakib Khan Pathan & Zhaolong Ning, 2022. "Cyber-Physical Systems: Prospects, Challenges and Role in Software-Defined Networking and Blockchains," Future Internet, MDPI, vol. 14(12), pages 1-2, December.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Martello, Silvano & Pisinger, David & Toth, Paolo, 2000. "New trends in exact algorithms for the 0-1 knapsack problem," European Journal of Operational Research, Elsevier, vol. 123(2), pages 325-332, June.
    2. B. Golany & N. Goldberg & U. Rothblum, 2015. "Allocating multiple defensive resources in a zero-sum game setting," Annals of Operations Research, Springer, vol. 225(1), pages 91-109, February.
    3. Teresa Estañ & Natividad Llorca & Ricardo Martínez & Joaquín Sánchez-Soriano, 2020. "On the difficulty of budget allocation in claims problems with indivisible items of different prices," ThE Papers 20/09, Department of Economic Theory and Economic History of the University of Granada..
    4. Teresa Estañ & Natividad Llorca & Ricardo Martínez & Joaquín Sánchez-Soriano, 2021. "On the Difficulty of Budget Allocation in Claims Problems with Indivisible Items and Prices," Group Decision and Negotiation, Springer, vol. 30(5), pages 1133-1159, October.
    5. Sbihi, Abdelkader, 2010. "A cooperative local search-based algorithm for the Multiple-Scenario Max-Min Knapsack Problem," European Journal of Operational Research, Elsevier, vol. 202(2), pages 339-346, April.
    6. Rahman, Syed & Khan, Irfan Ahmed & Khan, Ashraf Ali & Mallik, Ayan & Nadeem, Muhammad Faisal, 2022. "Comprehensive review & impact analysis of integrating projected electric vehicle charging load to the existing low voltage distribution system," Renewable and Sustainable Energy Reviews, Elsevier, vol. 153(C).
    7. Yanhong Feng & Xu Yu & Gai-Ge Wang, 2019. "A Novel Monarch Butterfly Optimization with Global Position Updating Operator for Large-Scale 0-1 Knapsack Problems," Mathematics, MDPI, vol. 7(11), pages 1-31, November.
    8. Altay, Nezih & Robinson Jr., Powell E. & Bretthauer, Kurt M., 2008. "Exact and heuristic solution approaches for the mixed integer setup knapsack problem," European Journal of Operational Research, Elsevier, vol. 190(3), pages 598-609, November.
    9. Bian, Zheyong & Bai, Yun & Douglas, W. Scott & Maher, Ali & Liu, Xiang, 2022. "Multi-year planning for optimal navigation channel dredging and dredged material management," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 159(C).
    10. Sagnol, Guillaume & Barner, Christoph & Borndörfer, Ralf & Grima, Mickaël & Seeling, Matthes & Spies, Claudia & Wernecke, Klaus, 2018. "Robust allocation of operating rooms: A cutting plane approach to handle lognormal case durations," European Journal of Operational Research, Elsevier, vol. 271(2), pages 420-435.
    11. Leticia Vargas & Nicolas Jozefowiez & Sandra Ulrich Ngueveu, 2017. "A dynamic programming operator for tour location problems applied to the covering tour problem," Journal of Heuristics, Springer, vol. 23(1), pages 53-80, February.
    12. Mohammadi, Mohammad & Noorollahi, Younes & Mohammadi-ivatloo, Behnam & Yousefi, Hossein, 2017. "Energy hub: From a model to a concept – A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 80(C), pages 1512-1527.
    13. Pisinger, David, 1995. "An expanding-core algorithm for the exact 0-1 knapsack problem," European Journal of Operational Research, Elsevier, vol. 87(1), pages 175-187, November.
    14. Zhenghua Long & Nahum Shimkin & Hailun Zhang & Jiheng Zhang, 2020. "Dynamic Scheduling of Multiclass Many-Server Queues with Abandonment: The Generalized cμ / h Rule," Operations Research, INFORMS, vol. 68(4), pages 1128-1230, July.
    15. Michel, S. & Perrot, N. & Vanderbeck, F., 2009. "Knapsack problems with setups," European Journal of Operational Research, Elsevier, vol. 196(3), pages 909-918, August.
    16. Mohammad Akbarpour & Scott Duke Kominers & Kevin Michael Li & Shengwu Li & Paul Milgrom, 2023. "Algorithmic Mechanism Design With Investment," Econometrica, Econometric Society, vol. 91(6), pages 1969-2003, November.
    17. Peyman Khezr & Vijay Mohan & Lionel Page, 2024. "Strategic Bidding in Knapsack Auctions," Papers 2403.07928, arXiv.org, revised Apr 2024.
    18. Hugh Ward & Peter John, 2008. "A Spatial Model of Competitive Bidding for Government Grants: Why Efficiency Gains Are Limited," Journal of Theoretical Politics, , vol. 20(1), pages 47-66, January.
    19. Christopher Hojny & Tristan Gally & Oliver Habeck & Hendrik Lüthen & Frederic Matter & Marc E. Pfetsch & Andreas Schmitt, 2020. "Knapsack polytopes: a survey," Annals of Operations Research, Springer, vol. 292(1), pages 469-517, September.
    20. Thomas, Dimitrios & Deblecker, Olivier & Ioakimidis, Christos S., 2018. "Optimal operation of an energy management system for a grid-connected smart building considering photovoltaics’ uncertainty and stochastic electric vehicles’ driving schedule," Applied Energy, Elsevier, vol. 210(C), pages 1188-1206.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:12:y:2020:i:11:p:185-:d:436505. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.