pool/sql/2016-02-23-shares_diff.sql
Tanguy Pruvot 553c920cab shares: store (temporary) submitted work diff for future stats...
PS: this table is only used for current round (until a bloc is found)

also log a part of the submitted shares by default, to show activity
2016-04-02 15:08:43 +02:00

9 lines
268 B
SQL

-- Recent additions to add after db init (.gz)
-- mysql yaamp -p < file.sql
-- NOT NULL
ALTER TABLE `shares` CHANGE COLUMN `difficulty` `difficulty` DOUBLE NOT NULL DEFAULT '0';
ALTER TABLE `shares` ADD `share_diff` DOUBLE NOT NULL DEFAULT '0' AFTER `difficulty`;