FunkyPenguin’s Turtle Pool Secrets

A lot of you out there have questions about how pools work and what goes into running a successful one. Today we’re checking out an interview with FunkyPenguin who runs probably one of the coolest setups I’ve seen so far with all of the pools I’ve seen. Maybe I’m just a nerd, but I have a big appreciation for the way he’s doing things.

You’re gonna love this one!

RockSteady
Thanks again for agreeing to the interview. The purpose of this interview is for us to highlight smaller pools that have unique things about them. Giving exposure to smaller pools is important in diversifying the hashrate. I hope today to hear about you, your pool, your history in mining and what a user might find unique about your pool.

funkypenguin 

Cool

RockSteady

Your pool is a cool one, and I think the miners as well as developers will appreciate the unique qualities to it. You first came on my radar with some of the interesting infrastructure work you were doing behind the scenes. I’d like to get in to that soon, but first, tell us how you got involved in TurtleCoin, and what led to you running a pool.

funkypenguin 

(I’ve documented this here: https://www.funkypenguin.co.nz/opinion/what-is-turtlecoin-and-why-do-i-care/), but here’s the off-the-cuff version

I was opportunistically looking for coins to mine after the Monero Cryptonight v7 fork, so I spent some time on cryptunit.com. Every so often, I’d see “TurtleCoin”, and laugh at what a silly name it was, and how ridiculous the crypto space had become.

Somewhere (maybe Reddit) I saw the headline for the BlockZero (Kevin Rose) podcast featuring TurtleCoin, and the name triggered some brand recognition. The level of respect that Kevin had for the project, and the way “community” was highlighted, changed my initial skeptical opinion, and I jumped into the Discord

I felt that I wanted to be more than another opportunistic miner, and that a “baby” cryptocurrency was a good place to start learning. (There was no NZ mining pool)

I’d already spent 6-8 months building my Geek’s Cookbook (a collection of self-hosted apps running within Docker Swarm), and wondered whether I could build a TurtleCoin mining pool. I figured I should start with a testnet, so I started asking some questions in #dev_general, and @SoreGums pointed me in the right direction. I ended up submitting a PR for a testnet Docker instance of the TurtleCoin daemon which could be used to create a testnet in total isolation from mainnet.

Having built a testnet, I started working on the mining pool, learning about wallet/daemon/redis/pool, and how they interrelate. I wrote up the Docker Swarm design (a bit outdated now).

Turtle Pool – Funky Penguin’s Geek Cookbook

There were some interesting challenges re how the pool components talked to each other, some of which lined up very well with the “one-process-per-container” model of Docker. I sort of fell into it from there, started mining in my pool, discovered that I could advertise in #mining , posted my pool to r/TRTL a few times, and enjoyed the process of mining “together” with other geeky crypto enthusiasts

RockSteady

It’s great that you’ve documented your journey the whole way, and as a microservice nerd in my own life, I feel a personal respect for what you’ve done.

funkypenguin

(To be honest, I also want to profit from crypto, and I figured I’d leverage my systems experience to build pools to amass some coins, rather than strictly mining-and-selling-and-hodling)

RockSteady

You’ve got a cool frontend on your pool, and as I remember, you were one of the first to have the new-style interface. What are some of the unique qualities of your pool that would be interesting to a miner looking to diversify their hashrate some?

funkypenguin

I polled my miners on this question, asking “what features does a miner really care about?”. The best response was from @slashatello, who said “miners care about.. BLOCKS”. I was interested in the telegram/email notifications from https://github.com/dvandal/cryptonote-nodejs-pool, which remain my favourite feature. Here’s an example:

RockSteady

That looks cool, break it down for me- what’s going on in that pic?

funkypenguin

11:57 : The pool restarted (I’m running turtlecoind-ha, that’s another story), my rig connected

12:04 : The same again (this happens when the daemon gets stuck, it sometimes takes a few goes to restore stability)

12:07 : One of the miners finds a block. Yay! Now we wait 20 min to confirm it’s not an orphan

12:11 : Yes, daemon restarts again

12:29 : Block is not orphaned, now is the first time (based on these notifications) we see what our effort was (43%). Unlike the original turtle-pool software, lower % is better, so we “found” this block in 43% of the time we’d statistically expect to (we were lucky)

<by this time, the wallet has received the block reward. Redis calculates how much each miner is due, and payments are prepared>

12:31 : The pool sends the miners their portions of the block reward (minus my 0.0987654321% fee), everyone is happy

(the fee is a funny story actually – when I first setup the pool, I looked at the list of pools and saw someone else’s pool listed as 0.0987..%. I thought it was a clever attention-grabbing move, so I adopted it for myself. I think I read later that it was just a math bug!)

RockSteady

That’s pretty funny, actually! Thanks for giving us the play by play. That’s a pretty intricate setup. So you’ve made a pool, and you’ve written guides and Dockerfiles for us, what don’t you do?! You’re awesome! What do you have planned for the future, and what are you interested in learning right now?

funkypenguin

Thank you Well, this daemon restarting thing is a bit of a PITA, and the original platform I ran my swarm on was heavily contended at times, so I’ve just finished migrating the pool to a Google Kubernetes Engine (GKE) cluster. I still have the occasional daemon issue (as evidenced above), but we seem to recover from a stalled daemon with a few quick restarts.

I overspeced the GKE cluster when I built it (I’m only using 22% of my resources for Turtle/Moneytips pools), so I’m currently playing with autoscaling the cluster, as well as using a “tainted” nodepool running (cheap) pre-emptive node instances for doing CPU-heaving stuff like syncing new coins blockchains. The fact that they’re pre-emptive means that Google could turn them off at any time, but the GKE engine would just spin me up a new one in a few min, and for the purposes of an initial blockchain sync, I don’t need to maintain any sort of availability

So I’m enjoying learning more about the world of Kubernetes / Terraform. I’m also continuing to build the Geek’s Cookbook community, the Discord gets quite busy at times, and there’s now enough geeks on board that I don’t end up answer every question myself, which is great to see.

I’ve dabbled with “livestreaming”/”livecoding” – last night I had an audience of 4 geeks watching me configure Lidarr with NZBHydra – thrilling stuff!

Oh, and my new darling, Prometheus/Grafana – I’ve been building on the “swarmprom” stack , adding prometheus exporters for nvidia GPU stats, Emby, Nginx, etc

funkypenguin 

I’m planning on doing Geek’s Cookbook Vol II – The Kubernetes Edition, although how I combine this all into the same content structure is YTBD.

One of the challenges with either Swarm or Kubernetes is that it’s very hard to have the original source IP of the miner visible to your pool, because of all the layers of load balancing and NAT that applied. This means that you can no longer ban bad/misconfigured miners by IP address (because you don’t have their IP address). I haven’t found a failsafe solution for this yet, but I have an open bounty for providing a way to ban miners based on TRTL address, rather than IP address. I also had to add a workaround to the pool software to bypass the IP-address-check which you’d normally have to pass, in order to enable/disable email notifications.

RockSteady

If you had to make an appeal to miners out there wanting to spread out the hashrate some, what would be an advantage of choosing your pool?

funkypenguin

While I originally tried to “corner the market” on an NZ / AU pool, truth is that the latency to NZ has no impact on blocks found, in real world observation. 90% of our pool hash (@Slash-atello) is from the US. So I’d appeal to TRTL miners (worldwide) who are also into microservices / homelab / self-hosting (and LEGO, high-fiving @bruceleon) to not just mine with us but come and “geek out” with us in Discord at http://chat.funkypenguin.co.nz

RockSteady

I think I’ve got everything we need, is there anything you wanted to add that I may have missed?

funkypenguin

Probably yet (yet another) acknowledgement that the “secret sauce” in TRTL, which stands out from other coins, is the focus on community and fun. Thanks for welcoming me

RockSteady 

Thanks for being a part of this experience!

Continue Reading →

Interview w/ Cision from Turtle Pool Party

turtle.atpool.party

Decentralizing the network hash rate is important, so that any one pool owner going rogue or a single server breaking doesn’t also tank the rest of the network. The purpose of this new series is to encourage the decentralization of mining power by highlighting unique pools that are coming up in the TRTL mining biz. Choosing a smaller pool helps the network secure your assets by not giving any single person enough power to call the shots for you. Thanks for choosing to balance the hashrate, and I hope you enjoy the interview  – RockSteady

RockSteady – Thanks for taking the time to do this interview. The purpose of the interview series is to help spread out the community’s mining power by highlighting smaller pools that have cool and unique things about them. This week, we’ve chosen turtle.atpool.party

turtle.atpool.party is one of the longest running pools on the TRTL Network, and at times was even the biggest. How long have you been operating mining pools in general, and how long have you been operating a TRTL mining pool?

Cision – First off, I would like to thank you and the other devs for giving the smaller pools this great opportunity to shine and get some new miners 🙂 To be honest my TurtleCoin pool was my first cryptopool since back in 2010 when i had my own Bitcoin pool where my friends and I mined. I started my TurtlePool back in January (2018-01-17 – 7:52AM , if my logs are correct) it has been a long journey, I’ve gained a lot of experience and valuable knowledge in crypto.

RockSteady – If you had to highlight one unique thing about your pool to a new user, what would it be?

Cision – We have our own unique design with a bunch of detailed statistics from days, weeks and months. Then our geolocation system that let you connect with low latency to our pool all around the world, ops that was two things 🙂

RockSteady – That’s cool about the geolocation. Tell me more about that, what brought it on, and what’s it do for the miner?

Cision – It did all start with a couple of miners from USA and Asia that really wanted to mine at our pool but they didnt want 200-400ms latency while doing it so we came up with a leaf system that let users mine to a node close to them instead (1-50ms) and this node acts like a leaf for our pool so we cut the latency by 50-90% around the world, we are using Amazon for our geolocation routing system (Route 53) to put them on a leaf closest to them and with the best latency. This means we only need to have one pool for USA, EU and Asia, we can put them under the same roof and build a strong community around it.

RockSteady – Interesting! How did you find TRTL, and how has mining changed since you started?

Cision – It was actually a pure coincidence because fruktstav from z-pool invited me to start mine at his pool and told me about TurtleCoin, i think he posted about it on Facebook in a Swedish group if i remember correct. TurtleCoin was my first coin i started to mine after my Bitcoin drive back in 2010-2011 so i havent mined anything else before it and i stuck with it because of the amazing community. Mining has changed for me from being a little extra income to learning so much new in the field and blockchain technology.

RockSteady – What is next on the agenda for your pool? Do you plan to do anything new soon?

Cision – Next up will be stats per worker so they will be visible on the frontend and not only over the API.

RockSteady – What other services do you run or plan to launch?

Cision – We run our own block explorer over at https://turtle-block.com/ and publicnodes at https://turtle-node.com/ Right now we are focusing on to get some businesses interested into using TurtleCoin as payment method.

RockSteady – That’s great, I hope more people take ownership of the future of the network by approaching vendors for similar integrations. In your opinion, where would you like to see TRTL going next if you had it your way?

Cision – I would like to see TurtleCoin being picked up by the gaming community, its a big community and they would have use for a coin like this thats fast and have good support from devs and community itself.

RockSteady – Is there anything you’d like to add?

Cision – I would like to wish everyone good luck on their crypto adventures

RockSteady –  good interview, I’ll get it up tonight

Cision – ok  im heading to bed
see u tomorrow

RockSteady – night

Continue Reading →