8000 Use `listener.accept()` by tcharding · Pull Request #1119 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use listener.accept() #1119

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

Merged
merged 1 commit into from
Jul 22, 2022
Merged

Conversation

tcharding
Copy link
Member

During test network simulation we only accept a single connection, we can simplify the code by using accept.

Done as a follow up to review suggestion:

#1042 (comment)

During test network simulation we only accept a single connection, we
can simplify the code by using `accept`.

Done as a follow up to review suggestion:

rust-bitcoin#1042 (comment)
@Kixunil Kixunil mentioned this pull request Jul 22, 2022
Copy link
Collaborator
@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b1faf63

But note that the whole code should be replaced. :) #1123

Copy link
Member
@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b1faf63

@apoelstra apoelstra merged commit 0469838 into rust-bitcoin:master Jul 22, 2022
@tcharding tcharding deleted the 07-22-accept branch July 25, 2022 03:30
ChallengeDev210 pushed a commit to ChallengeDev210/rust-bitcoin that referenced this pull request Aug 1, 2022
b1faf63 Use listener.accept() (Tobin C. Harding)

Pull request description:

  During test network simulation we only accept a single connection, we can simplify the code by using `accept`.

  Done as a follow up to review suggestion:

  rust-bitcoin/rust-bitcoin#1042 (comment)

ACKs for top commit:
  Kixunil:
    ACK b1faf63
  apoelstra:
    ACK b1faf63

Tree-SHA512: b2ead15d3108db3e01d9faab5e3521403dad6a0f4c3cf505f88fefd020110c520a89b9406484c10b04c9a34073c8abc465941577b17b5a193b54502c23b14c61
@Kixunil Kixunil added this to the 0.29.0 milestone Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues 3C09 .

4 participants
0