Skip to content

Instantly share code, notes, and snippets.

View pkrasam's full-sized avatar
🖖
I may be slow to respond.

pk pkrasam

🖖
I may be slow to respond.
View GitHub Profile
@dennisreimann
dennisreimann / status.sh
Created December 6, 2019 15:38
BTC/LND Status Shell
#!/bin/sh
# by dennisreimann
# most of this is taken from Stadicus:
# https://stadicus.github.io/RaspiBolt/raspibolt_61_system-overview.html
# set colors
color_red='\033[0;31m'
color_green='\033[0;32m'
color_yellow='\033[0;33m'
color_blue='\033[0;34m'
./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce RTX 2080 Ti"
CUDA Driver Version / Runtime Version 10.1 / 10.1
CUDA Capability Major/Minor version number: 7.5
@bladedoyle
bladedoyle / gist:421d3f508945bdf59c93d515ee420fc9
Last active October 10, 2019 14:41
grin share value notes
Pool finds block 4300 - https://grinscan.net/block/4300
Secondary scale = 529
scale = factor = Scaling difficulty =
for primary pow (cuckatooN solution) where N>=31 = 2^(1+EDGEBITS-24)*N
for secondary pow - (cuckatoo29 solution) = variable, retargeted every block, stored as header field "secondary_scaling"
Example: Three workers contributed shares:
Worker A submitted 50 cuckaroo29 shares
Worker B submitted 25 cuckaroo29 shares and