Skip to content

Declaring timeout variables for connection#807

Merged
vncoelho merged 4 commits intomasterfrom
declare-variable-connection-timeout
Jun 11, 2019
Merged

Declaring timeout variables for connection#807
vncoelho merged 4 commits intomasterfrom
declare-variable-connection-timeout

Conversation

@vncoelho
Copy link
Copy Markdown
Member

We are starting an effort for cleaning and improving the P2P classes.

@erikzhang, it is not related to this PR, but the ack = false; happens in SendMessage(Message message) function of the RemoteNode.cs.
After that, an OnAck() event is needed for returning it to true and enabling another sendmessage. Can this be improved?

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@9b11d15). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #807   +/-   ##
=========================================
  Coverage          ?   37.73%           
=========================================
  Files             ?      176           
  Lines             ?    12444           
  Branches          ?        0           
=========================================
  Hits              ?     4696           
  Misses            ?     7748           
  Partials          ?        0
Impacted Files Coverage Δ
neo/Network/P2P/Connection.cs 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b11d15...29e2fc9. Read the comment docs.

@vncoelho vncoelho merged commit e497d95 into master Jun 11, 2019
@vncoelho vncoelho deleted the declare-variable-connection-timeout branch June 11, 2019 20:54
@erikzhang
Copy link
Copy Markdown
Member

Why not use const?

Thacryba pushed a commit to simplitech/neo that referenced this pull request Feb 17, 2020
Tommo-L pushed a commit to Tommo-L/neo that referenced this pull request Jun 22, 2020
* Declaring timeout variables for connection

* Improving comments
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.

4 participants