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

Use SDK Gossip #318

Merged
merged 37 commits into from
Sep 12, 2023
Merged

Use SDK Gossip #318

merged 37 commits into from
Sep 12, 2023

Conversation

joshua-kim
Copy link
Contributor

@joshua-kim joshua-kim commented Sep 5, 2023

Why this should be merged

Implements gossip interfaces for gossip.Set for atomic and eth transactions. Adds functionality to start using the sdk's gossip implementation in the networking layer.

How this works

Implements the upstream p2p interfaces for gossip

How this was tested

UTs added

@joshua-kim joshua-kim changed the base branch from master to sdk-gossip-noop September 5, 2023 15:30
@joshua-kim joshua-kim marked this pull request as draft September 5, 2023 15:30
@joshua-kim joshua-kim mentioned this pull request Sep 5, 2023
@joshua-kim joshua-kim force-pushed the sdk-gossip-noop branch 3 times, most recently from 7f8afae to 91c34d2 Compare September 5, 2023 16:19
@joshua-kim joshua-kim force-pushed the sdk-gossip branch 2 times, most recently from f427d54 to c3271c2 Compare September 6, 2023 18:40
core/txpool/txpool.go Outdated Show resolved Hide resolved
go.sum Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/mempool.go Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/vm.go Outdated Show resolved Hide resolved
Base automatically changed from sdk-gossip-noop to master September 8, 2023 18:41
joshua-kim and others added 5 commits September 8, 2023 15:05
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@joshua-kim joshua-kim self-assigned this Sep 8, 2023
@joshua-kim joshua-kim marked this pull request as ready for review September 8, 2023 19:55
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/gossip_mempool.go Outdated Show resolved Hide resolved
plugin/evm/mempool.go Outdated Show resolved Hide resolved
joshua-kim and others added 4 commits September 8, 2023 16:32
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>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
plugin/evm/vm.go Outdated Show resolved Hide resolved
commit 2089a73
Author: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Date:   Tue Sep 12 10:55:19 2023 -0400

    nit

commit 95fca6d
Author: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Date:   Tue Sep 12 10:53:11 2023 -0400

    nits

commit 0b9deb0
Author: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Date:   Mon Sep 11 18:58:20 2023 -0400

    update to avalanchego 1.10.10-rc.2
plugin/evm/vm.go Outdated Show resolved Hide resolved
commit 0af3265
Author: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Date:   Tue Sep 12 11:25:07 2023 -0400

    Update to 1.10.10-rc.2 (#328)

    * update to avalanchego 1.10.10-rc.2

    * nits

    * nit

commit 545b4f1
Author: Darioush Jalali <darioush.jalali@avalabs.org>
Date:   Mon Sep 11 09:20:23 2023 -0700

    Fix TestVMShutdownWhileSyncing (#323)

    * Fix TestVMShutdownWhileSyncing

    * fix

commit 347fe53
Author: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Date:   Mon Sep 11 10:53:44 2023 -0400

    Fix hanging requests after Shutdown (#326)

    * fix requests hanging after shutdown

    * fix build

    ---------

    Signed-off-by: Stephen Buttolph <stephen@avalabs.org>
    Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@aaronbuchwald
Copy link
Collaborator

Separate PR to bump golangci-lint timeout from 3m to 10m here: #330

@StephenButtolph StephenButtolph merged commit 0fd55ab into master Sep 12, 2023
8 of 9 checks passed
@StephenButtolph StephenButtolph deleted the sdk-gossip branch September 12, 2023 15:58
@joshua-kim joshua-kim mentioned this pull request Sep 12, 2023
darioush pushed a commit that referenced this pull request Apr 25, 2024
* Add SDK Router message handling (#316)

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>

* Fix hanging requests after Shutdown (#326)

* fix requests hanging after shutdown

* fix build

---------

Signed-off-by: Stephen Buttolph <stephen@avalabs.org>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>

* Update to 1.10.10-rc.2 (#328)

* update to avalanchego 1.10.10-rc.2

* nits

* nit

* Add P2P SDK Pull Gossip (#318)

* add batchsize

* sync changes

* Drop outbound gossip for non vdrs (#862)

* Drop outbound gossip requests for non-validators (#334)

* drop outbound gossip requests for non validators

* nit

* nit

* sync changes

---------

Co-authored-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>

---------

Co-authored-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants