OSCMS: A Decentralized Open-Source Coordination Management System Using a Novel Triple-Blockchain Architecture
Abstract
:1. Introduction
- Using smart contracts, oracles and continuous integration tools, the OSCMS meets OS requirements under decentralization and provides relevant management functions, such as OS information recording, citation, feedback, rating, sponsorship and OS reward. These are all important components of OS and can promote the OS community. The new goals, organic combination and feasibility of these functions are emphatically studied. This work improves the traceability and trustworthiness of OS code and makes OS business and system management more automated.
- A novel triple-blockchain architecture is proposed to further coordinate and optimize the OSCMS, which is composed of three blockchains that cooperate with each other to maintain the system. For permission control, an identity authentication mechanism is designed, which allows for inter-community collaboration. A decentralized open-source reputation stored in the form of a Merkle Patricia tree is designed, which has incentive and reference values. Based on Ethereum, a triple-blockchain DPoS consensus mechanism is added, in which the same delegated miners are shared after a round of voting. Finally, a system prototype is built by modifying the Ethereum source code and creating relevant smart contracts.
2. Preliminaries and Related Work
2.1. Blockchain Technology
2.2. Related Work
2.2.1. Traditional Methodology
2.2.2. Blockchain-Based Methodology
3. Proposed Methodology
3.1. Overview of Proposed System
3.1.1. Identity Authentication
Algorithm 1 Register and authenticate in OSCMS |
Input: a random seed, CommunityID, user’s community authentication link Output: OSCMS authenticationResult: developer, general user or null
|
3.1.2. Computing and Storage of Open-Source Reputation
Algorithm 2 Oracle assists with smart contract for verification |
Input: , , Output:
|
3.2. OIChain
3.2.1. Contents of the Stored Data in OIChain
3.2.2. Module Design of OIChain
Algorithm 3 The entire process of OI submission by the user |
Input:
Output: or
|
Algorithm 4 Version traceability process of OI |
Input:
Output: //set of
|
3.3. CFChain
3.3.1. Contents of the Stored Data in CFChain
3.3.2. Module Design of CFChain
Algorithm 5 The whole process of submitting citations, feedback or ratings |
Input:
Output: or
|
3.4. RSChain
3.4.1. Contents of the Stored Data in RSChain
3.4.2. Module Design of RSChain
Algorithm 6 Brief pseudo code of reward smart contract template |
|
3.5. Consensus Mechanism in OSCMS
3.5.1. Limitations and Solutions
3.5.2. Delegate Elections
Algorithm 7 Brief pseudo code of voting smart contract |
|
3.5.3. Reaching a Consensus on Blocks
3.5.4. Incentive Tactic
4. Experiments and Results Discussion
4.1. Experiment Settings
4.2. Performance Evaluation under Different Parameters
4.3. Comparison of Different Architectures
4.4. Comparison of Different Consensus Algorithms
4.5. Security Analysis
4.6. Results and Discussion
- The OSCMS supports the rapid collection of global information, which is immutable and traceable. OSCMS can record the relationship between projects through smart contracts, and it can also provide easily accessible datasets for technologies such as machine learning.
- The token and decentralized reputation supported by blockchain are more conducive to incentives.
- The OSCMS has reshaped the trust model in the organization, trustlessness, enabling interaction and collaboration anywhere, anytime. A new identity management mechanism compatible with multiple communities has also been implemented in the OSCMS.
- Automation relies on smart contracts, which have higher transparency and credibility.
- The inherent decentralization of blockchain drives transparency and fairness in the governance process. Even delegates elected through the decentralized method are subject to comprehensive supervision. OS users can fully participate in every aspect.
- The requirements for the skills and costs of the participants have been reduced. Automation has been fully utilized, and some theft issues have been resolved through process coordination.
- The evaluation process has been redesigned to avoid losing credibility of the token or reputation.
- The identity authentication and permission management of the blockchain system have been studied, and solutions that are compatible with major communities have been proposed.
- These studies did not discuss the fairness and trustworthiness of consensus, and there was no in-depth discussion on the selected miners or supervision board. In the OSCMS, smart contracts cannot be freely published by someone or an organization. Delegates are transparently elected with limited power and subject to supervision by everyone.
- A novel triple-blockchain architecture is proposed, with higher efficiency and more coordinated relationships.
5. Conclusions and Further Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Butler, S.; Gamalielsson, J.; Lundell, B.; Brax, C.; Mattsson, A.; Gustavsson, T.; Feist, J.; Kvarnström, B.; Lönroth, E. Considerations and challenges for the adoption of open source components in software-intensive businesses. J. Syst. Softw. 2022, 186, 111152. [Google Scholar] [CrossRef]
- Maldeniya, D.; Budak, C.; Robert, L.P., Jr.; Romero, D.M. Herding a Deluge of Good Samaritans: How GitHub Projects Respond to Increased Attention. In Proceedings of the Web Conference 2020, WWW’20, Taipei, Taiwan, 20–24 April 2020; pp. 2055–2065. [Google Scholar] [CrossRef]
- Ohm, M.; Plate, H.; Sykosch, A.; Meier, M. Backstabber’s Knife Collection: A Review of Open Source Software Supply Chain Attacks. In Proceedings of the Detection of Intrusions and Malware, and Vulnerability Assessment, Lisbon, Portugal, 24–26 June 2020; Maurice, C., Bilge, L., Stringhini, G., Neves, N., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 23–43. [Google Scholar] [CrossRef]
- Rousseau, G.; Di Cosmo, R.; Zacchiroli, S. Software provenance tracking at the scale of public source code. Empir. Softw. Eng. 2020, 25, 2930–2959. [Google Scholar] [CrossRef]
- Kaur, R.; Kaur Chahal, K.; Saini, M. Understanding community participation and engagement in open source software Projects: A systematic mapping study. J. King Saud Univ.-Comput. Inf. Sci. 2020, 34, 4607–4625. [Google Scholar] [CrossRef]
- Constantino, K.; Souza, M.; Zhou, S.; Figueiredo, E.; Kästner, C. Perceptions of open-source software developers on collaborations: An interview and survey study. J. Softw. Evol. Process 2021, 35, e2393. [Google Scholar] [CrossRef]
- Charleux, A.; Viseur, R. Exploring impacts of managerial decisions and community composition on the open source projects’ health. In Proceedings of the 2nd International Workshop on Software Health, Montreal, QC, Canada, 28 May 2019; pp. 1–8. [Google Scholar] [CrossRef]
- Valentim, N.; Lopes, A.; César, E.; Conte, T.; Maldonado, J.C. An Acceptance Empirical Assessment of Open Source Test Tools. In Proceedings of the 19th International Conference on Enterprise Information Systems, Porto, Portugal, 26–29 April 2017; pp. 379–386. [Google Scholar] [CrossRef]
- Lu, S.; Li, H.; Jiang, Z. Comparative Study of Open Source Software Reliability Assessment Tools. In Proceedings of the 2020 IEEE International Conference on Artificial Intelligence and Information Systems (ICAIIS), Dalian, China, 20–22 March 2020; pp. 49–55. [Google Scholar] [CrossRef]
- Tamburri, D.A.; Palomba, F.; Serebrenik, A.; Zaidman, A. Discovering community patterns in open-source: A systematic approach and its evaluation. Empir. Softw. Eng. 2019, 24, 1369–1417. [Google Scholar] [CrossRef]
- German, D.M.; Robles, G.; Poo-Caamaño, G.; Yang, X.; Iida, H.; Inoue, K. “Was My Contribution Fairly Reviewed?” A Framework to Study the Perception of Fairness in Modern Code Reviews. In Proceedings of the 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE), Gothenburg, Sweden, 27 May–3 June 2018; pp. 523–534. [Google Scholar] [CrossRef]
- Sharma, P.N.; Savarimuthu, B.T.R.; Stanger, N. Extracting Rationale for Open Source Software Development Decisions—A Study of Python Email Archives. In Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), Madrid, Spain, 25–28 May 2021; pp. 1008–1019. [Google Scholar] [CrossRef]
- Sharma, P.; Savarimuthu, T.; Stanger, N. Influence of Roles in Decision-Making during OSS Development—A Study of Python. In EASE 2021, Proceedings of the Evaluation and Assessment in Software Engineering, Trondheim, Norway, 21–23 June 2021; Association for Computing Machinery: New York, NY, USA, 2021; pp. 50–59. [Google Scholar] [CrossRef]
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 29 March 2023).
- Wood, G. Ethereum: A Secure Decentralised Generalised Transaction Ledger. Available online: https://files.gitter.im/ethereum/yellowpaper/VIyt/Paper.pdf (accessed on 29 March 2023).
- Androulaki, E.; Barger, A.; Bortnikov, V.; Cachin, C.; Christidis, K.; De Caro, A.; Enyeart, D.; Ferris, C.; Laventman, G.; Manevich, Y.; et al. Hyperledger fabric: A distributed operating system for permissioned blockchains. In Proceedings of the Thirteenth EuroSys Conference, Porto, Portugal, 23–26 April 2018; pp. 1–15. [Google Scholar] [CrossRef]
- Brown, R.G. Corda: An Introduction. Available online: https://corda.net/content/corda-platform-whitepaper.pdf (accessed on 29 March 2023).
- Morgan, J. Quorum Whitepaper. Available online: https://github.com/ConsenSys/quorum-docs/blob/master/Quorum%20Whitepaper%20v0.1.pdf (accessed on 29 March 2023).
- Verma, N.; Jain, S.; Doriya, R. Review on Consensus Protocols for Blockchain. In Proceedings of the 2021 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS), Greater Noida, India, 19–20 February 2021; pp. 281–286. [Google Scholar] [CrossRef]
- King, S.; Nadal, S. Ppcoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake. Available online: https://bitcoin.peryaudo.org/vendor/peercoin-paper.pdf (accessed on 29 March 2023).
- Larimer, D. Dpos Consensus Algorithm-The Missing White Paper. Available online: https://steemit.com/dpos/@dantheman/dpos-consensus-algorithm-this-missing-white-paper (accessed on 29 March 2023).
- Arasev, V. POA Network Whitepaper. Available online: https://github.com/poanetwork/wiki/wiki/POA-Network-Whitepaper (accessed on 29 March 2023).
- Castro, M.; Liskov, B. Practical Byzantine Fault Tolerance. In OSDI ’99, Proceedings of the Proceedings of the Third Symposium on Operating Systems Design and Implementation, New Orleans, LA, USA, 22–25 February 1999; USENIX Association: 1999; pp. 173–186. [CrossRef]
- Szabo, N. Formalizing and Securing Relationships on Public Networks. First Monday 1997, 2. [Google Scholar] [CrossRef]
- Caldarelli, G. Understanding the blockchain oracle problem: A call for action. Information 2020, 11, 509. [Google Scholar] [CrossRef]
- Breidenbach, L.; Cachin, C.; Chan, B.; Coventry, A.; Ellis, S.; Juels, A.; Koushanfar, F.; Miller, A.; Magauran, B.; Moroz, D.; et al. Chainlink 2.0: Next Steps in the Evolution of Decentralized Oracle Networks. 2021. Available online: https://naorib.ir/white-paper/chinlink-whitepaper.pdf (accessed on 29 March 2023).
- Woo, S.; Park, S.; Kim, S.; Lee, H.; Oh, H. CENTRIS: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reuse. In Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), Madrid, Spain, 25–28 May 2021; pp. 860–872. [Google Scholar] [CrossRef]
- Rath, M.; Tomova, M.T.; Mäder, P. SpojitR: Intelligently Link Development Artifacts. In Proceedings of the 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER), London, ON, Canada, 18–21 February 2020; pp. 652–656. [Google Scholar] [CrossRef]
- Smirnova, I.; Reitzig, M.; Alexy, O. What makes the right OSS contributor tick? Treatments to motivate high-skilled developers. Res. Policy 2022, 51, 104368. [Google Scholar] [CrossRef]
- Barcomb, A.; Kaufmann, A.; Riehle, D.; Stol, K.J.; Fitzgerald, B. Uncovering the Periphery: A Qualitative Survey of Episodic Volunteering in Free/Libre and Open Source Software Communities. IEEE Trans. Softw. Eng. 2020, 46, 962–980. [Google Scholar] [CrossRef]
- Gerosa, M.; Wiese, I.; Trinkenreich, B.; Link, G.; Robles, G.; Treude, C.; Steinmacher, I.; Sarma, A. The Shifting Sands of Motivation: Revisiting What Drives Contributors in Open Source. In Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), Madrid, Spain, 25–28 May 2021; pp. 1046–1058. [Google Scholar] [CrossRef]
- Liao, Z.; He, D.; Chen, Z.; Fan, X.; Zhang, Y.; Liu, S. Exploring the Characteristics of Issue-Related Behaviors in GitHub Using Visualization Techniques. IEEE Access 2018, 6, 24003–24015. [Google Scholar] [CrossRef]
- Bock, T.; Hunsen, C.; Joblin, M.; Apel, S. Synchronous development in open-source projects: A higher-level perspective. Autom. Softw. Eng. 2022, 29, 1–53. [Google Scholar] [CrossRef]
- Zhang, P.; Liu, P.; Wang, N. Evolutionary analysis of developer collaboration network in Cloud Foundry OSS community. In Proceedings of the Knowledge and Systems Sciences: 20th International Symposium, KSS 2019, Da Nang, Vietnam, 29 November–1 December 2019; Proceedings 20. Springer: Berlin/Heidelberg, Germany, 2019; pp. 87–105. [Google Scholar] [CrossRef]
- Mishra, A.; Otaiwi, Z. DevOps and software quality: A systematic mapping. Comput. Sci. Rev. 2020, 38, 100308. [Google Scholar] [CrossRef]
- McAffer, J. Getting Started With Open Source Governance. Computer 2019, 52, 92–96. [Google Scholar] [CrossRef]
- Eckert, R.; Stuermer, M.; Myrach, T. Alone or Together? Inter-organizational affiliations of open source communities. J. Syst. Softw. 2019, 149, 250–262. [Google Scholar] [CrossRef]
- Drost-Fromm, I.; Tompkins, R. Open Source Community Governance the Apache Way. Computer 2021, 54, 70–75. [Google Scholar] [CrossRef]
- Salman, T.; Zolanvari, M.; Erbad, A.; Jain, R.; Samaka, M. Security Services Using Blockchains: A State of the Art Survey. IEEE Commun. Surv. Tutor. 2019, 21, 858–880. [Google Scholar] [CrossRef]
- Bose, R.J.C.; Phokela, K.K.; Kaulgud, V.; Podder, S. BLINKER: A Blockchain-Enabled Framework for Software Provenance. In Proceedings of the 2019 26th Asia-Pacific Software Engineering Conference (APSEC), Putrajaya, Malaysia, 2–5 December 2019; pp. 1–8. [Google Scholar] [CrossRef]
- Hu, Q.; Asghar, M.R.; Zeadally, S. Blockchain-based public ecosystem for auditing security of software applications. Computing 2021, 103, 2643–2665. [Google Scholar] [CrossRef]
- Zheng, Y.; Boh, W.F. Value drivers of blockchain technology: A case study of blockchain-enabled online community. Telemat. Inform. 2021, 58, 101563. [Google Scholar] [CrossRef]
- Zeng, Q.; Zhang, X.; Wang, T.; Shi, P.; Fu, X.; Feng, C. BBCPS: A Blockchain Based Open Source Contribution Protection System. In Blockchain and Trustworthy Systems; Zheng, Z., Dai, H.N., Tang, M., Chen, X., Eds.; Springer: Singapore, 2020; pp. 662–675. [Google Scholar] [CrossRef]
- Alimoğlu, A.; Özturan, C. Design of a Smart Contract Based Autonomous Organization for Sustainable Software. In Proceedings of the 2017 IEEE 13th International Conference on e-Science (e-Science), Rome, Italy, 9–11 October 2017; pp. 471–476. [Google Scholar] [CrossRef]
- Canidio, A.; Costa, G.; Galletta, L. VeriOSS: Using the blockchain to foster bug bounty programs. Open Access Ser. Inform. 2021, 82, 1–14. [Google Scholar] [CrossRef]
- Qayum, A.; Razzaq, A. A Self-Evolving Design of Blockchain-based Open Source Community. In Proceedings of the 2020 3rd International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan, 29–30 January 2020; pp. 1–11. [Google Scholar] [CrossRef]
- Singi, K.; S, P.D.; Kaulgud, V.; Podder, S. Compliance Adherence in Distributed Software Delivery: A Blockchain Approach. In ICGSE ’18, Proceedings of the 13th International Conference on Global Software Engineering, Gothenburg, Sweden, 27 May–3 June 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 131–132. [Google Scholar] [CrossRef]
- Król, M.; Reñé, S.; Ascigil, O.; Psaras, I. ChainSoft: Collaborative Software Development Using Smart Contracts. In CryBlock’18, Proceedings of the 1st Workshop on Cryptocurrencies and Blockchains for Distributed Systems, Munich, Germany, 15 June 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 1–6. [Google Scholar] [CrossRef]
- R P, J.C.B.; Singi, K.; Kaulgud, V.; Phokela, K.K.; Podder, S. Framework for Trustworthy Software Development. In Proceedings of the 2019 34th IEEE/ACM International Conference on Automated Software Engineering Workshop (ASEW), San Diego, CA, USA, 11–15 November 2019; pp. 45–48. [Google Scholar] [CrossRef]
- Li, C.; Qu, X.; Guo, Y. TFCrowd: A blockchain-based crowdsourcing framework with enhanced trustworthiness and fairness. EURASIP J. Wirel. Commun. Netw. 2021, 2021, 168. [Google Scholar] [CrossRef]
- Ren, W.; Wan, X.; Gan, P. A double-blockchain solution for agricultural sampled data security in Internet of Things network. Future Gener. Comput. Syst. 2021, 117, 453–461. [Google Scholar] [CrossRef]
- Wang, W.; Wang, L.; Zhang, P.; Xu, S.; Fu, K.; Song, L.; Hu, S. A privacy protection scheme for telemedicine diagnosis based on double blockchain. J. Inf. Secur. Appl. 2021, 61, 102845. [Google Scholar] [CrossRef]
- Fu, Y.; Zhu, J. Trusted data infrastructure for smart cities: A blockchain perspective. Build. Res. Inf. 2021, 49, 21–37. [Google Scholar] [CrossRef]
- Vassallo, C. Enabling Continuous Improvement of a Continuous Integration Process. In Proceedings of the 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE), San Diego, CA, USA, 11–15 November 2019; pp. 1246–1249. [Google Scholar] [CrossRef]
- Koblitz, N. Elliptic curve cryptosystems. Math. Comput. 1987, 48, 203–209. [Google Scholar] [CrossRef]
- Ferdous, M.S.; Chowdhury, M.J.M.; Hoque, M.A. A survey of consensus algorithms in public blockchain systems for crypto-currencies. J. Netw. Comput. Appl. 2021, 182, 103035. [Google Scholar] [CrossRef]
- Bamakan, S.M.H.; Motavali, A.; Bondarti, A.B. A survey of blockchain consensus algorithms performance evaluation criteria. Expert Syst. Appl. 2020, 154, 113385. [Google Scholar] [CrossRef]
Conditions or Parameters | Description | Default |
---|---|---|
S | Block size, measured by Ethereum’s gas | 7,000,000 gas |
bpi | Block production interval/yime window size | 3 s |
BPN/TN | The number of block-producing nodes/total nodes | 15/150 |
r | Offline rate of block-producing nodes | 0% |
epoch | Number of interval blocks for adjusting BPNs | 300 |
A:B:C:D:E | Ratio of submission transactions: A is to submit OI in OIChain (two steps: 101,495 + 31,054 gas); B is to submit feedback in CFChain (32,504 gas); C is to submit rating in CFChain (76,260 gas); D is to sponsor in RSChain (40,063 gas); E is to commit reward solution in RSChain (two steps: 98,517 + 29,802 gas) | 1:3:3:2:1 |
a:b:c:d:e | Ratio of query transactions: a is to query OI from OIChain; b is to query a feedback item from CFChain; c is to query the of a developer’s OI from CFChain; d is to query query the total historical sponsorship amount of an OI from RSChain; e is to query reward amount from RSChain | 4:2:2:1:1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, J.; Zhao, Y.; Chen, X. OSCMS: A Decentralized Open-Source Coordination Management System Using a Novel Triple-Blockchain Architecture. Appl. Sci. 2023, 13, 6580. https://doi.org/10.3390/app13116580
Chen J, Zhao Y, Chen X. OSCMS: A Decentralized Open-Source Coordination Management System Using a Novel Triple-Blockchain Architecture. Applied Sciences. 2023; 13(11):6580. https://doi.org/10.3390/app13116580
Chicago/Turabian StyleChen, Jiakai, Yishi Zhao, and Xiao Chen. 2023. "OSCMS: A Decentralized Open-Source Coordination Management System Using a Novel Triple-Blockchain Architecture" Applied Sciences 13, no. 11: 6580. https://doi.org/10.3390/app13116580
APA StyleChen, J., Zhao, Y., & Chen, X. (2023). OSCMS: A Decentralized Open-Source Coordination Management System Using a Novel Triple-Blockchain Architecture. Applied Sciences, 13(11), 6580. https://doi.org/10.3390/app13116580