Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
/ Sia Public archive
forked from ToastPool/Sia

A Sia node with a stratum mining pool module and a cpu stratum miner module

License

Notifications You must be signed in to change notification settings

denvrdata/Sia

 
 

Repository files navigation

Ubuntu

Install Go 1.9

wget https://dl.google.com/go/go1.9.4.linux-amd64.tar.gz
tar zxvf go1.9.4.linux-amd64.tar.gz
mv go /usr/local/
ln -s /usr/local/go/bin/go /usr/bin/go
ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt

Install dependencies

make dependencies

Setup data directory

mkdir ~/sia
cd ~/sia

Run standard node

siad

OR run pool node:

Configure db info, port number, etc

cp sampleconfig/sia.yml ~/sia
vim ~/sia/sia.yml

Install mysql if necessary

apt install mysql-server

Run pool

siad -M cgtwp

Note: make sure you increase the number of open files you can have at a time, or you will have problems with sockets and log files

About

A Sia node with a stratum mining pool module and a cpu stratum miner module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.8%
  • Other 0.2%