So yeah, this is basically taking over that messy thread from before. Just wanted to focus on setting up testnet4.
Setting Up Testnet4 Containers for Bitcoin and Lightning
9 replies 156 views
TL;DR for those who wanna get straight to it:
- Running just a node, maybe a wallet.
- Getting into lightning by launching a node on testnet4.
- Planning to create a solo mining pool on testnet4.
- Yeah, I know it's risky but I want to CPU mine on testnet4.
I started messing with testnet4 and honestly, it was kinda tricky at first to set up a node or mine. So I decided to whip up some containers using ubuntu 24.04.
Container #1 is a simple one: just bitcoin core with sqlite3 wallet.
Check out the repo: https://github.com/mocacinno/btc_testnet4/tree/bci_node.
You need to have a Linux host running Docker, plus a spot for data like blocks and wallets. Just grab that docker-compose file from the link and you're good to go.
Then there's Container #2. It's bitcoin core plus lightning core 24.02.2.
Yeah, I know, I tried to split them up but they’re tangled together too much. So they’re in one container. Just use the same setup as the first one.
Container #3 is all about ckpool.
Pretty straightforward; it bundles the bitcoin core with the ckpool container. Just remember there's a 0% donation fee to my address. If you want different fees, edit your docker-compose.yml.
And finally, Container #4 is the cpuminer.
It's got JaDDee's cpuminer compiled. The docker-compose starts both the bitcoin node and the cpuminer process, but don’t forget to switch my wallet address to yours!
Is anyone else worried about potential vulnerabilities in these containers? Someone mentioned there's a risk everywhere, especially on web servers. Is that true? What’s the deal?
I've found a bunch of vulnerabilities on an ubuntu:24:04 container in my scans.
Like CVE-2024-36016, CVE-2024-26923... total of 94 vulnerabilities.
But my BCI minimal base image has zero detected vulnerabilities. So, I'm thinking it's way safer.
Just got my ckpool image set up. You can mine with no fees at fvm.mywire.org:3334 using wallet_addr_testnet4:x.
Oh, and it’s accessible via I2P and Yggdrasil-network if anyone's interested in that route.
Related topics
- Lightning vs Bitcoin: Separate Entities 21
- Exploring Programmatic Payments with Bitcoin and Lightning 2
- Setting Up Lightning Node with Zeus and Lightning Terminal 6
- Setting Up a Lightning Node with Umbrel: Channel Tips 3
- Exploring Privacy in Bitcoin: Lightning vs Monero and More 21
- Unlocking Einstein-Tiling: A Fresh Take on Lightning Network Efficiency 4