{"id":24144947,"url":"https://github.com/plebhash/p2pool_btc_revival","last_synced_at":"2025-03-01T15:14:26.754Z","repository":{"id":268274777,"uuid":"903835864","full_name":"plebhash/P2Pool_BTC_revival","owner":"plebhash","description":"P2Pool BTC revival","archived":false,"fork":false,"pushed_at":"2024-12-17T04:46:13.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T06:13:26.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plebhash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-15T17:19:56.000Z","updated_at":"2024-12-17T04:46:17.000Z","dependencies_parsed_at":"2024-12-15T18:40:24.385Z","dependency_job_id":null,"html_url":"https://github.com/plebhash/P2Pool_BTC_revival","commit_stats":null,"previous_names":["plebhash/p2pool_btc_revival"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebhash%2FP2Pool_BTC_revival","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebhash%2FP2Pool_BTC_revival/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebhash%2FP2Pool_BTC_revival/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plebhash%2FP2Pool_BTC_revival/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plebhash","download_url":"https://codeload.github.com/plebhash/P2Pool_BTC_revival/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241381645,"owners_count":19953751,"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":[],"created_at":"2025-01-12T06:13:32.674Z","updated_at":"2025-03-01T15:14:26.723Z","avatar_url":"https://github.com/plebhash.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg width=\"200\" src=\"P2Pool_BTC_revival.png\"\u003e\n  \u003cbr\u003e\nP2Pool BTC revival\n\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003c/p\u003e\n\n`P2Pool` is a protocol for decentralized pooled mining of blockchains.\n\nthe protocol is [alive and well on Monero](https://p2pool.io)... and why not on Bitcoin???\n\nthis repo aims to provide an automated way to easily deploy [`P2Pool`](http://p2pool.in/) for Bitcoin mining.\n\nit automates the deployment of:\n- [`P2Pool v17.0`](https://github.com/p2pool/p2pool/releases/tag/17.0)\n- [`bitcoin core v0.13.1`](https://bitcoincore.org/bin/bitcoin-core-0.13.1)\n\n⚠️ note: this deployment can only mine pre-taproot blocks, which means its usage on mainnet is not economically rational (since potentially mined blocks would be rejected from most nodes).\n\n⚠️ note: this deployment is useful for research purposes, not real economically rational mining.\n\n# prerequisites\n\n- `x86-64` system\n- Docker\n\n# instructions\n\n## clone\n\n```shell\n$ git clone https://github.com/plebhash/P2Pool_btc_revival\n$ cd P2Pool_btc_revival\n```\n\n## run\n\nthe `.env` file contains important variables:\n- `PAYOUT_ADDRESS`: defaults to `16VcStqURGEdHx5UEYazDxRRx5UGNFeE3u`\n- `BITCOIN_SNAPSHOT_URL`: defaults to xxx todo xxx\n- `BITCOIN_SNAPSHOT_TARBALL`: defaults to xxx todo xxx\n\n⚠️ note: `PAYOUT_ADDRESS` should contain an address you control.\n\n⚠️ note: `PAYOUT_ADDRESS` MUST contain legacy addresses.\n\n⚠️ note: `BITCOIN_SNAPSHOT_URL` + `BITCOIN_SNAPSHOT_TARBALL` should contain a snapshot from a source you trust.\n\n```shell\n$ ./P2Pool_btc_revival.sh\n```\n\nrunning the script above will build and run a Docker image which will give the user a [`tmux`](https://github.com/tmux/tmux) session with the following panes:\n- logs of a running `bitcoind` node, where IBD was accelerated via snapshot\n- `P2Pool` (only after `bitcoind` has finished IBD)\n\n⚠️ note: you should replace `BITCOIN_SNAPSHOT_URL` + `BITCOIN_SNAPSHOT_TARBALL` on `.env` with your own trusted snapshot!\n\n⚠️ note: you can use `generate_snapshot.sh` script to create your own snapshot from a synced `bitcoind v0.13.1`.\n\n# roadmap\n\n- [x] `Dockerfile`\n- [x] `docker-entrypoint.sh`\n- [x] `P2Pool_BTC_revival.sh`\n- [ ] IBD snapshot","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplebhash%2Fp2pool_btc_revival","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplebhash%2Fp2pool_btc_revival","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplebhash%2Fp2pool_btc_revival/lists"}