identify: remove support for Identify Delta

This commit is contained in:
Marten Seemann
2023-01-04 11:29:01 +13:00
parent 0e9abdf228
commit aa1f32484a
10 changed files with 33 additions and 769 deletions

View File

@@ -286,7 +286,6 @@ func TestHostProtoPreference(t *testing.T) {
// Prevent pushing identify information so this test works.
h1.RemoveStreamHandler(identify.IDPush)
h1.RemoveStreamHandler(identify.IDDelta)
h2.SetStreamHandler(protoOld, handler)
@@ -362,7 +361,6 @@ func TestHostProtoPreknowledge(t *testing.T) {
h2.SetStreamHandler("/super", handler)
// Prevent pushing identify information so this test actually _uses_ the super protocol.
h1.RemoveStreamHandler(identify.IDPush)
h1.RemoveStreamHandler(identify.IDDelta)
h2pi := h2.Peerstore().PeerInfo(h2.ID())
require.NoError(t, h1.Connect(ctx, h2pi))