-
Notifications
You must be signed in to change notification settings - Fork 17
public-pool self-hosting guide #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| --- | ||
| title: Self-Hosting Public Pool | ||
| --- | ||
|
|
||
| 1. 💻 [Windows](#-windows) - TODO | ||
| 2. 🍏 [MacOS](#-macos) - TODO | ||
| 3. 🐧 [Linux](#-linux) | ||
|
|
||
| ## 💻 Windows | ||
|
|
||
| ## 🍏 MacOS | ||
|
|
||
| ## 🐧 Linux | ||
|
|
||
| ### Installing Bitcoin Core | ||
|
|
||
| - download latest release from https://bitcoin.org/en/download | ||
| TODO: note about knots and btcd being usable as well | ||
| - extract everything in `bitcoin-XX.X/bin` to `/usr/local/bin`, and everything in `bitcoin-XX.X/share` to `/usr/local/share` | ||
|
Comment on lines
+31
to
+32
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this obviously needs to be expanded |
||
|
|
||
| ### Installing NodeJS | ||
|
|
||
| - ubuntu/debian: select the node.js runtime, your distro, and the latest lts version from https://nodesource.com/products/distributions | ||
| - arch: use nvm to install the latest lts | ||
|
|
||
| ### Configuring Bitcoin | ||
|
|
||
| #### Bitcoin Core/Knots | ||
|
|
||
| MAYBE: have a community mining config? | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this would be a nice to have, but the config would just be boosting the mempool to a gig and the orphan tx count to 1k dbcache=4000
maxorphantx=1000
maxmempool=1024
blockreconstructionextratxn=1000 |
||
|
|
||
| #### btcd | ||
|
|
||
| ### Getting and Starting Public-Pool | ||
|
|
||
| - `git clone https://github.com/benjamin-wilson/public-pool.git` | ||
| - `cd ./public-pool` | ||
| - install dependencies with `npm install` | ||
| - copy `.env.example` to `.env` and fill in `BTC_RPC_URL` and `BTC_RPC_COOKIEFILE` | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also needs expansion |
||
| - `npm start` | ||
| - point your miners to your _lan_ ip address | ||
| - profit (hopefully) | ||
Uh oh!
There was an error while loading. Please reload this page.