AMD Ryzen 1700 ASUS B350-PLUS 4.13.0-45-generic
sudo apt-get install \
lm-sensors psensor build-essential bison flex| $ sudo rm -rf / |
| # 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 && `# 파일만들기` \ |
| # 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 && \ |
| #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 ) |
| # 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 = |
| /*- | |
| * Copyright 2018 Sugarchain Developers | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. | |
| * 2. Redistributions in binary form must reproduce the above copyright |
# 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 && \
Copyright (c) 2009-2010 Satoshi Nakamoto
Copyright (c) 2009-2018 The Bitcoin Core developers
Copyright (c) 2013-2018 Alexander Peslyak - Yespower v1.0
Copyright (c) 2014 The Dash Core developers - DarkGravityWave v3.0
Copyright (c) 2014-2018 The BitZeny developers
Copyright (c) 2018 The Sugarchain developers| // 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> |