Łukasz Magiera
4952d4be77
Merge pull request #2321 from filecoin-project/frrist/generic-adt_array-diffing
...
polish: genericize adt array diff & extract store
2020-07-08 21:15:36 +02:00
Łukasz Magiera
67dd5937ca
Merge pull request #2324 from filecoin-project/feat/optim-badger
...
Fix daemon shutdown and enable compact on close
2020-07-08 21:12:57 +02:00
Jakub Sztandera
ebecca64a1
Fix daemon shutdown
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 21:08:24 +02:00
Jakub Sztandera
0e7b7c9fdb
Update go-ds-badger2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 21:08:23 +02:00
Jakub Sztandera
d3d4612575
Re-eanble compact on close
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 20:59:46 +02:00
frrist
1254f9de0c
clean: go mod tidy
2020-07-08 11:21:40 -07:00
frrist
d78b7e57c7
polish: include key in AdtArrayDiff interface
...
- some values do not contain their keys
2020-07-08 11:19:14 -07:00
frrist
509e3b653c
polish: genericize adt array diff & extract store
...
- adds testing for adt diff
2020-07-08 11:19:14 -07:00
Łukasz Magiera
631b8b5802
Merge pull request #2319 from filecoin-project/feat/optim-badger
...
Use mostly defaults for badger options
2020-07-08 18:05:58 +02:00
Jakub Sztandera
40286e4192
Use mostly defaults for badger options
...
This options are the defults in badger `master` now.
We should update to next badger version as soon as it is stable, it has
some nice improvments.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 17:54:33 +02:00
Łukasz Magiera
8e46753e38
Merge pull request #2306 from filecoin-project/fix/mark-bad
...
Fix bad block rason if ValidateBlock fails
2020-07-08 11:49:50 +02:00
Jakub Sztandera
74db060cdb
Fix bad block rason if ValidateBlock fails
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 03:55:56 +02:00
Łukasz Magiera
683aded05c
Merge pull request #2302 from filecoin-project/asr/cli
...
Minor CLI improvements
2020-07-08 00:01:31 +02:00
Aayush Rajasekaran
20c80f977c
Rename state compute's height flag to vm-height
2020-07-07 17:40:57 -04:00
Aayush Rajasekaran
eac8a909e9
Unify all sender flags in CLI under the same name
2020-07-07 17:37:43 -04:00
Łukasz Magiera
99b5ec96a2
Merge pull request #2101 from filecoin-project/feat/persistent-journal
...
implement a persistent journal for lotus node operations
2020-07-07 02:38:04 +02:00
Łukasz Magiera
74aa3e05fa
journal: Fix panic with no journal set
2020-07-07 02:28:59 +02:00
Łukasz Magiera
66e547230d
Merge pull request #2233 from filecoin-project/frrist/miner-sector-predicate
...
feat: add miner sector predicate and test
2020-07-07 01:43:41 +02:00
whyrusleeping
04bd56a068
log message if journal is not configured
2020-07-06 15:37:05 -07:00
frrist
e1c29ca469
polish: wire up miner state predicate
2020-07-06 14:36:21 -07:00
frrist
3c6e46cd70
feat: add miner sector predicate and test
...
-polish: OnActorStateChanged operate over TipSetKey
- it was calling key() interally and tipsetkeys are cheaper to get than
the full tipset
-polish: improve predicate method names
2020-07-06 14:27:39 -07:00
Łukasz Magiera
27b5a8c3ba
Merge pull request #2283 from filecoin-project/feat/better-bad-reason
...
Add better description to bad blocks
2020-07-06 22:56:53 +02:00
Jakub Sztandera
49800b8fec
Add original tipset to the string
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-06 19:46:25 +02:00
Łukasz Magiera
cf6ac44b6e
Merge pull request #2277 from Leozhang404/master
...
if no sectors need to recovery, checkNextRecoveries will return
2020-07-06 19:24:15 +02:00
Jakub Sztandera
50c773c6a3
Add better description to bad blocks
...
Track original cause of blocks being marked as bad.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-06 19:23:29 +02:00
Łukasz Magiera
41d3ac2159
Merge pull request #2282 from filecoin-project/fix/msig-create-no-addrs
...
error out when trying to create multisig with no addresses
2020-07-06 18:44:22 +02:00
whyrusleeping
18f7b9bb1d
use nicer timestamps
2020-07-06 09:43:19 -07:00
whyrusleeping
ccf64a8534
add the real code
2020-07-06 09:42:00 -07:00
whyrusleeping
42bd4eccbe
implement a persistent journal for lotus node operations
2020-07-06 09:42:00 -07:00
whyrusleeping
0964c0a8a1
error out when trying to create multisig with no addresses
2020-07-06 09:40:56 -07:00
Leo Cheung
874cb46cb3
Update storage/wdpost_run.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2020-07-06 06:20:41 -05:00
Leo Cheung
ddba20ccdf
Update storage/wdpost_run.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2020-07-06 06:19:47 -05:00
Łukasz Magiera
516e31d37c
Merge pull request #2254 from filecoin-project/feat/decoded-return-values
...
provide decoded return values in output of StateWaitMsg
2020-07-06 11:24:12 +02:00
Łukasz Magiera
5836dfae41
Merge pull request #2259 from filecoin-project/yusef-mining-callback
...
add error argument to waitFunc callback in miner loop
2020-07-06 11:18:49 +02:00
Łukasz Magiera
3bb992fe6f
Merge pull request #2265 from filecoin-project/misc/template-version
...
Use `lotus version` instead to get daemon version
2020-07-06 11:15:04 +02:00
Łukasz Magiera
2f3fc31f11
Merge pull request #2268 from chunqizhi/zcq02
...
Add return nil when faults == 0
2020-07-06 11:14:35 +02:00
Leo Cheung
4e12c4cb69
Update wdpost_run.go
...
if some unrecovered sectors can not recovered (such as cache file is missing) , miner should not send message "DeclareFaultsRecovered"
2020-07-06 15:52:58 +08:00
Leo Cheung
79e93760b7
Merge pull request #1 from filecoin-project/master
...
update-0706
2020-07-06 02:43:20 -05:00
chunqizhi
6c9beb9e87
Add return nil when faults == 0
2020-07-05 09:17:10 +08:00
Jakub Sztandera
1d0acf35d2
Use lotus version
instead to get daemon version
2020-07-04 14:51:22 +02:00
Yusef Napora
ea5dc461a1
pass error into waitFunc callback
2020-07-03 17:15:43 -04:00
Łukasz Magiera
e5fdae45b7
Merge pull request #2253 from filecoin-project/extract-stats
...
extract stats package
2020-07-03 21:18:11 +02:00
Łukasz Magiera
db50396eb5
Merge pull request #2256 from filecoin-project/feat/auto-fountains-sector-sizes
...
fountain: populate miner sector dropdown from specs-actors
2020-07-03 21:16:08 +02:00
Łukasz Magiera
ff1cceb7bd
Merge pull request #2257 from filecoin-project/fix/lotus-shed-keyinfo-switch
...
lotus-shed: fix secp256k1
2020-07-03 21:13:50 +02:00
Travis Person
d3a007fd0a
lotus-shed: fix secp256k1
2020-07-03 19:03:02 +00:00
Travis Person
4e0cf1644f
fountain: populate miner sector dropdown from specs-actors
2020-07-03 19:01:56 +00:00
Anton Evangelatov
fe49bcd9fa
make linter happy
2020-07-03 19:52:15 +02:00
Anton Evangelatov
4679c35e61
include headlag in func signature
2020-07-03 19:22:04 +02:00
whyrusleeping
16e493a67a
provide decoded return values in output of StateWaitMsg
2020-07-03 09:57:58 -07:00
Anton Evangelatov
8b88c17503
extract stats package
2020-07-03 16:52:40 +02:00