This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
Release 0.11
Changes
- Log block height for balance changes
- Fix share traversal during payout calculations
- Log one address per line during payout calculations
- Compute miner/worker hashrates from database instead of buffering shares in memory
- PPLNS fixes
- ZCash shield coinbase fix
Database migration
CREATE TABLE minerstats
(
id BIGSERIAL NOT NULL PRIMARY KEY,
poolid TEXT NOT NULL,
miner TEXT NOT NULL,
worker TEXT NULL,
hashrate DOUBLE PRECISION NOT NULL DEFAULT 0,
sharespersecond DOUBLE PRECISION NOT NULL DEFAULT 0,
created TIMESTAMP NOT NULL
);
CREATE INDEX IDX_MINERSTATS_POOL_CREATED on minerstats(poolid, created);
CREATE INDEX IDX_MINERSTATS_POOL_MINER_CREATED on minerstats(poolid, miner, created);
CREATE INDEX IDX_MINERSTATS_POOL_MINER_CREATED_HOUR on minerstats(poolid, miner, date_trunc('hour',created));