The new generation P2Pool by Node.js
- 100% Compatible with P2Pool
Much lower CPU usage than P2Pool(Todo: SHA256 by C++)- Clear code style and logic
- Node.js v6.0+
- Node-gyp v3.6+
- 4 GB+ Free Mem
- Linux/macOS x64/x86
- Node.js, node-gyp and TypeScript
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs
# Using CentOS 6/RHEL 6
curl -sL https://rpm.nodesource.com/setup_7.x | bash -
yum install -y nodejs
# Using macOS
brew install node
##############################################################################################################################################
# More Node.js installation info, please visit https://github.com/nodesource/distributions or https://nodejs.org/en/download/package-manager #
##############################################################################################################################################
# node-gyp
npm i -g node-gyp
# Typescript
npm i -g typescript
- Installing Js2Pool from source code
git clone https://github.com/unsignedint8/js2pool.git && cd js2pool
# Install dependencies
npm update
# Compile the TypeScript code
tsc -p .
# Link executable files
npm link
This project has not been finished yet. So, don't use it in production environment. Coming soon...
- SHA256 Performance (I'm trying to rewrite SHA256 by using Node.js C++ module, but I don't know much about C++. So, to implement it may take me a long time)
- Weights calculation may have a problem, when total weights exceed the desired weight. PaymentCalculator#L61-L75
GPL v3.0