Steven Allen
3685cb5e12
fix: daemon: avoid prompting to remove chain when noninteractive ( #11582 )
...
1. Let the user specify `--remove-existing-chain=false` to avoid the
prompt and fail if there's an existing chain.
2. Only prompt when interactive. Otherwise, _don't_ remove the chain
by-default.
2024-01-18 22:23:49 +01:00
Andrew Jackson (Ajax)
e102e4f31f
Merge branch 'master' into feat/sturdypost
2023-11-29 17:15:42 -06:00
Łukasz Magiera
231b2070d4
feat: chain import: don't walk to genesis - 2-3x faster snapshot import ( #11446 )
...
* chain import: don't walk to genesis
* fix daemon build
* fast snapshot genesis: address review
2023-11-25 13:29:57 -08:00
Andrew Jackson (Ajax)
848c20d15f
Merge branch 'master' into feat/sturdypost
2023-11-06 16:10:57 -06:00
Andrew Jackson (Ajax)
a520ee85d6
master-to-sturdy
2023-09-21 10:37:02 -05:00
Jie Hou
5b9914790c
Fix lint
2023-09-21 02:15:26 -07:00
Jie Hou
10a9eb2155
Address review comments
2023-09-20 09:33:53 -07:00
Jie Hou
00335441ce
Auto remove existing chain if importing chain file or snapshot
2023-09-19 11:24:12 -07:00
Łukasz Magiera
fe7cf0c39a
feat: chain node: Move consensus slasher to internal service
2023-08-01 17:34:44 +02:00
Phi-rjan
9624dc53f8
Merge pull request #11032 from filecoin-project/feat/remove-existing-chain
2023-07-20 18:41:25 +02:00
Aayush Rajasekaran
2ddb52e103
feat: daemon: import: only setup stmgr if validating chain ( #11084 )
2023-07-18 08:03:34 -10:00
Aayush
09b566dde1
fix: daemon: set real beacon schedule when importing chain
2023-07-17 09:36:41 -04:00
mx
e9f57ae77f
feat: daemon: improvemens to the consensus slasher
2023-07-11 16:40:28 +08:00
Aayush
4bc032430b
feat: slasher: improve UX
2023-07-08 13:40:38 -04:00
Aayush
7180b52d2c
feat: improvements to the consensus slasher
2023-07-08 11:21:35 -04:00
Aayush
4cfdf8e83c
feat: slasher: print error on failure
2023-07-08 11:14:41 -04:00
Phi
2061c32a2e
Check error
...
Check error
2023-07-04 11:53:28 +02:00
Phi
dedfa143ce
Extract removeExistingChain to seperate func
...
Extract removeExistingChain to seperate func
2023-07-04 11:30:06 +02:00
Phi
13224e3e0b
Remove unused function
...
Remove unused clearSplitStoreDir function
2023-07-04 11:07:50 +02:00
Phi
5201744199
feat: snapshot: remove existing chain
...
Remove existing chain on a snapshot-import
log info instead of print
log info instead of print
Remove defer lock
Remove defer lock, and explicitly close the lockedRepo instead
2023-06-30 14:14:16 +02:00
mx
2fca475dd4
fix: supply extra params for ReportConsensusFaultParams
2023-06-09 10:15:14 +08:00
mx
16b9787db9
fix: handle the parent-grinding mining fault
2023-06-08 18:49:39 +08:00
swift-mx
42aa8451f8
fix: error log
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2023-05-30 23:54:07 +08:00
huangxinheng@storswift.com
d365f7b0a1
fix: docs gen
2023-05-30 07:01:24 +00:00
mx
425661772d
style:Refactoring slashfilter
2023-05-30 14:33:35 +08:00
Łukasz Magiera
71f184f5cb
feat: daemon: Auto-resume interrupted snapshot imports
2023-04-25 09:31:19 +02:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
Fridrik Asmundsson
83e2408f81
Only populate message index if config EnableMsgIndex is set
2023-03-28 16:28:47 +02:00
Fridrik Asmundsson
59640a8b22
Populate the index on snapshot import
...
Fixes: https://github.com/filecoin-project/lotus/issues/10537
2023-03-24 11:41:27 +00:00
vyzo
8abe0ea608
Merge pull request #10452 from filecoin-project/vyzo/feat/chain/msgindex
...
feat:chain: Message Index
2023-03-22 17:02:34 +02:00
ZenGround0
43da108466
feat:config:force existing users to opt into new defaults ( #10488 )
...
* Config default does not comment out EnableSplitstore
* Loadability check
* Remove test used for debugging
* regexp for properly safe check that config is set
* regexp for safely matching the EnableSpitstore field in the config
* Add instructions for undeleting config and remind users to set splitstore false for full archive
* UpdateConfig small docs and functional opts
* make gen
* Lint
* Fix
* nil pointer check on validate
* Unit testing of EnableSplitstore cases
* Address Review
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-03-20 12:19:14 -04:00
vyzo
171734ea31
hook the index into the rest of lotus
2023-03-12 15:25:07 +02:00
Travis Person
814c146626
feat: stmgr: cache migrated stateroots
2023-03-01 16:17:34 +00:00
Richard Guan
fc82aab74b
add bool flag and gen documentation
2023-01-16 16:14:19 +11:00
Alfonso de la Rocha
075216d9da
Merge remote-tracking branch 'upstream/master' into adlrocha/cns-iface-master
2022-12-05 18:16:14 +01:00
Łukasz Magiera
ac8ab3ef9e
feat: chain: Faster snapshot imports, zstd imports
2022-11-29 14:10:15 +01:00
Alfonso de la Rocha
627d6e70a6
parametrized reward function for consensus
2022-10-13 16:30:14 +02:00
Aayush
34bbd2ad26
remove duplicate import
2022-09-27 15:34:01 +00:00
Aayush
27880ece2b
feat: support typed errors over RPC
2022-09-27 15:34:01 +00:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Rjan
c9e2c1b1d7
Make --lite
2022-02-28 17:14:05 +01:00
Rjan
686ada0582
Make --lite
option visibile in the cli
2022-02-28 15:19:53 +01:00
vyzo
dd327f0b22
plumb more contexts
2021-12-17 11:42:09 +02:00
vyzo
84710cf27e
plumb more contexts in lotus
2021-12-13 14:26:59 +02:00
hannahhoward
bfd1099ef3
fix(main): fix bug in startup when tracing is not present
2021-12-01 18:53:00 -08:00
hannahhoward
f3b691d618
feat(tracing): switch to OpenTelemetry
...
Switch the underlying tracing library to OpenTelemetry, with a bridge to OpenCensus for
compatibility
2021-12-01 16:19:47 -08:00
Jennifer Wang
38e01cba83
Merge branch 'release/v1.12.0' into jen/12tomaster
2021-10-04 02:38:00 -04:00
Aayush Rajasekaran
c3c46e9097
Fix Drand fetching around null tipsets
2021-09-29 11:57:59 -04:00