Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Release 0.11

Compare
Choose a tag to compare
@oliverw oliverw released this 29 Dec 10:35
· 1862 commits to master since this release
8acbf4f

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));