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
Refactor/extract transport #2743
Refactor/extract transport #2743
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2743 +/- ##
==========================================
- Coverage 80.47% 80.42% -0.06%
==========================================
Files 307 307
Lines 10576 10579 +3
==========================================
- Hits 8511 8508 -3
- Misses 2065 2071 +6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but CHANGES.md
is deprecated. I'll fix that problem and approve and merge now. cc. @longfin
8c22bd1
to
c39da2a
Compare
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Several points:
AppProtocolVersionOptions
shouldn't beITransport
.SwarmOptions.MessageTimestampBuffer
should either be moved to a separate option explicitly forITransport
, or this should be moved together withAppProtocolVersionOptions
toSwarm<T>
. Also there are certainTimeoutOptions
properties that should only beITransport
's concern.Swarm<T>
should probably checkITransport
'sPublicKey
to make sure they both have the samePrivateKey
. I'm not sure about whether they should actually be the same.