From f04361f0f0d666a3af8a7d4e3534d0225f412476 Mon Sep 17 00:00:00 2001 From: Nathan Fretz Date: Thu, 13 Feb 2025 21:11:52 +1000 Subject: [PATCH] Add Public Pool widget (#2185) --- public-pool/docker-compose.yml | 9 ++++++- public-pool/umbrel-app.yml | 44 +++++++++++++++++++++++++--------- 2 files changed, 41 insertions(+), 12 deletions(-) diff --git a/public-pool/docker-compose.yml b/public-pool/docker-compose.yml index a4da45ec2..cfc23813a 100644 --- a/public-pool/docker-compose.yml +++ b/public-pool/docker-compose.yml @@ -44,4 +44,11 @@ services: depends_on: - web - server - restart: on-failure \ No newline at end of file + restart: on-failure + + widget-server: + image: ghcr.io/getumbrel/umbrel-public-pool-widget:v1.0.0@sha256:b8861a5b79471377f1bfbf6733f11350970b482103d4ef4185f372350ffff6b3 + user: "1000:1000" + environment: + - PUBLIC_POOL_API_URL=http://public-pool_proxy_1/api/pool + restart: on-failure diff --git a/public-pool/umbrel-app.yml b/public-pool/umbrel-app.yml index 89d50a7ed..3e6a0cbb2 100644 --- a/public-pool/umbrel-app.yml +++ b/public-pool/umbrel-app.yml @@ -2,16 +2,19 @@ manifestVersion: 1 id: public-pool category: bitcoin name: Public Pool -version: "9c14003" +version: "9c14003-w" tagline: Fully Open Source Solo Bitcoin Mining Pool description: >- - Run your own Bitcoin Solo Mining Pool with no fees. - - Connected to your Bitcoin node, and only your node. Contribute to furthering bitcoin mining decentralisation. - - Allows you to pool together any and all mining hardware, with mining rewards going directly to your chosen bitcoin address. - - Track total hashrate and your individual works with ease. + Public Pool is an open-source, solo Bitcoin mining application that lets you run your own pool using your own node. + Instead of relying on centralized pools, Public Pool enables your mining hardware to submit work to your personal setup, ensuring that you have full control over your mining operation. + If you successfully mine a block, you receive the entire block reward. No splitting with other miners. No fees. No middleman. + + + On umbrelOS, Public Pool is automatically configured to work with your Bitcoin node—no extra setup required. Simply install the app, and it's ready to go. + + + To start mining, just point your mining hardware to your Public Pool instance using the stratum details provided in the app. + Monitor your total hashrate, track individual miners, and receive rewards directly to your chosen Bitcoin address. Mine independently and help strengthen Bitcoin's decentralization. developer: Benjamin Wilson website: https://web.public-pool.io/#/ dependencies: @@ -25,10 +28,29 @@ gallery: - 3.jpg path: "" releaseNotes: >- - This update brings Bitcoin Core v28 compatibility to Public Pool, along with a number of other improvements. + This update brings a brand new Public Pool widget, allowing you to see your pool stats at a glance right from your umbrelOS home screen! - If you have already updated your Bitcoin Node app to v28.0 and Public Pool is not working, this update will fix it. + To add this widget, right-click on your home screen and select "Edit widgets", or click on Widgets in the Dock. defaultPassword: "" +widgets: + - id: "stats" + type: "four-stats" + refresh: "5s" + endpoint: "widget-server:3000/widgets/pool" + link: "" + example: + type: "four-stats" + link: "" + items: + - title: "Hash Rate" + text: "968" + subtext: "GH/s" + - title: "Miners" + text: "1" + - title: "Blocks Found" + text: "1" + - title: "Block Height" + text: "883453" submitter: smolgrrr -submission: https://github.com/getumbrel/umbrel-apps/pull/915 \ No newline at end of file +submission: https://github.com/getumbrel/umbrel-apps/pull/915