Skip to content

About

Bitcoin Blake2b Pool server, run under riptide.maveth.ca

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riptide-pool

Pool server for RIPTIDE. This tree is DATUM Prime and the TIDES payout code. It does not include the public website, the Beta rollups, or the HTTP API.

Prime is this process. It takes DATUM sessions and builds the coinbase from the share database. Bet is the second house running this same server, with its own database and its own Knots node. The code here is the current server. Passwords, pool keys, and host addresses are not in this tree.

A payments node plus one DATUM gateway can run on a small box. A pool house cannot. Prime, Postgres, and a pruned Knots node want about 4 cores, 16 GB of RAM, and on the order of 100 GB of disk as the database grows.

Run secrets

The process reads these from the environment. They are not in this repo.

  • TIDES_DATABASE_URL
  • TIDES_BITCOIN_RPC_URL
  • TIDES_BITCOIN_RPC_USER
  • TIDES_BITCOIN_RPC_PASSWORD
  • TIDES_POOL_OPS_ADDRESS

The pool signing key and box key are read at startup from TIDES_POOL_KEYS_PATH (default /app/data/pool_keys.json). Mount that file at runtime. Do not commit it.

What this is not

HAProxy door flips, the second Prime process, and the host ops notes are how one machine swaps a live writer. The server runs as one Prime process without them.

About

Bitcoin Blake2b Pool server, run under riptide.maveth.ca

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages