• Stars
    star
    638
  • Rank 70,537 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

backend of pool.btc.com

BTCPool for Bitcoin, Ethereum, Decred, Bytom, ...

Branch Status
master CircleCI
deveth CircleCI

BTCPool is backend system of https://pool.btc.com.

This is a version of BTCPool that supports more blockchains. Check the SHA256-only version at master branch.

The pool backend support these blockchains at current:

  • SHA256
  • Scrypt
  • ETHash / Daggerhashimoto
  • EquiHash

    Tips: ZCash and BEAM use different EquiHash parameters and are not compatible in mining.

  • Cuckoo Cycle

    Tips: Grin supports Cuckaroo Cycle 29 and Cuckatoo Cycle 31 at the same time, miners can choose an algorithm to mine.

  • Blake-256
  • Tensority
  • Eaglesong
    • Ckb (finished but the test is not enough)

    Tips: only Tested with bminer and nbminer. need to be updated after the new version of ckb is released.

  • Others
    • Siacoin (not finished and need test)

It also support these merged mining blockchains of SHA256 blockchains:

If you want merged mine more than one chains that compatible with Bitcoin merged mining specification, use merged mining proxy.

Note: The project is still a testbed and work in progress, all things could be changed.

See Also:

Architecture (need update)

Architecture

Install

  1. Install Zookeeper, or see INSTALL-ZooKeeper.md
  1. Install Kafka, or see INSTALL-Kafka.md
  1. Install BTCPool, see INSTALL-BTCPool.md

Upgrade

Upgrading to BTCPool 2.3.0 requires additional operations on sharelogger, slparser and statshttpd due to incompatible sharelog format changes.

See UPGRADE-BTCPool.md for more information.

Benchmark (outdated)

We have test 100,000 miners online Benchmark. see Benchmark-100000.md

BTCAgent

BTCAgent is a kind of stratum proxy which use customize protocol to communicate with the pool. It's very efficient and designed for huge mining farm.

Testing

You could run simulator to test the system. It will simulate a lots of miners, need to enbale config enable_simulator on your Stratum Server.

License

BTCPool is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.

Welcome aboard!

BTC.COM Team.

More Repositories

1

btcagent

Mining Agent
Go
122
star
2

btcpool-go-modules-ABANDONED

BTCPool modules that implemented with golang / BTCPool中用go语言实现的组件
Go
43
star
3

secp256k1-go

Bindings to lib-secp256k1 for golang
Go
27
star
4

Blockchain-Known-Pools-BCH

25
star
5

bccpool

BTCPool for BitcoinCash (legacy branch)
C++
22
star
6

libbtctools

A core library of BTCTools
C++
19
star
7

BTCPoolAPIDocs

API docs for BTC Pool
15
star
8

chrome_extension

btc.com browser extension for chrome
JavaScript
10
star
9

bitwasp-bitcoin-bch-addon

BCH bridge for bitwasp/bitcoin
PHP
10
star
10

copernicus

Golang bitcoin library
Go
10
star
11

Hire

BTC.com 北京招聘
8
star
12

cashaddress-php

PHP library for base32, and the related cashaddr format
PHP
8
star
13

BtcTunnel

C++
7
star
14

wallet-recovery-data-bridge

JavaScript
6
star
15

fibre_docker

docker for bitcoin Fibre
Shell
5
star
16

btcsigner

Small golang package (using btcd) for signing transactions
Go
5
star
17

btc_pool_docs

BTC.com 矿池 API 文档 🙃
Shell
5
star
18

wallet_onchain_ios

Onchain wallet for iOS
Objective-C
4
star
19

justencrypt-php

PHP
4
star
20

rpctransport-go

Small golang library to provide RPC requests over various transports
Go
4
star
21

fe-exercise-backend

JavaScript
3
star
22

BitcoinCashReplayProtection

3
star
23

ui

前端框架
JavaScript
3
star
24

justencrypt-js

JavaScript
3
star
25

cashaddress-js

Bitcoin cash addresses in javascript
JavaScript
3
star
26

Laravel5-fis

使用 Laravel 5 + Fis 进行前端模块化开发。
PHP
3
star
27

btcpool_build

Build environment for btcpool project
Dockerfile
2
star
28

bitcoin-faucet

faucet for bitcoin testnet5
JavaScript
2
star
29

ezbitcoind-php

PHP
2
star
30

blackboard

personnel recruitment
2
star
31

poolEventLogs

TypeScript
2
star
32

btcpool-export

BTCPool算力导出工具
JavaScript
2
star
33

bitcoind_patches

patches for bitcoind
2
star
34

pushtx-sdk

pushtx-sdk
Python
2
star
35

eth-explorer-mobile

eth-explorer-mobile
JavaScript
2
star
36

open-falcon-plugins

open-falcon plugins for agents
Python
1
star
37

antd-umi-block-sample-table

JavaScript
1
star
38

powtcha-php

PHP
1
star
39

ExplorerAPIDoc4LTC

1
star
40

opsgenie

Simple implementation of OpsGenie Heartbeat api
Go
1
star
41

red-packet-api

JavaScript
1
star
42

Blockchain-Known-Pools-LTC

1
star
43

bitcoin-abc

C++
1
star
44

UnitedBitcoin

C++
1
star
45

wallet-extension

TypeScript
1
star
46

dcrd

Go
1
star
47

bch-fork-op

bch-fork-op
JavaScript
1
star
48

iOS-Client-BM-Wallet

1
star
49

explorer-geth

增加 trace_x 方法
Go
1
star
50

Blockchain-Known-Pools-BSV

1
star
51

powtcha-js

JavaScript
1
star
52

NodeBooster

C++
1
star
53

goconsumer

Small go package for consuming various queues
Go
1
star
54

ExplorerAPIDoc

Documentation for block explorer.
JavaScript
1
star
55

red-packet

JavaScript
1
star
56

fis3-parser-babel

init
JavaScript
1
star
57

fis3-babel

JavaScript
1
star
58

btcd-tx

btcd addon with tools for signing transactions
1
star
59

drawlottery-for-3rd-anniversary

lottery program for BTC.com Pool 3rd anniversary celebration
JavaScript
1
star
60

local_bitcoind_docker_build_util

Build bitcoind docker image using built local machine binaries, instead downloading and recompile. This to help debugging
Python
1
star
61

eth-fork-constantin

eth constantinople fork landing
JavaScript
1
star
62

react-mobx-antd-intl-btc-boilerplate

Front end project boilerplate with react and mobx.
JavaScript
1
star
63

sqlxbatch

Go
1
star
64

justencrypt-go

Golang library for wrapping AES-GCM with configurable PBKDF2 parameters
Go
1
star
65

zmq-broker-worker

Use zmq to distribute tasks to multiple workers
C++
1
star
66

ExplorerAPIDoc4BCH

1
star
67

Blockchain-Known-Pools-Testnet3

bitcoin testnet3 pool's identify pattern
1
star