As you may know we are working hard to build our own in-house developed custom pooled mining server software CoiniumServ. The good news is that we are very near to the very first release and soon will be using it on our pools in order utilize it’s cutting edge features.
You can take a look yourself over the project page here; https://github.com/CoiniumServ/CoiniumServ
Yet again make sure to check out following bonus videos;
Solo mining with CoiniumServ
Tech demo video showing a 3.5 MH/s scrypt connected to CoiniumServ and mining litecoin-testnet blocks
Source code visualization video
We have decided to use the awesome gource to visualize the history of CoiniumServ’s github repository and the output is fascinating!
gource howto - step 1 - fetch gravatars
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
#!/usr/bin/env python3 # -*- coding: utf-8 -*- #fetch Gravatars import os import requests import subprocess import hashlib def md5_hex(text): m = hashlib.md5() m.update(text.encode('ascii', errors='ignore')) return m.hexdigest() size = 90 output_dir = os.path.join('.git', 'avatar') os.makedirs(output_dir, exist_ok=True) gitlog = subprocess.check_output(['git', 'log', '--pretty=format:%ae|%an']) authors = set(gitlog.decode('ascii', errors='ignore').splitlines()) print(authors) for author in authors: email, name = author.split('|') output_file = os.path.join(output_dir, name + '.png') if not os.path.exists(output_file): grav_url = "http://www.gravatar.com/avatar/" + md5_hex(email) + "?d=identicon&s=" + str(size) print(email, name, grav_url) r = requests.get(grav_url) if r.ok: with open(output_file, 'wb') as img: img.write(r.content) |
step 2 - run gource over coiniumserv code
1 |
F:\Software\misc\gource\gource --hide filenames --title "CoiniumServ Git Visualization" --user-image-dir F:\Source\CoiniumServ\.git\avatar --logo logo.png --seconds-per-day 0.01 -1280x720 -e 0.5 -o coiniumserv.ppm F:\Source\CoiniumServ |
step 3 - render with ffmpeg
1 |
F:\Software\misc\gource\ffmpeg\bin\ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i coiniumserv.ppm -vcodec libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p -threads 0 -bf 0 coiniumserv.avi |