Commit Graph

1790 Commits

Author SHA1 Message Date
steven004
f35c8fe426 No AdjustmentPeriod anyu more 2019-10-31 18:11:57 +08:00
yaohcn
a51cbe4081 specific ipfs gateway 2019-10-31 17:41:11 +08:00
wanghui
2aa8eebb99 move select 2019-10-31 17:39:42 +08:00
Steven Li
85854578d1
Update chain/types/blockheader.go
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-10-31 16:44:26 +08:00
Łukasz Magiera
5c065f0187
Merge pull request #506 from filecoin-project/feat/dual-config
Add support for different configs
2019-10-31 09:02:10 +01:00
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
wanghui
8cb14335c3 use reflect select 2019-10-31 13:11:10 +08:00
whyrusleeping
759094198c Some more progress on interactive porep 2019-10-30 18:22:50 -07:00
hans
6c4537f6a8 fix NewTipSet 2019-10-31 09:19:25 +08:00
Jakub Sztandera
407183b258
Fix double locking
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 23:33:31 +01:00
Łukasz Magiera
7fa3e2db7a WIP Interactive PoRep 2019-10-30 19:10:29 +01: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
dd9d6c4ef0 Update sectorbuilder, v15 params 2019-10-30 18:40:48 +01:00
Łukasz Magiera
46d782b30b storageminer: Drop commitment tracker 2019-10-30 18:37:38 +01:00
Jakub Sztandera
3ea0997c93
Add support for different configs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 17:38:39 +01:00
Łukasz Magiera
a4c0610cc3 actors: Rename some storageminer stuff to match the spec 2019-10-30 16:55:55 +01:00
whyrusleeping
3e5654d575 initial actor changes for interactive porep 2019-10-30 16:05:31 +01: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
wanghui
03ca08d9bf fix panic when close miner 2019-10-30 18:23:13 +08: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