Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: backport: release to master #8317

Merged
merged 70 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from 69 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
1916561
bump the version to v1.15.0-rc1
jennijuju Feb 11, 2022
095d5d2
add changelog
jennijuju Feb 11, 2022
75b8e4c
fix: sealer: allow enable/disabling ReplicaUpdate tasks
arajasek Feb 14, 2022
439b424
Merge pull request #8093 from filecoin-project/asr/enabler15
arajasek Feb 15, 2022
71f0f4c
feat: tweak v15 migration params
arajasek Feb 16, 2022
9df5ce1
Merge pull request #8116 from filecoin-project/asr/migration-tweak
arajasek Feb 16, 2022
ae7e5f4
typo in variable name
jennijuju Feb 17, 2022
c6c5cdd
Merge pull request #8134 from filecoin-project/asr/backport
arajasek Feb 17, 2022
3399f72
sealer: fix error message
arajasek Feb 17, 2022
bf36363
Merge pull request #8136 from filecoin-project/asr/backport
arajasek Feb 17, 2022
9ba7bce
Merge branch 'releases' into release/v1.15.0
arajasek Feb 18, 2022
a575947
update go-libp2p to v0.18.0-rc5
vyzo Feb 22, 2022
79562a7
add flag usage
jennijuju Feb 25, 2022
433f9f8
make gen
jennijuju Feb 25, 2022
6347daf
Merge pull request #8189 from filecoin-project/jen/reallydoitflag
jennijuju Feb 26, 2022
c6361b3
Merge branch 'releases' into jen/v15
jennijuju Feb 26, 2022
a92981c
Merge pull request #8171 from filecoin-project/asr/libp2p-update
jennijuju Feb 26, 2022
b8eb4dd
Merge pull request #8193 from filecoin-project/jen/v15
jennijuju Feb 26, 2022
992a016
Merge branch 'releases' into release/v1.15.0
ZenGround0 Feb 28, 2022
30ae1dd
Lotus release v1.15.0-rc2
arajasek Mar 1, 2022
bc5be0c
Merge pull request #8211 from filecoin-project/asr/rc2
arajasek Mar 1, 2022
5329f18
Revert "update go-libp2p to v0.18.0-rc5"
arajasek Mar 2, 2022
7207740
Revert "update libp2p to v0.18.0-rc4"
arajasek Mar 2, 2022
94678ba
Revert "update go-libp2p to v0.18.0-rc3"
arajasek Mar 2, 2022
2aab4d4
Revert "update go-libp2p to v0.18.0-rc2"
arajasek Mar 2, 2022
6dc696b
Revert "feat: update to go-fil-markets v1.19.0"
arajasek Mar 2, 2022
17ac583
Revert "close the rcmgr on shutdown"
arajasek Mar 2, 2022
48e2889
Revert "fix lint"
arajasek Mar 2, 2022
7dbf0ce
Revert "make gen and friends"
arajasek Mar 2, 2022
bf0470a
Revert "fix issues with fil-markets/data-transfer updates"
arajasek Mar 2, 2022
a7e02f7
Revert "update [email protected]"
arajasek Mar 2, 2022
ce040b7
Revert "add description for net stat and limit commands"
arajasek Mar 2, 2022
4968bab
Revert "go mod: update [email protected]"
arajasek Mar 2, 2022
581cb34
Revert "go mod: update [email protected]"
arajasek Mar 2, 2022
e49d499
Revert "fix mocknet.New invocation"
arajasek Mar 2, 2022
f281027
Revert "fix mocknet.New invocation"
arajasek Mar 2, 2022
f9f6f35
Revert "go mod: update go-libp2p-pubsub"
arajasek Mar 2, 2022
11fc068
Revert "go mod: [email protected]"
arajasek Mar 2, 2022
99e1b9e
Revert "add net stat and limit cli"
arajasek Mar 2, 2022
bac1706
Revert "add examples to docgen"
arajasek Mar 2, 2022
b8747e3
Revert "add resource manager Net(Set)Limit api"
arajasek Mar 2, 2022
e9e28f7
Revert "add resource manager NetStat api"
arajasek Mar 2, 2022
b5912d1
Revert "instantiate resource manager in DI"
arajasek Mar 2, 2022
8588628
Revert "use the libp2p connmgr"
arajasek Mar 2, 2022
04f2d35
Revert "go mod: go-libp2p-resource-manager"
arajasek Mar 2, 2022
08bbfed
Revert "go mod: [email protected]"
arajasek Mar 2, 2022
898f523
Upgrade to go-data-transfer 1.14.1
arajasek Mar 2, 2022
1bc1cd3
Upgrade to go-fil-markets 1.19.2
arajasek Mar 2, 2022
ebe1ca7
make gen
arajasek Mar 2, 2022
91d7734
Merge pull request #8233 from filecoin-project/asr/libp2p-downgrade
arajasek Mar 2, 2022
c9799e1
pay for the collateral difference needed if the miner available balan…
jennijuju Mar 2, 2022
5ac1c59
Merge pull request #8234 from filecoin-project/asr/backport
arajasek Mar 2, 2022
7073f31
Handle finalize failures in fsm
ZenGround0 Mar 2, 2022
1c21690
Merge pull request #8235 from filecoin-project/asr/backport
arajasek Mar 2, 2022
2e1bb7e
Lotus release v1.15.0-rc3
arajasek Mar 2, 2022
b7e1548
Merge pull request #8236 from filecoin-project/asr/backport
arajasek Mar 2, 2022
8ec7da0
Handle finalize failures in fsm
ZenGround0 Mar 2, 2022
93e22da
Log instead of error normal shutdown of state machine
ZenGround0 Mar 2, 2022
e51b10e
release v1.14.4
jennijuju Mar 3, 2022
8d737a1
Merge pull request #8242 from filecoin-project/jen/v144prep
jennijuju Mar 4, 2022
5b33555
Merge pull request #8243 from filecoin-project/release/v1.14.4
jennijuju Mar 4, 2022
9b838f5
Merge branch 'releases' into jen/v15backport
jennijuju Mar 4, 2022
4525395
Merge pull request #8245 from filecoin-project/jen/v15backport
jennijuju Mar 4, 2022
3ecc58d
update v1.15.0 changelog
jennijuju Mar 9, 2022
1daaba9
bump the version to v1.15.0
jennijuju Mar 9, 2022
98642ec
fix the change log
jennijuju Mar 10, 2022
61a1a17
Merge pull request #8277 from filecoin-project/jen/v15prep
jennijuju Mar 11, 2022
0ac1bbc
Merge pull request #8279 from filecoin-project/release/v1.15.0
jennijuju Mar 11, 2022
8a2a2d0
Merge branch 'releases' into jen/backport
jennijuju Mar 15, 2022
2170b4d
Fixup merge
arajasek Mar 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
526 changes: 328 additions & 198 deletions CHANGELOG.md

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import (
"fmt"
"time"

"github.com/libp2p/go-libp2p-core/network"

datatransfer "github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/chain/types"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-graphsync"

"github.com/libp2p/go-libp2p-core/network"
"github.com/libp2p/go-libp2p-core/peer"
pubsub "github.com/libp2p/go-libp2p-pubsub"
ma "github.com/multiformats/go-multiaddr"
Expand Down Expand Up @@ -124,12 +125,6 @@ func NewDataTransferChannel(hostID peer.ID, channelState datatransfer.ChannelSta
return channel
}

type NetBlockList struct {
Peers []peer.ID
IPAddrs []string
IPSubnets []string
}

type NetStat struct {
System *network.ScopeStat `json:",omitempty"`
Transient *network.ScopeStat `json:",omitempty"`
Expand All @@ -152,6 +147,12 @@ type NetLimit struct {
FD int
}

type NetBlockList struct {
Peers []peer.ID
IPAddrs []string
IPSubnets []string
}

type ExtendedPeerInfo struct {
ID peer.ID
Agent string
Expand Down
4 changes: 2 additions & 2 deletions chain/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func prepSyncTest(t testing.TB, h int) *syncTestUtil {
ctx: ctx,
cancel: cancel,

mn: mocknet.New(),
mn: mocknet.New(ctx),
g: g,
us: filcns.DefaultUpgradeSchedule(),
}
Expand Down Expand Up @@ -158,7 +158,7 @@ func prepSyncTestWithV5Height(t testing.TB, h int, v5height abi.ChainEpoch) *syn
ctx: ctx,
cancel: cancel,

mn: mocknet.New(),
mn: mocknet.New(ctx),
g: g,
us: sched,
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ require (
github.com/libp2p/go-buffer-pool v0.0.2
github.com/libp2p/go-eventbus v0.2.1
github.com/libp2p/go-libp2p v0.18.0-rc6
github.com/libp2p/go-libp2p-connmgr v0.3.1 // indirect
github.com/libp2p/go-libp2p-connmgr v0.3.1
github.com/libp2p/go-libp2p-core v0.14.0
github.com/libp2p/go-libp2p-discovery v0.6.0
github.com/libp2p/go-libp2p-kad-dht v0.15.0
Expand Down
2 changes: 1 addition & 1 deletion itests/kit/ensemble.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (n *Ensemble) Start() *Ensemble {
// We haven't been bootstrapped yet, we need to generate genesis and
// create the networking backbone.
gtempl = n.generateGenesis()
n.mn = mocknet.New()
n.mn = mocknet.New(ctx)
}

// ---------------------
Expand Down
1 change: 1 addition & 0 deletions markets/loggers/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelStat
"sent", state.Sent(),
"received", state.Received(),
"queued", state.Queued(),
"received count", state.ReceivedCidsTotal(),
"total size", state.TotalSize(),
"remote peer", state.OtherPeer(),
"event message", event.Message,
Expand Down
2 changes: 1 addition & 1 deletion node/modules/lp2p/libp2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (

logging "github.com/ipfs/go-log/v2"
"github.com/libp2p/go-libp2p"
connmgr "github.com/libp2p/go-libp2p-connmgr"
"github.com/libp2p/go-libp2p-core/crypto"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/peerstore"
"github.com/libp2p/go-libp2p/p2p/net/connmgr"
"go.uber.org/fx"
)

Expand Down