Categories
Weekly Update

This Week In TurtleCoin (Feb 4, 2019)

Developer Updates

I’ve managed to get the TurtleCoin binaries to compile on Alpine. There were a couple of issues that were preventing this. The first issue is that ucontext was deprecated in POSIX which musl adheres to. Thankfully someone had created a library that solves the problem. The second issue was that musl has a PAGE_SIZE macro defined in limits.h that was conflicting with a parameter used on slow-hash.c. This has now been changed to page_size in the core, resolving the conflict. So far, I’ve created three images. The first image, which is meant to be a starting point for your own images, builds all the binaries in Alpine then copies them to a scratch container resulting in an image size of 22.6MB. The zedwallet container comes in at 7.96MB and the TurtleCoind image, which includes checkpoints, is only 90MB. I plan to create a series of docker-compose files that will tie them together to help accomplish various tasks. You can view the images on Docker Hub – Andrew | trtl.rocks

https://hub.docker.com/r/andrewnk/turtlecoin or on github: https://github.com/andrewnk/turtlecoin-docker

 

trtl-rocks – I’ve made several improvements and changes to the website. I made a silly logic error that caused the initial load time to vary drastically or stall altogether. If the node or pool API is not accessible, then it won’t be shown on the site. If you don’t see your node or pool in the list, this is most likely the reason. I’ve cleaned up the line chart, including formatting y-axis and point labels, which should help readability. I’ve added tooltips to most table headers that describe what the column represents. These can be turned on or off by toggling the Tooltips switch on the bottom right hand of the screen. Finally, I’ve added the ability to switch the line chart between live and historical data. On initial load, the live mode will be enabled and updates are displayed whenever the data is pushed from the database. I’m in the process of rewriting iburn’s blockexplorer-cache library to use sequelize, which will help me move on to the block explorer portion of the site. – Andrew | trtl.rocks

https://github.com/andrewnk/turtle-explorer

Turtle Simulator has now been uploaded to GitHub! If you want to help with the project, or if you if you are interested in game design, check out the code and give me a message in #Dev_gaming channel! Im looking for anyone who knows: 3d Modeling/ Animation/ UV maps. Coding in UE4, Blueprints or C++ Music /Audio Ideas / Level design It’s a massive project I’ve undertaken so any help takes something off my to-do list. Thanks in advanced! Looking forward to see what we can make together! Oiboo P.s No minimum skill level, all help will be appreciated! – Oiboo

https://github.com/Oiboo/TRTL-Simulator

Promote Your Bounty

500,000 TRTL – Currently I am seeking a pair of PHP hands that have the skill to implement some necessary connections to a particular API database, and implement it into a WordPress website. Not completely being able to foresee all the tasks but I believe it will be a one-time effort, realisable in a day, spread over two weeks. Please PM me for more information. – 476190.47619047

Community Advertising

Hey! I just wanted to remind you guys the best server to sync your wallet with is still turtlenode.online! Thanks! -Morpheus

Shoutouts & Thanks

Sups – Great support from Belorion in helping get the Nibblebox all in one miner running smoothly for NibbleClassic!

funkypenguin – Shoutout to @Rock’s new avatar, which is scary-as-hell (gah, i changed it before i saw this – rock)

anon – fuck you rock i know u read this

dsanon – <3 the turtlecoin community.

anonymous – will you go to prom with me zpalm

 

Categories
Weekly Update

This Week In TurtleCoin (Jan 21, 2019)

Developer Updates

cryptonote-nodejs-pool – I’ve just finished updating the pool software for the upcoming fork, building on the fine work of the Plenteum developers. Check it out in action at fork-o-clock, over at https://trtl.heigh-ho.funkypenguin.co.nz 🙂 – funkypenguin

https://github.com/funkypenguin/cryptonote-nodejs-pool

