Steven Allen
92177b5738
implement tape upgrade
...
Upgrade to specs-actors v2.1 and network version 5. This fixes the bug where
prove commits were not accepted.
2020-10-12 02:00:27 -04:00
Łukasz Magiera
4ac2bee81c
Update oni
2020-10-12 06:34:45 +02:00
Łukasz Magiera
a2e0832a12
Fix lint
2020-10-12 06:17:00 +02:00
Łukasz Magiera
8fd9b5f235
Merge pull request #4315 from filecoin-project/feat/stats-ops
...
lotus-stats: optmize getting miner power
2020-10-12 06:01:52 +02:00
Jakub Sztandera
a95e343dee
Merge pull request #4321 from filecoin-project/feat/love
...
Chain is love
2020-10-12 05:44:34 +02:00
Steven Allen
c296e1bbca
use actor abstraction in metrics command
2020-10-11 20:31:20 -07:00
Jakub Sztandera
ae366972a9
Chain is love
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 05:11:04 +02:00
Aayush Rajasekaran
b4215e5f46
Add a CLI tool for miner's to repay debt
2020-10-11 19:57:30 -04:00
Jakub Sztandera
df7ee610cd
Re-enable repub
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 01:29:19 +02:00
Jakub Sztandera
fda8b932ba
Ask for confirmation when creating a key
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 01:27:15 +02:00
Jakub Sztandera
7b4a5fc7ca
Fixup off by one
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:50:29 +02:00
Jakub Sztandera
d6c8276c7a
Add support for WalletNew to ledger
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:48:23 +02: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
Łukasz Magiera
6a232e7214
Basic multi-wallet support
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:41 +02:00
Jakub Sztandera
7ee6bafd23
Fix lint warn
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:41 +02:00
Jakub Sztandera
753d7b71a9
Fix hardened path printing, show 20 addresses after empty
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
bb6a354b62
chain cli: decode params command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
8ae66d6c6a
Fix lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
2c92157233
shed ledger: Some UX improvements
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
66d6113340
ledgerwallet: Validate signing bytes
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
99791a6953
lotus-wallet: ledger flag
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
whyrusleeping
b35f9b56b4
WIP: adding in ledger support
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Travis Person
23470bc38f
lotus-stats: optmize getting miner power
2020-10-11 20:27:36 +00:00
Whyrusleeping
40b2e2d0c1
Merge pull request #4312 from filecoin-project/feat/msig-inspect-decode
...
decode parameters for multisig transactions in inspect
2020-10-11 11:51:32 -05:00
Jakub Sztandera
85be11fb75
Add propose remove
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-11 18:10:02 +02:00
Łukasz Magiera
00620aac57
Merge pull request #4296 from filecoin-project/feat/sync-unmarkbad-all
...
sync unmark-bad --all
2020-10-10 22:35:56 +02:00
Łukasz Magiera
32d95fc97a
docsgen, gofmt
2020-10-10 20:46:06 +02:00
Łukasz Magiera
a491fc97b9
Merge pull request #4301 from filecoin-project/steb/fix-two-races
...
Fix two races
2020-10-10 20:37:13 +02:00
Łukasz Magiera
151577f04e
Merge pull request #4287 from filecoin-project/feat/flush_validation_cache_on_chain_import
...
Dump the block validation cache whenever we perform an import
2020-10-10 20:33:17 +02:00
Steven Allen
c463582528
fix a race and optimize hello messages
...
LifecycleCtx can _only_ be called during startup as it appends an fx hook.
Worse, this was causing us to append an fx hook on every single hello message,
leaking memory (and probably causing other shutdown issues...).
2020-10-10 08:33:06 -07:00
Steven Allen
7245ac2b69
fix a race in the sync manager
...
1. SyncerState contains a mutex and should never be copied. Honestly, this case
was probably fine but it's just as easy to create a separate snapshot type and
easier to reason about.
2. We need to initialize the syncStates array once at start, before accessing
it. By each syncer state inside each worker, we were racing with calls to
`State()`. Again, this was probably benign, but I don't trust optimizing
compilers.
2020-10-10 08:31:04 -07:00
Łukasz Magiera
58f13a7d5a
Merge pull request #4299 from filecoin-project/fix/wallet-export-panic
...
Fix panic in wallet export when key is not found
2020-10-10 16:25:40 +02:00
Peter Rabbitson
e7d3b2503e
Merge tag 'v0.9.1'
2020-10-10 15:54:51 +02:00
Łukasz Magiera
ee8b8b8174
Merge pull request #4298 from filecoin-project/fix/cli-stderr-errors
...
cli: Don't output errors to stdout
2020-10-10 15:52:43 +02:00
Łukasz Magiera
4fa6afad13
Fix panic in wallet export when key is not found
2020-10-10 15:44:22 +02:00
Łukasz Magiera
a80e98dc05
cli: Don't output errors to stdout
2020-10-10 15:38:14 +02:00
Peter Rabbitson
23f5a99117
Add comment clarifying current codepath
2020-10-10 15:36:32 +02:00
Łukasz Magiera
651522cbaa
Merge pull request #4274 from filecoin-project/feat/msig-remove-api
...
add an api for removing multisig signers
2020-10-10 12:56:07 +02:00
Łukasz Magiera
388c9afce0
docsgen
2020-10-10 12:28:59 +02:00
Łukasz Magiera
9a26896c69
Merge pull request #4282 from filecoin-project/steb/fix-tipset-cache-race
...
fix a race in tipset cache usage
2020-10-10 12:27:15 +02:00
Łukasz Magiera
2db8b7efa7
Merge pull request #4291 from filecoin-project/steb/node-test-races
...
make pledge test pass with the race detector
2020-10-10 11:54:25 +02:00
Łukasz Magiera
18e58467f8
sync unmark-bad --all
2020-10-10 10:26:42 +02:00
Łukasz Magiera
1401efb115
Merge pull request #4294 from filecoin-project/feat/v0.9.1
...
Bump the version to 0.9.1
2020-10-10 09:15:04 +02:00
Łukasz Magiera
f417d39a08
Bump the version to 0.9.1
2020-10-10 09:13:52 +02:00
Łukasz Magiera
11e35cf911
Merge pull request #4293 from filecoin-project/steb/actors-fixes
...
upgrade specs-actors
2020-10-10 08:53:20 +02:00
Steven Allen
10d464a1eb
upgrade to specs-actors v2.0.3
2020-10-09 21:52:01 -07:00
Steven Allen
d84f5dabab
remove upgrade invariant checks
...
These checks may be _too_ strict and could cause the upgrade to fail unnecessarily.
2020-10-09 21:51:58 -07:00
Steven Allen
f3abd1ae82
make pledge test pass with the race detector
2020-10-09 20:32:09 -07:00
Peter Rabbitson
85abca4b16
Delint
2020-10-10 04:00:12 +02:00
Peter Rabbitson
6610a247cf
Dump the block validation cache whenever we perform an import
...
This solves a problem with folks resurrecting long-out-of-sync nodes via
snapshot imports.
The interface switch to Batching is necessary: startup is too long otherwise
( 8 minutes just to clear everything on a relatively old node )
2020-10-10 03:41:04 +02:00