{"id":20497392,"url":"https://github.com/gitgab19/stratum-v2-master-degree-thesis","last_synced_at":"2025-09-25T06:31:11.704Z","repository":{"id":186086187,"uuid":"674600519","full_name":"GitGab19/Stratum-V2-Master-Degree-Thesis","owner":"GitGab19","description":"This repository contains my personal work done during the conclusion of the Master Degree course in Computer Engineering (Cybersecurity) at Politecnico di Torino.","archived":false,"fork":false,"pushed_at":"2023-08-08T09:50:49.000Z","size":55609,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T18:12:10.228Z","etag":null,"topics":["bitcoin","bitcoin-mining","mining-pool","mining-software","stratum","stratum-protocol"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitGab19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-04T10:36:41.000Z","updated_at":"2024-10-25T05:09:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fcd63d8-2eb5-4333-bc16-2ea870f1df16","html_url":"https://github.com/GitGab19/Stratum-V2-Master-Degree-Thesis","commit_stats":null,"previous_names":["gitgab19/stratum_v2_master_degree_thesis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitGab19%2FStratum-V2-Master-Degree-Thesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitGab19%2FStratum-V2-Master-Degree-Thesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitGab19%2FStratum-V2-Master-Degree-Thesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitGab19%2FStratum-V2-Master-Degree-Thesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitGab19","download_url":"https://codeload.github.com/GitGab19/Stratum-V2-Master-Degree-Thesis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234159098,"owners_count":18788710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","bitcoin-mining","mining-pool","mining-software","stratum","stratum-protocol"],"created_at":"2024-11-15T18:10:57.426Z","updated_at":"2025-09-25T06:31:01.694Z","avatar_url":"https://github.com/GitGab19.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Master Degree Thesis - Computer Engineering - Politecnico di Torino \n\u003cimg align=\"center\" src=\"https://ondequadre.polito.it/assets/img/logo_poli.png\" width=\"120\" height=\"55\"\u003e \u003cimg align=\"center\" src=\"https://stratumprotocol.org/assets/stratum-v2-icon-with-text.svg\" width=\"100\" height=\"55\"\u003e\n# Stratum V2: the next generation protocol for Bitcoin pooled mining \n\n### Abstract\n\u003cp align=\"justify\"\u003e\nBitcoin is a distributed, peer-to-peer electronic cash system.\u003cbr\u003e\nSince the publication of its white paper, on 31st of October 2008, Bitcoin has experienced a very rapid evolution. Many aspects of the protocol has changed in the years, permitting it to keep up with the exponential growth in terms of users, services and companies involved into it.\nThe primary focus of the entire research centers on one of the fundamental pillars of the entire ecosystem: Bitcoin mining.\nMore specifically, the thesis investigates the details of the approach that has characterized mining operations since Bitcoin's early history: pooled mining.\nThe introductory chapters of this thesis provide a comprehensive understanding of Bitcoin, its network composition, and the concept of Proof of Work. The subsequent chapters focus on mining, exploring both solo and pooled mining approaches, as well as the history and evolution of mining operations.\nDuring its growth, many protocols have been developed to manage the pooled mining operations, such as Getwork, Getblocktemplate (GBT), and Stratum (V1). \nHowever, the central focus of the thesis is Stratum V2: its inception, inner details, and the significant differences it brings compared to its predecessor, Stratum (V1). Concepts like protocol security, binary framing, and the power of transactions selection are deeply discussed, to provide all the detailed context necessary to understand the importance of this protocol update.\nThe current implementations of Stratum V2 are also discussed to provide a practical perspective on its adoption.\nIn addition to this, the thesis introduces the Stratum Reference Implementation (SRI), a key tool for understanding and experimenting with Stratum V2. Detailed explanations are provided on how SRI works, how to get started with it, and potential future directions for research and development.\u003cbr\u003e\nThe research concludes with a reflection on the advancements made in Stratum V2 and their implications for the future of Bitcoin pooled mining. The concept of SV2 protocol benchmarking is introduced, along with the exploration of non-custodial pools as a promising pathway for future innovation.\nOverall, this thesis aims to dig into the profound significance of Stratum V2 as a transformative protocol in the domain of Bitcoin pooled mining, and its potential to shape the landscape of mining practices in the years to come.\n\u003c/p\u003e\n\n### Chapters\n+ Chapter 1: '[Introduction](./Source/Chapter1/Introduction.tex)'\n+ Chapter 2: '[Bitcoin](./Source/Chapter2/)'\n+ Chapter 3: '[Mining](./Source/Chapter3/)'\n+ Chapter 4: '[History of pooled mining protocols](./Source/Chapter4/)'\n+ Chapter 5: '[Stratum V2](./Source/Chapter5/)'\n+ Chapter 6: '[Stratum Reference Implementation (SRI)](./Source/Chapter6/)'\n+ Chapter 7: '[Conclusion](./Source/Chapter7/Conclusion.tex)'\n\n### Eprint file from Politecnico Webthesis Repository\nIt's possible to look at preview and download the Thesis also from here: [https://webthesis.biblio.polito.it/27678/](https://webthesis.biblio.polito.it/27678/) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitgab19%2Fstratum-v2-master-degree-thesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitgab19%2Fstratum-v2-master-degree-thesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitgab19%2Fstratum-v2-master-degree-thesis/lists"}