Skip to content

Fix noise-handshake operations order#729

Merged
pavlenex merged 1 commit into
stratum-mining:devfrom
jakubtrnka:jakubt/handshake-fix
Feb 2, 2024
Merged

Fix noise-handshake operations order#729
pavlenex merged 1 commit into
stratum-mining:devfrom
jakubtrnka:jakubt/handshake-fix

Conversation

@jakubtrnka
Copy link
Copy Markdown
Contributor

This fixes issue #728

@jakubtrnka jakubtrnka changed the base branch from main to dev January 22, 2024 17:15
@jakubtrnka
Copy link
Copy Markdown
Contributor Author

Unit tests for the correctness of each step should be added.

@Fi3
Copy link
Copy Markdown
Collaborator

Fi3 commented Jan 22, 2024

@Sjors as soon as we have it on the TP we can merge

@Sjors
Copy link
Copy Markdown
Collaborator

Sjors commented Jan 22, 2024

A test case would indeed be very useful here, if only so that I can add it to the TP in Bitcoin Core and make sure the issue is fixed.

@Sjors
Copy link
Copy Markdown
Collaborator

Sjors commented Jan 25, 2024

Implemented the same on the Bitcoin Core side. Untested.
Sjors/bitcoin#33

We should coordinate the merge timing for this.

@Sjors
Copy link
Copy Markdown
Collaborator

Sjors commented Jan 29, 2024

tACK 729cdec

Tested against the Bitcoin Core branch.

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.

Incorrect order of arithmetic operations during handshake

4 participants