Skip to content

p2p: message byte measurement (WIP)#9599

Closed
williambanfield wants to merge 51 commits intomainfrom
wb/envelope-experiments
Closed

p2p: message byte measurement (WIP)#9599
williambanfield wants to merge 51 commits intomainfrom
wb/envelope-experiments

Conversation

@williambanfield
Copy link
Contributor

DRAFT: DO NOT MERGE

This change resurrects the envelope abstraction.

PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

func (mp *Peer) FlushStop() { mp.Stop() } //nolint:errcheck //ignore error
func (mp *Peer) TrySend(chID byte, msgBytes []byte) bool { return true }
func (mp *Peer) Send(chID byte, msgBytes []byte) bool { return true }
func (mp *Peer) FlushStop() { mp.Stop() } //nolint:errcheck //ignore error

Check warning

Code scanning / gosec

Errors unhandled.

Errors unhandled.
@williambanfield williambanfield force-pushed the wb/envelope-experiments branch from f548ff2 to 7e5f932 Compare October 20, 2022 16:57
IsCommit: rs.Step == cstypes.RoundStepCommit,
}
conR.Switch.Broadcast(StateChannel, MustEncode(csMsg))
MsgToProto(csMsg)

Check warning

Code scanning / gosec

Errors unhandled.

Errors unhandled.
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.

1 participant