ethereum / ethereum/utp

Throw error if user trys to use both accept/accept_with_cid on the same socket

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
40
Forks
20
PR merge metrics
No merged PRs in 30d

Description

accept and accept_with_cid are very different paradigms for accepting connections. Because of this they capable of interchangeably using without logical errors.

Which even function a programmer uses first a flag should be set where if the other one is used an error should be thrown

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the socket entry points for accept and accept_with_cid, then read how socket state and errors are handled. Ensure using both modes in either call order produces an error, and verify the behavior with the repository's relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.