All Projects β†’ coinfoundry β†’ Miningcore

coinfoundry / Miningcore

Licence: mit
Miningcore is a high-performance Mining-Pool Engine that runs on Linux and Windows and supports a variety of crypto-currencies.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Miningcore

Cryptocurrency Cli
πŸ’° Cryptocurrency Portfolio On The Command Line πŸ’°
Stars: ✭ 99 (-73.81%)
Mutual labels:  ethereum, bitcoin, monero, litecoin
Cryptocurrency Dashboard
Crypto Currency Dashboard Using Twitter 🐦 And Coinmarketcap πŸš€ API
Stars: ✭ 54 (-85.71%)
Mutual labels:  ethereum, bitcoin, monero, litecoin
Go Quote
Yahoo finance/Google finance/Coinbase/Bittrex/Binance/Tiingo historical quote downloader library and cli written in golang
Stars: ✭ 198 (-47.62%)
Mutual labels:  ethereum, bitcoin, litecoin
Cryptoview
Elegant portfolio management for multi-exchange traders
Stars: ✭ 206 (-45.5%)
Mutual labels:  ethereum, bitcoin, litecoin
Crypto Arbitrage
Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
Stars: ✭ 369 (-2.38%)
Mutual labels:  ethereum, bitcoin, litecoin
Coinpusher
πŸ“ˆ real-time cryptocurrency chart prediction based on neuronal-networks
Stars: ✭ 141 (-62.7%)
Mutual labels:  ethereum, bitcoin, litecoin
Bot18
Bot18 is a high-frequency cryptocurrency trading bot developed by Zenbot creator @carlos8f
Stars: ✭ 157 (-58.47%)
Mutual labels:  ethereum, bitcoin, litecoin
Wagyu
A Rust library for generating cryptocurrency wallets
Stars: ✭ 342 (-9.52%)
Mutual labels:  ethereum, bitcoin, monero
Moneda Cli
Command line to track cryptocurrency prices
Stars: ✭ 114 (-69.84%)
Mutual labels:  ethereum, bitcoin, litecoin
Optimal Buy Cbpro
Scheduled buying of BTC, ETH, and LTC from Coinbase Pro, optimally!
Stars: ✭ 288 (-23.81%)
Mutual labels:  ethereum, bitcoin, litecoin
Coinpricebar
πŸ’° Cryptocurrency prices on MacBook Touch Bar
Stars: ✭ 290 (-23.28%)
Mutual labels:  ethereum, bitcoin, litecoin
Ta4j Origins
A Java library for technical analysis ***Not maintained anymore, kept for archival purposes, see #192***
Stars: ✭ 354 (-6.35%)
Mutual labels:  ethereum, bitcoin, litecoin
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (-64.02%)
Mutual labels:  ethereum, bitcoin, litecoin
Gnome Feeder
Profit Trailer Feeder Full Build with Settings
Stars: ✭ 122 (-67.72%)
Mutual labels:  ethereum, bitcoin, litecoin
Cbpro Trader
Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
Stars: ✭ 171 (-54.76%)
Mutual labels:  ethereum, bitcoin, litecoin
Stocklook
crypto currency library for trading & market making bots, account management, and data analysis
Stars: ✭ 119 (-68.52%)
Mutual labels:  ethereum, bitcoin, litecoin
Nemosminer
NemosMiner multi algo profit switching NVIDIA miner
Stars: ✭ 224 (-40.74%)
Mutual labels:  ethereum, bitcoin, monero
Awesome Privacy On Blockchains
A curated list of privacy on blockchains resources
Stars: ✭ 86 (-77.25%)
Mutual labels:  ethereum, bitcoin, monero
Edge React Gui
Edge Wallet React Native GUI for iOS and Android
Stars: ✭ 303 (-19.84%)
Mutual labels:  ethereum, bitcoin, litecoin
Coinbin.org
β‚Ώ A Human–Friendly API Service for Crypto Currency Information.
Stars: ✭ 253 (-33.07%)
Mutual labels:  ethereum, bitcoin, litecoin

Build status Docker Build Statu Docker Stars Docker Pulls license

Features

  • Supports clusters of pools each running individual currencies
  • Ultra-low-latency, multi-threaded Stratum implementation using asynchronous I/O
  • Adaptive share difficulty ("vardiff")
  • PoW validation (hashing) using native code for maximum performance
  • Session management for purging DDoS/flood initiated zombie workers
  • Payment processing
  • Banning System
  • Live Stats API on Port 4000
  • WebSocket streaming of notable events like Blocks found, Blocks unlocked, Payments and more
  • POW (proof-of-work) & POS (proof-of-stake) support
  • Detailed per-pool logging to console & filesystem
  • Runs on Linux and Windows
  • Gitter Channel

Supported Coins

Refer to this file for a complete list.

Ethereum

Miningcore implements the Ethereum stratum mining protocol authored by NiceHash. This protocol is implemented by all major Ethereum miners.

  • Claymore Miner must be configured to communicate using this protocol by supplying the -esm 3 command line option
  • Genoil's ethminer must be configured to communicate using this protocol by supplying the -SP 2 command line option