Mobile Wallet – Hello, Not sure when I last gave an update. I have done most of the work on the wallet backend, and now I am starting on the mobile app UI. It’s a lot easier to find bugs when you start actually making the wallet. This probably will be the easiest part of making the wallet, but I’m not great at design so it’s a little slow. I’m not sure how tricky it is to get iOS wallet apps onto the App Store these days – I was under the impression they didn’t allow them, but I did recently see another relatively small crypto who had got a wallet on there. Fortunately react native supports iOS, so once the Android is done, I will certainly look into it. Not a massive fan of the license fee you have to pay, nor do I have an iOS device for testing… but at least we won’t have to write much more code. Thanks to iburnmycd for his turtlecoin-utils module – This has taken a decent amount of the hard bits of code to write off my shoulders. I recently also added support for syncing via the TurtlePay blockchain cache API in the backend – (https://docs.turtlepay.io/blockapi/) – currently this isn’t much faster than a daemon, however, I think it will probably have much better uptime, which should help avoid people wondering why their wallets are not syncing. – Zpalm

https://github.com/zpalmtree/ton-chan

TRTLfarm – TRTLfarm is an online virtual farming game build on top of TRTL.services by Boris. People can buy farm animals with TurtleCoin, which return produce based on their programmed production speed. The game started out as a small project, but has blown up quickly. Boris has working hard past few days and just finished implementing a leaderboard where turtles can track their rank. While I will giving the UI a touchup, Boris will be working on a surprise! Join us in the discord to discuss development and provide feedback! https://discord.gg/X7b7GWW – fexra

https://trtlfarm.com

WalletShell – Got help from very nice friends, who was willing to help me debugging and provides a tested macOS build. New macOS build is available here: https://github.com/turtlecoin/turtle-wallet-electron/releases/download/v0.3.7/WalletShell-v0.3.7-mac.dmg It’s confirmed to be working, but was only lightly tested and there may be bugs slips here & there. So if you happened to found one, please file a bug report on github. Thanks to @greywolf & @Messier_45 for your help! – labaylabay

https://github.com/turtlecoin/turtle-wallet-electron

CryptoNode Helper – Since I learned to use Docker for serving my TurtleCoin public node, I decided to script some of the commands I was using a lot. I chose to do it in a way that other people may benefit; and also to improve my coding skills along the way. Six weeks later; I have something that works well enough to share. In the video, I spin up a daemon in less than 5 minutes (excluding compile time and syncing the chain), and start the CPU miner. The repo comes with a few examples you can use yourself or adapt for your own CN coin. Feel free to raise issues on the GitHub or contribute some code yourself. It’s not perfect by any means, but it’s what I use! – Morpheus

https://asciinema.org/a/222640

https://github.com/19morpheus80/helper

TurtlePay – It’s been a busy week but I managed to get the callbacks documented at https://docs.turtlepay.io. This week I’m hoping to find time to build out a few more API calls for advanced developers. – IBurnMyCd

https://turtlepay.io

Nest Multiple Language Support – I added internationalization support to the Nest wallet! Nest now detects your OS locale, and displays in your language if a translation file has been added. – Turtley McTurtleton

https://github.com/jerme404/turtle-nest-fork/blob/i18n/docs/translating-nest.md

Raspberry PI Daemon Guide – I wrote a little guide to get set up with pi64 and running a node on a raspberry pi 3 b to celebrate ARM builds being fixed! Check it out and feel free to suggest improvements. Thanks – ExtraHash

https://github.com/turtlecoin/turtlecoin/wiki/Running-TurtleCoind-on-Pi

TurtleCoind finally runs like a charm on ARM(Pi) – The long wait is over. You can now run your TurtleCoin node on ARM(Pi). Over the past 1 month and many sleepless nights, we’ve finally cracked the segmentation fault problem with the TurtleCoin daemon on the ARM64 architecture. Now your node will run happily on any of your favorite 64-bit SoC board, such as Raspberry Pi 3(+), OrangePI One Plus, Rock64(Pine) and many more. If you are an early adopter and would like to test it, all you need is to clone the development branch of the TurtleCoin repo from github and compile your own binaries. We will release and publish the binaries for you to download for the ARM platform with the next scheduled release. Thank you to @iburnmycd, @thinkpol, @zpalmtree, @rashedmyt, @fexra, as well as to my dear wife @imrealeqra for waking me up from taking a nap on my keyboard every day in the past month around 5am morning 🙂 – LeoCuvée #1481

From The Blog..

Promote Your Bounty!

50,000 TRTL – it is good for the marketing, i think it is perfect – Guang

140,000 TRTL – Make an open-source, easily integratable web miner for turtlecoin and optionally host it on your own website. – Sajo8

Community Advertising

  • Two brand new community projects to check out already this year! Who sent 10 turtle by MrRovot and a custom minecraft server by WarLordN1k. So come any play all the communities amazing games @ games.turtacus.com
  • FREE public node, one of the only free ones left. greywolf Germany turtlenode.co http://turtlenode.co:11898/feeinfo
  • TurtleDice – Bet and try your luck with this new gambling website. You choose your winning chances and we roll the dice for you! No registration, fair and fun playing! https://turtledice.de.cool
  • Free Turtle Coin for cool dudes! Yup thats what we have here. Just click the link, collect your coin, and be excellent to each other!  https://trtl.faucet.llama.horse
  • FREE public node – one of only 3 FREE public nodes remaining. you can connect the CLI or Nest wallets to this FREE public node, based on 4 core Xeon, 200GB SSD, 8GB RAM VPS, located in Germany. http://turtlenode.co/connect/connect-to-node.html

Shoutouts & Thanks

Rogerrobers – Shout out to CapEtn

Captain Jac) – Shoutout to all turtles and welcome to all new ones

DazCat – I want to thank everyone in Discord for the warm welcome and quick answers to my questions 🙂

rock – I may have forgot to erase some of these from last week..

rock – shouts out to the people who leave funny pics and msgs in the roundup form with no descriptions. It always gives me a chuckle 🙂

BobbyBlank – Props to everyone who make TurtleCoin possible – from the humble gang of developers, to the community-at-large. Thanks for doing what you do, everyone – keep up the great work!!!

Sups – Great collaboration, Plasticus and Bazza working together to get the block Explorer working properly, nice work guys!

Specter – No matter how bad things seem to be, be thankful you are alive, that can all end in an instant, so fast, and nothing we can do to stop it. Take a moment to tell a loved one or a friend how much they mean to you. Don’t live with that regret.

