Marco Munizaga
766d809f0c
Update to go-libp2p v0.21-RC
2022-08-11 11:15:20 -07:00
Łukasz Magiera
71dacb5af8
sealing pipeline: Remove useless storage adapter code
2022-08-09 13:40:06 +02:00
ZenGround0
8b7be6d47e
feat:chain:splitstore auto prune ( #9123 )
...
Auto Prune
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2022-08-08 16:06:32 -04:00
ZenGround0
0c91b0dc10
feat:chain:splitstore chain prune ( #9056 )
...
* Splitstore chain prune
* Protect on reification for simpler logic and sound cold compact protect
* Recovery from checkpoint during chain prune
* Splitstore (discard and universal mode) running in itests
* Add pause and restart functions to itest block miner
* Add config options to itest full nodes
* Add FsRepo support for itest full ndoes
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2022-08-05 16:34:16 -04:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
LexLuthr
a59d73d64a
Merge branch 'master' into feat/SchedRemoveRequest
2022-08-04 02:24:14 +05:30
LexLuthr
cdc08e566f
fix everything pointed as per review
2022-08-04 02:00:24 +05:30
LexLuthr
c736dedfa6
move requestremove inside runSched
2022-08-04 02:00:24 +05:30
LexLuthr
cf78fa99ee
Rebase on master
2022-08-04 01:59:48 +05:30
Łukasz Magiera
da33d82e1b
feat: sealer: Custom worker name config
2022-08-03 12:58:49 +02:00
LexLuthr
f5a7a650e7
rename to ActorWithdrawBalance
2022-08-02 13:04:54 +05:30
LexLuthr
e0e0b0b62f
don't wait for msg to land on chain
2022-08-01 23:41:24 +05:30
Łukasz Magiera
3309e10b0d
itests: Test storage detach/redeclare
2022-08-01 15:58:06 +02:00
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
LexLuthr
e9705c4e26
remove comment pointed out in review
2022-07-30 17:16:50 +05:30
LexLuthr
498334e860
fix spelling mistakes
2022-07-29 20:18:10 +05:30
LexLuthr
4f03486011
miner withdrawbalance API
2022-07-29 20:09:49 +05:30
Aayush Rajasekaran
57e5aa667f
Merge pull request #8991 from filecoin-project/fix/estimate-with-zero-base-fee
...
fix: gas: estimate gas with a zero base-fee
2022-07-13 11:57:22 -04:00
Jennifer Wang
8486ae0d51
Merge branch 'releases' into jen/backport
2022-07-11 14:27:26 -04:00
Łukasz Magiera
d9311b200c
Merge pull request #8978 from filecoin-project/fix/marketnode-storageauth
...
fix: Delegate storage auth on market nodes
2022-07-11 12:23:47 +02:00
Steven Allen
d192b821a9
fix: gas: estimate gas with a zero base-fee
...
Otherwise, an account will need funds to estimate the max possible gas a
message could take (which is usually the block gas limit).
This does mean gas estimation no longer checks if the sending account
has enough funds to cover the message cost, but MpoolPush will now do
this.
2022-07-08 09:47:45 -07:00
Marten Seemann
a825682bf9
chore: stop using the deprecated github.com/libp2p/go-libp2p-yamux ( #8998 )
2022-07-08 09:44:24 -07:00
Steven Allen
6bed08fe54
chore: update libp2p
...
1. This pulls in a multistream fix that should fix that fixes a few
tests (and probably a few actual bugs).
2. This deduplicates dependencies that have been merged into the
monorepo.
fixes #8953
2022-07-07 21:38:13 -07:00
Marten Seemann
d52f01a19f
fix incorrect usage of peer.IDFromString (should be peer.Decode)
2022-07-07 21:47:33 +00:00
Aayush
d68a60e8d9
feat: recovery: Config for maximum partition count per message
2022-07-07 14:48:37 -04:00
Łukasz Magiera
673f9238be
feat: wdpost: Config for maximum partition count per message
2022-07-07 14:10:31 -04:00
Aayush
770c32c3cb
feat: recovery: Config for maximum partition count per message
2022-07-07 12:46:33 -04:00
Łukasz Magiera
b499ef0c3a
Merge pull request #8982 from filecoin-project/feat/post-maxpart-config
...
feat: wdpost: Config for maximum partition count per message
2022-07-07 16:48:38 +02:00
Łukasz Magiera
7741175b7d
feat: wdpost: Config for maximum partition count per message
2022-07-07 12:38:21 +02:00
Łukasz Magiera
413183e4fa
fix: Delegate storage auth on market nodes
2022-07-06 22:22:41 +02:00
Dirk McCormick
2d2b06464c
feat: update go-fil-markets to v1.23.0
2022-07-06 11:43:06 -04:00
Aayush Rajasekaran
b35a325816
Fixup typos
2022-07-04 11:27:56 -04:00
Łukasz Magiera
d5100f883d
cfgdoc-gen: Handle empty lines in comments
2022-07-01 22:32:10 +02:00
Łukasz Magiera
59f3161fd6
wdpost: Config for disabling sector prechecks
2022-07-01 22:20:05 +02:00
Łukasz Magiera
84881f64ad
sealer: Config for disabling builtin PoSt
2022-07-01 21:24:54 +02:00
Geoff Stuart
3bb7e9d113
Merge pull request #8941 from filecoin-project/gstuart/actors-cids-older-versions
...
Feat: api: Api call to get actor cids works for versions < 16
2022-06-29 15:31:50 -04:00
Geoff Stuart
4bebce0201
Remove StateActorManifestCID
2022-06-29 15:16:13 -04:00
Geoff Stuart
4268b426f9
review fixes
2022-06-29 14:58:58 -04:00
Geoff Stuart
ed65b4c3bf
Api call to get actor cids works for versions < 16
2022-06-29 14:58:56 -04:00
Masih H. Derkani
e8c44babcf
Remove dependency to archived quic and regenerate CLI docs
...
The quic transport implementation is now moved to `go-libp2p` mono repo.
Replace the dependency to the archived repo with the new one.
Regenerate CLI docs.
2022-06-29 14:55:35 -04:00
Masih H. Derkani
39a710e1d6
Address lint issues as a result of libp2p deprecations and tidy go mod
...
Address staticcheck issues caused by deprecated APIs and `go mod tidy`.
2022-06-29 14:55:35 -04:00
Jennifer Wang
c3f3eb0812
Merge branch 'releases' into jen/masterbp
2022-06-27 15:13:12 -04:00
Geoff Stuart
83d7db88cf
review fixes
2022-06-23 14:32:14 -04:00
Geoff Stuart
e684248f48
Added api call to get actors cids
2022-06-23 14:07:23 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
58416d0881
storage: Don't depend on specs-storage, move to storiface
2022-06-17 13:36:33 +02:00
Łukasz Magiera
9c4d10ec73
api: handle no-precommit in StateSectorPreCommitInfo gracefully
2022-06-16 15:20:58 +02:00
Łukasz Magiera
2dc1df878d
api: Move StateComputeDataCID to full-node
2022-06-16 13:29:35 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
82857e6d5d
chore: rerun gen with moved packages
2022-06-14 20:13:31 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
98a48a47f8
storage: Move extern/storage-sealing to storage/pipeline
2022-06-14 19:41:59 +02:00
Łukasz Magiera
717bda63b1
storage: Move control address logic to storage/ctladdr
2022-06-14 19:32:29 +02:00
Łukasz Magiera
dff1bf2868
storage: Move window-post logic into a separate package
2022-06-14 19:27:09 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Steven Allen
ddc9425c07
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:51:49 -07:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:15:00 -07:00
Łukasz Magiera
1cd94f598d
Merge pull request #8820 from filecoin-project/asr/deprecate-blocksync
...
refactor: remove old BlockSyncProtocolID
2022-06-13 18:36:21 +02:00
vyzo
d4d5ce3021
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-06-13 12:16:20 -04:00
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -04:00
Aayush
789f212f6c
refactor: remove old BlockSyncProtocolID
2022-06-08 13:38:56 -04:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Aayush
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -04:00
Geoff Stuart
782011b572
Cleanup LoadBundle
2022-06-01 22:22:52 -04:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
vyzo
207ff66b3b
update comment.
...
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2022-05-31 12:33:08 +03:00
vyzo
bc180c8d78
update comment.
...
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2022-05-31 12:32:56 +03:00
vyzo
a1e6410178
remove outdated comment
2022-05-31 12:09:04 +03:00
vyzo
a313dcba74
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-05-31 12:03:03 +03:00
Łukasz Magiera
56bde5adf9
Merge pull request #8692 from filecoin-project/feat/health-endpoints
...
feat: networking: add healthz and livez endpoints
2022-05-30 15:42:06 +02:00
Łukasz Magiera
48aa0131bf
fix: rpc: readd rpc.discover aliases
2022-05-27 17:03:03 +02:00
Aayush
4fa04abb8c
Add disable flag for Skyr upgrade
2022-05-26 18:20:49 -04:00
Geoff Stuart
30e7f89662
Check for manifest CID while loading bundle
2022-05-26 17:30:32 -04:00
Aayush Rajasekaran
06279b5f1a
Merge pull request #8606 from filecoin-project/asr/fix-drand-round
...
Fix: drand: calculation of round from Filecoin epochs
2022-05-25 15:36:53 -04:00
Aayush Rajasekaran
6924a3d5f2
Fix calculation of Drand round from Filecoin epochs
2022-05-25 12:43:52 -04:00
vyzo
bb0e3a6cb0
don't clobber test bundles during migration
2022-05-25 19:16:11 +03:00
Aayush Rajasekaran
c2f0bd3c62
Merge pull request #8668 from filecoin-project/asr/fix-post-test
...
fix wdpost_dispute tests
2022-05-24 14:22:01 -04:00
Aayush
2b847a98ae
fix wdpost_dispute tests
2022-05-24 13:58:30 -04:00
Cory Schwartz
d2299dfbf8
backoff/reconnect loop
2022-05-24 10:24:37 -07:00
Steven Allen
496799f867
build: set NetworkBundle in params file
...
Otherwise, we end up overriding the ldflags.
fixes #8684
2022-05-24 09:42:22 -07:00
Łukasz Magiera
70f3b98574
Fix config doc
2022-05-24 01:33:56 +02:00
Łukasz Magiera
7612860d15
config: Storage.DisallowRemoteFinalize
2022-05-23 23:53:25 +02:00
Łukasz Magiera
16f434c790
config: Plumb Assigner config correctly
2022-05-23 22:02:39 +02:00
Łukasz Magiera
443488b096
lint, docsgen
2022-05-23 22:02:39 +02:00
Łukasz Magiera
5ba8bd3b99
sched: Configurable assigners
2022-05-23 22:02:39 +02:00
Jennifer Wang
5cfedacf9f
make jen
2022-05-23 15:11:46 -04:00
Cory Schwartz
7d55ab0734
make atomic
2022-05-23 12:04:13 -07:00
Cory Schwartz
0a7fbd0fce
Merge remote-tracking branch 'origin/feat/health-endpoints' into feat/health-endpoints
2022-05-23 11:14:34 -07:00
Cory Schwartz
b4852038a1
Update node/health.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-23 11:11:45 -07:00
Łukasz Magiera
389df95b00
config: Update batching comment in all the places
2022-05-23 18:49:01 +02:00
Cory Schwartz
45d15cb8ee
handle error during liveness check
2022-05-23 09:29:11 -07:00
Cory Schwartz
444d0b1b8a
add healthz and livez endpoints
2022-05-20 18:38:17 -07:00
vyzo
91daae2e36
add the network name to the bundle key in the datastore
2022-05-18 19:14:11 +03:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
vyzo
93417fca7d
Merge pull request #8660 from filecoin-project/fix/issue-8659
...
[nv16] use network bundle names consistent with the network name
2022-05-17 22:13:02 +03:00
vyzo
31c8460116
fix typo
2022-05-17 21:47:01 +03:00