ZCash

  • Pools needs to be configured with both a t-addr and z-addr (new configuration property "z-address" of the pool configuration element)
  • First configured zcashd daemon needs to control both the t-addr and the z-addr (have the private key)
  • To increase the share processing throughput it is advisable to increase the maximum number of concurrent equihash solvers through the new configuration property "equihashMaxThreads" of the cluster configuration element. Increasing this value by one increases the peak memory consumption of the pool cluster by 1 GB.
  • Miners may use both t-addresses and z-addresses when connecting to the pool

Donations

This software comes with a built-in donation of 0.1% per block-reward to support the ongoing development of this project. You can also send donations directly to the following accounts:

  • BTC: 17QnVor1B6oK1rWnVVBrdX9gFzVkZZbhDm
  • LTC: LTK6CWastkmBzGxgQhTTtCUjkjDA14kxzC
  • DOGE: DGDuKRhBewGP1kbUz4hszNd2p6dDzWYy9Q
  • ETH: 0xcb55abBfe361B12323eb952110cE33d5F28BeeE1
  • ETC: 0xF8cCE9CE143C68d3d4A7e6bf47006f21Cfcf93c0
  • DASH: XqpBAV9QCaoLnz42uF5frSSfrJTrqHoxjp
  • ZEC: t1YHZHz2DGVMJiggD2P4fBQ2TAPgtLSUwZ7
  • BTG: GQb77ZuMCyJGZFyxpzqNfm7GB1rQreP4n6
  • XMR: 475YVJbPHPedudkhrcNp1wDcLMTGYusGPF5fqE7XjnragVLPdqbCHBdZg3dF4dN9hXMjjvGbykS6a77dTAQvGrpiQqHp2eH

Runtime Requirements on Windows

Runtime Requirements on Linux

Running pre-built Release Binaries on Windows

  • Download miningcore-win-x64.zip from the latest Release
  • Extract the Archive
  • Setup the database as outlined below
  • Create a configuration file config.json as described here
  • Run dotnet Miningcore.dll -c config.json

Basic PostgreSQL Database setup

Create the database:

$ createuser miningcore
$ createdb miningcore
$ psql (enter the password for postgres)

Inside psql execute:

alter user miningcore with encrypted password 'some-secure-password';
grant all privileges on database miningcore to miningcore;

Import the database schema:

$ wget https://raw.githubusercontent.com/coinfoundry/miningcore/master/src/Miningcore/Persistence/Postgres/Scripts/createdb.sql
$ psql -d miningcore -U miningcore -f createdb.sql

Advanced PostgreSQL Database setup

If you are planning to run a Multipool-Cluster, the simple setup might not perform well enough under high load. In this case you are strongly advised to use PostgreSQL 11 or higher. After performing the steps outlined in the basic setup above, perform these additional steps:

WARNING: The following step will delete all recorded shares. Do NOT do this on a production pool unless you backup your shares table using pg_backup first!

$ wget https://raw.githubusercontent.com/coinfoundry/miningcore/master/src/Miningcore/Persistence/Postgres/Scripts/createdb_postgresql_11_appendix.sql
$ psql -d miningcore -U miningcore -f createdb_postgresql_11_appendix.sql

After executing the command, your shares table is now a list-partitioned table which dramatically improves query performance, since almost all database operations Miningcore performs are scoped to a certain pool.

The following step needs to performed once for every new pool you add to your cluster. Be sure to replace all occurences of mypool1 in the statement below with the id of your pool from your Miningcore configuration file:

CREATE TABLE shares_mypool1 PARTITION OF shares FOR VALUES IN ('mypool1');

Once you have done this for all of your existing pools you should now restore your shares from backup.

Configuration

API

Building from Source

Building on Ubuntu 16.04

$ wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
$ sudo dpkg -i packages-microsoft-prod.deb
$ sudo apt-get update -y
$ sudo apt-get install apt-transport-https -y
$ sudo apt-get update -y
$ sudo apt-get -y install dotnet-sdk-2.2 git cmake build-essential libssl-dev pkg-config libboost-all-dev libsodium-dev libzmq5
$ git clone https://github.com/coinfoundry/miningcore
$ cd miningcore/src/Miningcore
$ dotnet publish -c Release --framework netcoreapp2.2  -o ../../build

Building on Windows

Download and install the .Net Core 2.2 SDK

> git clone https://github.com/coinfoundry/miningcore
> cd miningcore/src/Miningcore
> dotnet publish -c Release --framework netcoreapp2.2  -o ..\..\build

Building on Windows - Visual Studio

After successful build

Create a configuration file config.json as described here

cd ../../build
dotnet Miningcore.dll -c config.json

Running a production pool

A public production pool requires a web-frontend for your users to check their hashrate, earnings etc. Miningcore does not include such frontend but there are several community projects that can be used as starting point. Feel free to discuss ideas/issues with fellow pool operators using our Gitter Channel.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].