LabayLabay – @greywolf for being super nice, wish you all the best!

canti – I met a homeless man on my way home from work today. He was convinced he was Steve Jobs and that the CIA faked his death to benefit capitalism, despite looking like Gary Oldman’s 20 year older brother. I had a morbid curiosity that made me want to hear out his ramblings, so I sat down to listen to his story. He told me he was in his prime and on top of the world until he brought up an idea he had to the overlords at Apple. (“Overlords” was his word not mine, just thought I’d throw that in.) This idea, it turns out, had to do with Apple’s stance on privacy, business, and innovation, and how he wanted to expand it into the monetary world. He told me how this idea, particularly how he wanted to bring it about, didn’t particularly jive with the other higher ups, whom he called “The Suits”; they only saw dollar signs in their eyes. Fast forward a few years now – after replacing him with a frail lookalike for public appearances, they ultimately faked his death, and go on to release Apply Pay back in 2014, which he says was a bastardization of what he wanted to bring to the world. But what about our protagonist? Well, he said by this point he had already been ostracized from the company and rejected by his peers, so he had delved back into the shadows, working in privacy on his true vision. He said he worked on a project with a couple friends for a while that went the wayside, but ultimately led him to where he’s at now, slowly working to make his dream a reality. The man I met? He wasn’t homeless at all as I originally thought, just a bit disheveled and maybe a bit stoned. Today I met RockSteady, the founder of TurtleCoin, and found out the secret behind his true identity.

japakar – http://prntscr.com/m9zfwf

Rock – Shoutout to Teacup for all the art! Thanks to all the release testers!  Big thanks to WZA for the neighborliness! shouts to Alien for the diversified input sizes! big whats up to the turtles we only see during certain times of year.. shout out to that scrawny kid Connie I ran in to on mushrooms at the vegan market!

 

 

 

See you guys next week 🙂 Go teach a friend something!

 

 

 

Categories
Weekly Update

This Week In TurtleCoin (Jan 15, 2019)

Developer Updates

Core Update – For those of you who haven’t heard yet, at block 1,200,000 (or in 17d 4h 17m 0s) we will be upgrading the network to a new hashing algorithm, CN Turtle. If you’d like to know more about CN Turtle and the fork, check out the articles below, but in short, it’s about renewing our commitment to keep ASIC off the network.
If you’re a normal user, just update your core software or gui wallet and you should be fine, if you’re a miner, you may use TRTL Stak or XMRig, or SRB with more to likely follow. – rock

https://blog.turtlecoin.lol/archives/proof-of-work-algorithm-change/

https://blog.turtlecoin.lol/archives/cn-turtle-will-steal-your-girl/

TurtleEDU – We’re so proud of all of the helpers who have helped us find bugs and corrections for the TurtleEDU class “TurtleCoin 101”! Who could have expected us to launch our beta semester with over 60 people helping us search for bugs, I’m so impressed.
Next, Professor Fexra and I are looking for some Turtles in the community who are experienced with OpenEdX (the edu platform we use) to help us bring a more rich educational experience to you guys. We are looking for help with implementing the badging system, effective course design, as well as overall advice regarding the devops side of running an OpenEdX system specifically. If you think you have something to contribute, or advice to give, we’d be happy to have you, or if you’d like to try out our beta class “TurtleCoin 101”, swing by the Discord chat at chat.turtlecoin.lol and type *student to get access to the EDU chats, and grab an account at edu.turtlecoin.lol – rock

From the blog…

We are always pursuing a more fair mining experience. One of our early efforts to get the network to decentralize was to interview pool owners who had unique qualities about their pool to encourage new miners to adopt new pools.  This next interview was more for pool admins and aspiring pool operators, and also just for general users alike. It’s a good one! Check out funkypenguin’s pool! https://blog.turtlecoin.lol/archives/funkypenguins-turtle-pool-secrets/

A while back, we had an actual journalist helping out witht he interviews, and this was one that slipped through the cracks and actually took a while to get published. It’s a great interview with a member of our core team, and I’m happy to show it to you! https://blog.turtlecoin.lol/archives/interview-w-soregums-from-trtl-core-team/

Community Advertisements

  • Two brand new community projects to check out already this year! Who sent 10 turtle by MrRovot and a custom minecraft server by WarLordN1k. So come any play all the communities amazing games @ games.turtacus.com
  • FREE public node, one of the only free ones left. greywolf Germany turtlenode.co
  • TurtleDice – Bet and try your luck with this new gambling website. You choose your winning chances and we roll the dice for you! No registration, fair and fun playing! https://turtledice.de.cool

Shoutouts & Thanks

D4D – D4D luvs you all 😉

Top Secrets – 23

Rogerrobers – Shout out to Capetn!

Captain Jac) – Shoutout to all turtles and welcome to all new ones

Rock – You’re all pretty awesome

 

Categories
Feature Story

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!

art by Teacup

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 :smiley:

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.
(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).
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)
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?
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:
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 :smiley: 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 :smiley:
RockSteady 
Thanks for being a part of this experience!