-
Notifications
You must be signed in to change notification settings - Fork 7
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
P2P: listen endpoint option to specify no blocks #1101
Labels
Milestone
Comments
heifner
added a commit
that referenced
this issue
Jan 22, 2025
heifner
added a commit
that referenced
this issue
Jan 22, 2025
heifner
added a commit
that referenced
this issue
Jan 22, 2025
heifner
added a commit
that referenced
this issue
Jan 22, 2025
…nnection type to avoid the node adopting the mode
heifner
added a commit
that referenced
this issue
Jan 22, 2025
…wise type can be set so that trxs are not sent to peer
heifner
added a commit
that referenced
this issue
Jan 22, 2025
heifner
added a commit
that referenced
this issue
Jan 22, 2025
heifner
added a commit
that referenced
this issue
Jan 24, 2025
heifner
added a commit
that referenced
this issue
Jan 24, 2025
heifner
added a commit
that referenced
this issue
Jan 25, 2025
heifner
added a commit
that referenced
this issue
Jan 25, 2025
…te determination if a block request is needed. Also include in the block request_message the peer head. The peer head allows the node to determine if on a fork and send from LIB instead. Also create block_on_fork function to remove duplicate code.
heifner
added a commit
that referenced
this issue
Jan 25, 2025
…te determination if a block request is needed. Also include in the block request_message the peer head. The peer head allows the node to determine if on a fork and send from LIB instead. Also create block_on_fork function to remove duplicate code.
heifner
added a commit
that referenced
this issue
Jan 25, 2025
heifner
added a commit
that referenced
this issue
Jan 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://hackmd.io/-766AO7CTjCb99TOAt_jSQ
Add option to
p2p-listen-endpoint
(:trx)
which tells all connections on that endpoint to not relay blocks.This would be useful for public relay nodes so blocks are not sent to it.
Currently, blocks are sent to public relay nodes (all peers) after a block header has been validated and the block has not yet been received from the node.
A test I ran locally with 17 public P2P peers, echoed back to 5 on average for every block. It is highly doubtful those peers needed those blocks.
The text was updated successfully, but these errors were encountered: