Steven Allen
0c2ec04c09
use upgrade schedule from node when getting the network name
...
It doesn't matter now, but may in the future.
2020-10-21 12:18:38 -07:00
Steven Allen
30bda0b4c4
set network name everywhere
2020-10-21 12:18:38 -07:00
Steven Allen
710ac9d544
use the correct network version in genesis
...
1. Version 0 upgrades happen _after_ genesis.
2. Get rid of UseNewestNetwork. It's not useful and quite dangerous.
2020-10-21 12:18:38 -07: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
Łukasz Magiera
8cad245f80
Merge pull request #4512 from filecoin-project/feat/disable-bloom
...
Disable blockstore bloom filter
2020-10-21 17:27:33 +02:00
lanzafame
7cbd4d49c3
gofmt
2020-10-21 18:39:57 +10:00
lanzafame
7a33d5bb34
register all apis with metric wrapper
2020-10-21 18:37:50 +10:00
lanzafame
3e767ca5c8
wrap api in metrics proxy
2020-10-21 18:27:13 +10:00
Łukasz Magiera
c767399fc6
Merge pull request #4504 from filecoin-project/feat/clientdeal-miner-picker
...
Miner finder for interactive client deal CLI
2020-10-21 05:46:07 +02:00
Jakub Sztandera
3a46c15c4a
Disable blockstore bloom filter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-21 04:22:49 +02:00
Steven Allen
00dcb1bce9
Manage sectors by size instead of proof type.
...
* We may have multiple sectors with the same size and different proof types, but all these management functions stay the same.
* This simplifies PoSt logic.
2020-10-20 18:30:56 -07:00
Aayush Rajasekaran
420ec18c5b
Merge pull request #4509 from filecoin-project/asr/changelog
...
Lotus version 1.1.0
2020-10-20 18:35:12 -04:00
Aayush Rajasekaran
d78dd42ed4
Lotus version 1.1.0
2020-10-20 18:30:41 -04:00
Aayush Rajasekaran
547c01f5ff
Merge pull request #4506 from filecoin-project/release/1.1.0
...
Introduce Network version 6
2020-10-20 18:29:49 -04: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
Aayush Rajasekaran
7f46ad19ac
VM: Enforce a call depth limit
2020-10-20 18:19:50 -04:00
Jakub Sztandera
6530431995
MinerGetBaseInfo: if miner is not found in lookback, check current
...
If miner is found in current state, just return nil base info as miner
cannot mine if he is not found in the lookback.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-20 23:54:35 +02: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
556f92a823
Update to actors v2.2.0 at PostLiftoff epoch
2020-10-20 17:23:35 -04:00
Aayush Rajasekaran
ef32449309
Merge pull request #4505 from filecoin-project/feat/markets-1.0.0
...
Update markets v1.0.0
2020-10-20 17:22:57 -04:00
hannahhoward
e08032da93
feat(markets): update markets v1.0.0
2020-10-20 13:56:13 -07:00
Łukasz Magiera
dc40469cb3
Miner finder for interactive client deal CLI
2020-10-20 21:54:39 +02:00
whyrusleeping
abc3e783ff
bump lookback cap to 24 hours
2020-10-20 10:09:21 -07:00
whyrusleeping
6bc56c549a
add some methods that oni needs
2020-10-20 10:04:51 -07:00
vyzo
580980d149
make push and addLocal atomic
2020-10-20 19:13:17 +03:00
Łukasz Magiera
c779e4e8ee
Merge pull request #4496 from filecoin-project/ci/address-flaky-tests
...
circle: Run tests for some subsystems separately
2020-10-20 14:18:54 +02:00
Łukasz Magiera
ee0078f7c1
make: Drop npm calls from buildall
2020-10-20 13:48:32 +02:00
Łukasz Magiera
da044d8b00
Merge pull request #4486 from filecoin-project/feat/better-sync-logs
...
add some extra logging to try and debug sync issues
2020-10-20 13:29:20 +02:00
Łukasz Magiera
09e92f98ff
circle: Run tests for some subsystems separately
2020-10-20 13:11:53 +02:00
Łukasz Magiera
0dbf10ce69
Merge pull request #4491 from filecoin-project/one-liner
...
Add a comment to BlockMessages to address #4446 .
2020-10-20 12:49:37 +02:00
jennijuju
e7a68dba58
Add a comment to BlockMessages to address #4446 .
2020-10-20 02:28:43 -04:00
whyrusleeping
608010c35d
add some extra logging to try and debug sync issues
2020-10-19 19:09:49 -07:00
Aayush Rajasekaran
1c6ea75f4b
Merge pull request #4456 from filecoin-project/asr/changelog
...
Lotus version 1.0.0
2020-10-19 20:12:21 -04:00
Aayush Rajasekaran
1ee9fb44e2
Lotus version 1.0.0
2020-10-19 20:09:35 -04:00
Łukasz Magiera
473afc41e7
Merge pull request #4481 from filecoin-project/feat/optim-state-cache
...
state: optimize state snapshot address cache
2020-10-20 02:03:37 +02:00
Jakub Sztandera
a055540c25
Fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-20 01:32:51 +02:00
Jakub Sztandera
cb0513f4c1
Add test
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-20 01:30:40 +02:00
Jakub Sztandera
be42dd824b
state: optimize state snapshot address cache
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-20 00:43:51 +02:00
Łukasz Magiera
06c0444d45
Merge pull request #4480 from filecoin-project/fix/max-piece-size-reverting-to-default
...
Don't overwrite previously-configured maxPieceSize for a persisted ask
2020-10-19 22:55:55 +02:00
Łukasz Magiera
bae735447d
Merge pull request #4477 from filecoin-project/asr/state-api-fix
...
Fix StateReplay to use provided tipset
2020-10-19 22:54:03 +02:00
Ingar Shu
1974490ab0
Don't overwrite previously-configured maxPieceSize for a persisted ask
2020-10-19 13:12:28 -07:00
Aayush Rajasekaran
d24d3e420d
Fix StateReplay to use provided tipset
2020-10-19 14:27:04 -04:00
Łukasz Magiera
869d71446d
miner: fix init --create-worker-key
2020-10-19 16:08:46 +02:00
Łukasz Magiera
268d29222a
docsgen
2020-10-18 20:10:39 +02:00
Łukasz Magiera
1a10f95973
worker: Better miner connectivity check on startup
2020-10-18 19:53:23 +02:00
Łukasz Magiera
8c86ea6b75
localworker: Try very hard to get ruselts to manager
2020-10-18 19:45:11 +02:00