Skip to content

Conversation

plebhash
Copy link

@plebhash plebhash commented May 28, 2024

close #41

#41 (comment)

For now I suggest cherry-picking the testnet4 commits on top of the sv2 branch. Once testnet4 is merged, I'll rebase.

@Sjors would you be willing to reconsider?

SRI tests are broken on testnet3, and we are pointing people to github.com/Sjors/bitcoin on the official Getting Started tutorial

cc @stratospher

Sjors and others added 25 commits May 2, 2024 19:26
Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
The proposed Stratum v2 integration introduces a new Transport subclass. This commit makes it easier in the future to move this integration to its own process.

net.cpp is currently part of libbitcoin_node. Avoid a dependency on the node by moving the Transport abstract class to common.
This helps reduce the size and scope net.h, as well as to make v1 and v2 transport usable outside libbitcoin_node. This is useful for utilities that need a one-shot p2p connection, e.g. to broadcast a transaction or fetch a specific block.

This commit is not necessary for Stratum v2 process separation.
Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
Implemented starting from a copy of V2Transport and the V2TransportTester, modifying it to fit Stratum v2 and Noise Protocol requirements.

Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
Co-Authored-By: Fi3
Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Co-authored-by: Christopher Coverdale <chris.coverdale24@gmail.com>
Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
The template provider will listen for a Job Declarator client.
It can establish a connection and detect various protocol errors.

Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
Co-Authored-By: Fi3
Co-Authored-By: Christopher Coverdale <chris.coverdale24@gmail.com>
@Sjors
Copy link
Owner

Sjors commented May 28, 2024

I think it's fine. I'll try to merge this and bake some new binaries later this week.

In the mean time, you could point people to your branch here.

@Sjors
Copy link
Owner

Sjors commented May 30, 2024

Thanks, I cherry-picked the testnet4 commits in my sv2 branch: bitcoin#29432 (comment)

@Sjors Sjors closed this May 30, 2024
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.

testnet4 support on sv2 branch
3 participants