Steven Li
0aa56ba665
Refactor the PowerCmp function
...
Why we have this:
This algorithm here directly follow the rule of ratio to win, and easier to understand.
Just think about a smaller space, e.g. 100, instead of 2^256.
When one miner has 10% power, it should have 10% ratio to win. that is, when the h is in {0..9}, it wins. Simply speaking, it is:
(h + 1) / 100 <= 10% , instead of
h / 99 < 10%
The former is easier to understand, though both are equivalent when h is an integer and power_ratio < 1)
2019-10-31 13:36:33 +08:00
Whyrusleeping
790ac7b510
Merge pull request #485 from lanzafame/feat/connect-chain-sync-trace
...
add statemanager.CallRaw span
2019-10-30 10:57:09 -07:00
Łukasz Magiera
413314b44b
Merge pull request #494 from filecoin-project/feat/handle-uncommited
...
storageminer: Handle uncommited sectors on start
2019-10-30 15:32:34 +01:00
Łukasz Magiera
5a5c66600f
storageminer: More correct listing of sealed sectors
2019-10-30 10:57:00 +01:00
Łukasz Magiera
981f108565
Merge pull request #496 from filecoin-project/fix/fmt-FIL
...
Implment formatter on FIL to override big.Int
2019-10-30 08:29:56 +01:00
Jakub Sztandera
bc97a73d67
Implment formatter on FIL to override big.Int
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 01:52:24 +01:00
Łukasz Magiera
922d8a90a5
storageminer: Restart sealing on restart
2019-10-29 23:19:58 +01:00
Łukasz Magiera
6c25c5384d
commitment tracker: prefer new commitments
2019-10-29 23:04:08 +01:00
Łukasz Magiera
b7a78670ab
storageminer: Call beginPosting before trying to commit a sector
2019-10-29 22:58:41 +01:00
Łukasz Magiera
3047c9d4c2
storageminer: Check on-chain commitments
2019-10-29 22:41:28 +01:00
Łukasz Magiera
d080dbd1ec
Merge pull request #495 from filecoin-project/misc/swarm-log-level
...
Set swarm log level to WARN
2019-10-29 22:40:41 +01:00
Łukasz Magiera
44f4ee0de1
storageminer: cmd to list sector commitments
2019-10-29 21:41:30 +01:00
Łukasz Magiera
391c73774d
Set swarm log level to WARN
2019-10-29 20:51:44 +01:00
Łukasz Magiera
169c285fb3
storageminer: Handle uncommited sectors on start
2019-10-29 20:46:32 +01:00
Jakub Sztandera
6d594bab67
Merge pull request #491 from filecoin-project/feat/bg-store-garbage
...
Run store-garbage in background
2019-10-29 19:33:48 +01:00
Łukasz Magiera
157853e47a
Merge pull request #493 from filecoin-project/feat/faucet-ssize
...
fountain: Allow picking sector size
2019-10-29 19:31:06 +01:00
Łukasz Magiera
6a999d348a
fountain: Allow picking sector size
2019-10-29 19:28:54 +01:00
Łukasz Magiera
28e91bfa88
Merge pull request #492 from filecoin-project/feat/badger-truncate
...
repo: Enable badger log truncation
2019-10-29 19:09:18 +01:00
Łukasz Magiera
5432987030
repo: enable badger log truncation
2019-10-29 19:04:35 +01:00
Łukasz Magiera
8e1a9a71e6
Run store-garbage in background
2019-10-29 18:52:07 +01:00
Łukasz Magiera
340e9177b2
Merge pull request #479 from filecoin-project/devnet/6
...
Devnet 6
2019-10-29 14:42:16 +01:00
Łukasz Magiera
788b0f5908
docs: Update mining instructions
2019-10-29 14:34:33 +01:00
Łukasz Magiera
640b889aa6
fountain: Fix create button in /miner.html
2019-10-29 14:26:15 +01:00
Łukasz Magiera
23b7cf305f
fountain: Default to 1GiB sectors
2019-10-29 14:10:53 +01:00
Łukasz Magiera
e46ae15dfd
townhall: Don't hard-code stuff
2019-10-29 14:06:02 +01:00
Łukasz Magiera
f6ba2f0b9d
Devnet 6
2019-10-29 13:56:20 +01:00
Łukasz Magiera
b179abceb3
scripts: Fix ./lotus call in deploy-devnet.sh
2019-10-29 13:55:51 +01:00
Łukasz Magiera
5305ef6871
wallet: Print new line in import cmd
2019-10-29 13:54:26 +01:00
Łukasz Magiera
774bc2f8ec
scripts: Simple guard in deploy-devnet.sh
2019-10-29 13:47:19 +01:00
Łukasz Magiera
f36edc94bd
Merge pull request #490 from filecoin-project/feat/gb-asks
...
deals: Ask prices per GiB
2019-10-29 13:03:04 +01:00
Łukasz Magiera
be4a5665fe
deals: gofmt
2019-10-29 13:02:24 +01:00
Łukasz Magiera
bee0ecf97f
deals: Nicer output in client cli
2019-10-29 13:02:13 +01:00
Łukasz Magiera
738e8c5a3c
deals: Ask prices per GiB
2019-10-29 11:19:39 +01:00
Łukasz Magiera
72af55d067
deals: Price per epoch
2019-10-29 11:01:18 +01:00
Łukasz Magiera
d774922374
Merge pull request #486 from filecoin-project/fix/remove-height-tag
...
Remove height tag from stats tool
2019-10-28 22:06:26 +01:00
Łukasz Magiera
5ace5cdbc2
Merge pull request #483 from filecoin-project/feat/set-params
...
Set proving params matching the spec more closely
2019-10-28 22:01:45 +01:00
Łukasz Magiera
e98feb4a39
fix PowerCmp
2019-10-28 21:28:01 +01:00
Jakub Sztandera
563c0e494e
Use div-free EC power selection function
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-28 20:01:10 +01:00
Łukasz Magiera
6f73e8bf2f
10s block time
2019-10-28 19:25:24 +01:00
Łukasz Magiera
6d766ab241
Set e=3
2019-10-28 19:22:40 +01:00
Travis Person
15742f2359
Remove height tag from stats tool
...
Having a height tags resulted in performance issues due to an increase
in series cardinality.
2019-10-28 10:50:17 -07:00
Łukasz Magiera
ac98c8f451
Use spec complaiant SealRandomnessLookback
2019-10-28 18:14:24 +01:00
Łukasz Magiera
237f8e8018
Set proving params matching the spec more closely
2019-10-28 17:51:45 +01:00
Łukasz Magiera
6511c280d6
Merge pull request #432 from filecoin-project/feat/new-proofs-changes
...
Updating to new proofs code
2019-10-28 16:09:18 +01:00
Adrian Lanzafame
0822bdadac
add statemanager.CallRaw span
...
This allows for the chain.Sync trace to be connected to the
entire chain sync operation, when viewing in Jaeger.
2019-10-28 19:29:41 +10:00
Łukasz Magiera
02b67ea6b2
Fix TestSealAndVerify
2019-10-27 12:58:15 +01:00
Łukasz Magiera
53cbe3446d
pond: Miner state viewer
2019-10-27 11:27:21 +01:00
Łukasz Magiera
c1076a0c7d
set correct block height in SealTicket
2019-10-27 10:24:20 +01:00
Łukasz Magiera
117ec636c5
paramfetch: check checksums in parallel
2019-10-27 10:18:27 +01:00
Łukasz Magiera
874be79958
very basic sector seal scheduling
2019-10-27 09:56:53 +01:00