Łukasz Magiera
b10b6fdd11
Merge pull request #4355 from filecoin-project/shed/post-find
...
Shed/post find
2020-11-20 14:52:42 +01:00
Raúl Kripalani
0c6072a1a0
chainstore lifecycle: close via Close() instead of context.
2020-11-16 22:28:59 +00:00
Raúl Kripalani
d7b4f92f1f
add context to ChainStore.
2020-11-16 15:52:19 +00:00
Raúl Kripalani
3577300aee
Merge branch 'master' into badger-viewable
2020-11-06 19:34:25 +00:00
Łukasz Magiera
426c2e8c2b
Merge pull request #4717 from filecoin-project/feat/optional-chain-bitswap
...
Optional chain Bitswap
2020-11-06 16:49:39 +01:00
Łukasz Magiera
3c9e438a68
Merge pull request #4617 from filecoin-project/termination-penalty
...
Add `termination-estimate` to get an estimation for how much a termination penalty will be
2020-11-06 16:44:44 +01:00
Łukasz Magiera
ee9df63221
shed: Util for creating ID CIDs
2020-11-06 15:42:09 +01:00
Łukasz Magiera
a1e1b03ca4
Optionally allow bitswap for chainstore
2020-11-03 23:44:44 +01:00
Raúl Kripalani
809111336a
Merge branch 'master' into badger-viewable
2020-11-03 18:29:10 +00:00
Łukasz Magiera
a4cf6fa715
sched: Interactive RPC Shell
2020-11-02 20:38:15 +01:00
Raúl Kripalani
d1ebf3c769
introduce non-pooled StorageKey method.
2020-11-02 13:32:07 +00:00
Raúl Kripalani
d8d85373f5
fix lotus-shed datastore commands.
2020-11-01 13:50:41 +00:00
Raúl Kripalani
a16d7f221e
Merge branch 'master' into badger-viewable
2020-11-01 13:10:56 +00:00
Raúl Kripalani
099c4b5e1d
migrate repo.Datastore(/chain) to repo.Blockstore().
2020-11-01 13:03:21 +00:00
Łukasz Magiera
978192233d
Merge pull request #4498 from filecoin-project/feat/try-election
...
Add election run-dummy command
2020-10-31 01:02:25 +01:00
jennijuju
2f4582147a
Add termination-estimate
to get an estimation for how much a termination penalty will be:
...
- Usage example: `./lotus-shed sectors termation-estimate 5 8 10`.
2020-10-30 13:34:03 -04:00
Jakub Sztandera
ae905bd056
Fix closing
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-29 01:05:31 +01:00
Jakub Sztandera
a2c66dd102
make linter happy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 23:30:28 +01:00
Jakub Sztandera
0297be4b9a
Add lotus-shed datastore rewrite
command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 23:24:45 +01:00
Jakub Sztandera
cced3bf9ee
Randomize seed
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-26 17:44:55 +01:00
Jakub Sztandera
ea6afe84db
Add election run-dummy command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-26 17:44:51 +01:00
Łukasz Magiera
067de4508b
shed: Commad to decode messages
2020-10-23 22:17:46 +02:00
Łukasz Magiera
f9723ca3c1
Merge pull request #4521 from filecoin-project/feat/fix-shed-ledger-list
...
Fix lotus-shed ledger list
2020-10-22 19:59:18 +02:00
Łukasz Magiera
041762a34f
Merge pull request #4383 from filecoin-project/steb/actor-v2-imports
...
Remove most v0 actor imports
2020-10-22 17:17:56 +02:00
Łukasz Magiera
9a58763a4e
shed: Rename the command to frozen-miners
2020-10-22 16:07:42 +02:00
ZenGround0
f9707ba344
add borked inspection command
...
hook up new command
Fix head call
Debug internal error
Debug moa
Debug 0
Fix 0
Fix 1
Better print
Don't ignore error
2020-10-22 16:03:11 +02:00
Łukasz Magiera
b85bf82d00
Merge pull request #4318 from filecoin-project/asr/shed-won-power
...
Add a shed util to determine % of power that has won a block
2020-10-22 15:40:55 +02:00
Steven Allen
bcabe7b3b5
migrate methods to abstracted methods
...
Method numbers never change anyways. At worst, we'll deprecate old methods and
have to explicitly import them from the correct actors version to use them.
2020-10-21 12:18:37 -07:00
Steven Allen
4e730b5ec8
port to v2 imports
2020-10-21 12:16:23 -07:00
Jakub Sztandera
f0d966a595
Fix lotus-shed ledger list
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-21 19:40:51 +02:00
Aayush Rajasekaran
75eb644108
Merge pull request #4507 from filecoin-project/lotus-shed-terminate-1475
...
Add a terminate sectors command to lotus-shed
2020-10-20 18:28:09 -04:00
jennijuju
ee5dcbc1d8
Add wait message
2020-10-20 18:26:17 -04:00
Steven Allen
ed1645109a
Add lotus storage miner API support to lotus-shed
2020-10-20 17:38:15 -04:00
jennijuju
277d3e9ab4
Add terminate sectors based on 1475's #4433 implementation in lotus-shed:
...
- Moving the cmd to lotus-shed so that miners can use this right away without waiting for fsm changes.- Note: this should only be used when the miner is 100% sure that they want to terminate the sector on chain and they will be lose the power and pay a big one-time termination penalty for the sectors.
- Only live sectors can be terminated.
- To use, run `./lotus-shed sectors terminate --really-do-it=true sectorNum1 sectorNum2`.
- A message will be sent and after the message is landed on chain, miner can run `lotus-miner sectors status --on-chain-info <terminated sector number>`, and check Expiration Info at the bottom. Both `OnTime` and `Early` are 0 indicates the sector is terminated.
2020-10-20 17:38:09 -04:00
Aayush Rajasekaran
8c7d2efe72
Make audit balances capable of printing robust addresses
2020-10-15 12:17:54 -04:00
Aayush Rajasekaran
2613e837a9
Bugfix: Eligible miners should be computed based on start tipset, not end tipset
2020-10-14 03:01:41 -04:00
Travis Person
20c57fcd0e
lotus-shed: post-find use lookback
2020-10-13 19:00:37 +00:00
ZenGround0
619ee1e6f9
add comma
2020-10-13 00:49:32 -04:00
ZenGround0
0e88f32d66
Fix bug and add flag
2020-10-13 00:47:43 -04:00
ZenGround0
546614455f
Fix print
2020-10-13 00:38:15 -04:00
ZenGround0
0b9499a00f
withpower flag
2020-10-13 00:29:43 -04:00
ZenGround0
448ca6e43c
less verbose
2020-10-13 00:17:09 -04:00
ZenGround0
c9955c0635
verbose flag
2020-10-12 23:59:30 -04:00
ZenGround0
768d2db114
Tipset traversal for speed
2020-10-12 23:53:14 -04:00
ZenGround0
79d94c4771
Hook up cmd
2020-10-12 23:09:40 -04:00
ZenGround0
a3e26233b2
Add postfind
2020-10-12 23:00:29 -04:00
Aayush Rajasekaran
96e1dfd8d7
Add an endpoint for precise circulating supply
2020-10-12 16:38:29 -04:00
Aayush Rajasekaran
bae3b7d594
add a shed util to determine % of power that has won a block
2020-10-11 19:05:54 -04:00
Jakub Sztandera
2b21fdef33
Refactor from crypto.SigType to types.KeyType
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:53 +02:00
Jakub Sztandera
7ee6bafd23
Fix lint warn
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:41 +02:00