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

Add gossip Marshaller interface #2509

Merged
merged 17 commits into from
Dec 20, 2023
Merged

Add gossip Marshaller interface #2509

merged 17 commits into from
Dec 20, 2023

Conversation

joshua-kim
Copy link
Contributor

Why this should be merged

Required to unblock the X-Chain's integration for the sdk gossip

How this works

Refactors marshal and unmarshal to be on its own interface instead of attached to the Gossipable interface

How this was tested

UTs pass

Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@joshua-kim joshua-kim marked this pull request as ready for review December 19, 2023 17:24
@joshua-kim joshua-kim self-assigned this Dec 19, 2023
@joshua-kim joshua-kim added the networking This involves networking label Dec 19, 2023
network/p2p/gossip/gossipable.go Outdated Show resolved Hide resolved
network/p2p/gossip/gossipable.go Outdated Show resolved Hide resolved
network/p2p/gossip/gossip_test.go Outdated Show resolved Hide resolved
network/p2p/gossip/gossip.go Outdated Show resolved Hide resolved
network/p2p/gossip/handler.go Outdated Show resolved Hide resolved
joshua-kim and others added 8 commits December 19, 2023 17:30
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
network/p2p/gossip/gossipable.go Outdated Show resolved Hide resolved
network/p2p/gossip/test_gossip.go Outdated Show resolved Hide resolved
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Dec 19, 2023
joshua-kim and others added 5 commits December 19, 2023 18:01
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 20, 2023
Merged via the queue into dev with commit 39a5320 Dec 20, 2023
17 checks passed
@StephenButtolph StephenButtolph deleted the gossip-parser branch December 20, 2023 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking This involves networking
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants