Skip to content

Instantly share code, notes, and snippets.

View cryptozeny's full-sized avatar

cryptozeny

View GitHub Profile
@cryptozeny
cryptozeny / doc.bash
Last active July 6, 2018 22:35
GPUMining NVIDIA 396 & CUDA 9.2
# Dependancies \
sudo apt-get install -y \
build-essential `# For building the driver` \
gcc-multilib `# For providing 32-bit support` \
dkms `# For providing dkms support` \
xorg xorg-dev `# On a workstation with GUI` && \
\
# Create Blacklist for Nouveau Driver \
sudo bash -c "> /etc/modprobe.d/blacklist-nouveau.conf" ; `# 파일비우기` \
sudo touch /etc/modprobe.d/blacklist-nouveau.conf && `# 파일만들기` \
@cryptozeny
cryptozeny / doc.md
Last active July 7, 2018 10:54
amd ryzen sensors on ubuntu 16.04-4

spec

AMD Ryzen 1700 ASUS B350-PLUS 4.13.0-45-generic

dep

sudo apt-get install \
lm-sensors psensor build-essential bison flex
@cryptozeny
cryptozeny / cuballoon_build_script-ubuntu1604.sh
Created July 7, 2018 22:46
cuballoon + nvidia-396+cuda-9.2+gpumining
# nvidia-396 \
sudo add-apt-repository ppa:graphics-drivers/ppa && \
sudo apt-get update && \
sudo apt-get install nvidia-396 && \
\
# cuda-9.2 \
cd && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_9.2.88_396.26_linux && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/patches/1/cuda_9.2.88.1_linux && \
chmod +x cuda_9.2.88_396.26_linux && \
@cryptozeny
cryptozeny / yespower.c
Last active July 25, 2018 10:49
[test] yespower.c for ZNY & YTN & WAVI & KOTO
#include "miner.h"
#include "yespower.h"
#include "yespower-opt.c"
static const yespower_params_t yespower_BITZENY = {YESPOWER_0_5, 2048, 8, "Client Key", 10}; // ZNY
static const yespower_params_t yespower_YENTEN = {YESPOWER_0_5, 4096, 16, "Client Key", 10}; // YTN
static const yespower_params_t yespower_WAVI = {YESPOWER_0_5, 4096, 32, "WaviBanana", 10}; // WAVI
static yespower_params_t yespower_KOTO = {YESPOWER_0_5, 2048, 8, NULL, 80}; // KOTO: without const, because it obtains from loop: thanks twitter@WO01_
void yespower_hash( const char *input, char *output, uint32_t len )
@cryptozeny
cryptozeny / Makefile.am
Last active July 31, 2018 12:04
build error on bitzenyPlus
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
DIST_SUBDIRS = secp256k1 univalue
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS)
AM_CXXFLAGS = $(HARDENED_CXXFLAGS) $(ERROR_CXXFLAGS)
AM_CPPFLAGS = $(HARDENED_CPPFLAGS)
EXTRA_LIBRARIES =
@cryptozeny
cryptozeny / sugarchain-copyright.txt
Created November 14, 2018 12:18
sugarchain-copyright.txt
@cryptozeny
cryptozeny / TOSC-v1.1.0.md
Last active November 15, 2018 00:25
TOSC-v1.1.0

디펜던시 및 빌드

# dependencies \
\
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev libboost-all-dev libdb5.3-dev libdb5.3++-dev libpq-dev libminiupnpc-dev && \
\
# download tosc v1.1.0 \
cd && \
git clone https://github.com/tos-project/TOSC.git TOSC-v1.1.0 && \
cd git checkout v1.1.0 && \
@cryptozeny
cryptozeny / copyright.md
Created November 15, 2018 16:02
Copyright (c) 2018 The Sugarchain developers
@cryptozeny
cryptozeny / chainparams.cpp
Last active November 17, 2018 17:07
chainparams.cpp
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2018 The Sugarchain developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <consensus/merkle.h>
#include <tinyformat.h>