Skip to content
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

Fix regression in reading stratum messages #2450

Merged

Conversation

hashmap
Copy link
Contributor

@hashmap hashmap commented Jan 22, 2019

It was introduced in #2418, it turns out std read_line always appends to
the string, not writes from the beginning, so when we have multiple
workers to read from all messages are concatenated

It was introduced in mimblewimble#2418, it turns out std read_line always appends to
the string, not writes from the beginning, so when we have multiple
workers to read from all messages are concatenated
@ignopeverell ignopeverell added this to the 1.0.1 milestone Jan 22, 2019
@ignopeverell ignopeverell merged commit 55f4ee3 into mimblewimble:master Jan 22, 2019
bitgrin pushed a commit to bitgrin/bitgrin that referenced this pull request Mar 2, 2019
It was introduced in mimblewimble#2418, it turns out std read_line always appends to
the string, not writes from the beginning, so when we have multiple
workers to read from all messages are concatenated
@hashmap hashmap deleted the six-stratum-read-line branch April 4, 2019 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants