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

wip: feat(p2p): add test for RLPx connection #12

Closed
wants to merge 2 commits into from
Closed

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Oct 3, 2022

This is a starting point for p2p connections, currently it's just a test module with some code for connecting two peers.

todo:

  • test sending a message through a channel
  • create more useful struct for setting up connections and enabling the eth subprotocol

I may make changes in devp2p-rs and link changes if necessary

@gakonst
Copy link
Member

gakonst commented Oct 3, 2022

(LMK when you need a review)

Sounds good re devp2p-rs. We may want to pull the crate in the monorepo as a crate if it ends up becoming a problem.

@onbjerg onbjerg added A-devp2p Related to the Ethereum P2P protocol C-test A change that impacts how or what we test labels Oct 11, 2022
@Rjected
Copy link
Member Author

Rjected commented Oct 16, 2022

Closing in favor of efforts in #64

@Rjected Rjected closed this Oct 16, 2022
@gakonst gakonst deleted the dan/ping-test branch October 16, 2022 05:24
anonymousGiga added a commit to anonymousGiga/reth that referenced this pull request Feb 20, 2024
* add feature 'enable_db_speed_record'

* Some minor refactoring

---------

Co-authored-by: anonymousGiga <cryptonymGong@gmail.com>
AshinGau added a commit to AshinGau/reth that referenced this pull request Sep 20, 2024
…digmxyz#12)

Balance each partition according to transaction's weight:
1. In the first round, weights can be assigned based on transaction type
and called contract type;
2. While in the second round, weights can be assigned based on
tx_running_time.
AshinGau added a commit to AshinGau/reth that referenced this pull request Oct 13, 2024
…digmxyz#12)

Balance each partition according to transaction's weight:
1. In the first round, weights can be assigned based on transaction type
and called contract type;
2. While in the second round, weights can be assigned based on
tx_running_time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devp2p Related to the Ethereum P2P protocol C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants