You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this alternative Bitcoin Core would have all the Template Provider functionality, but they would be implemented as p2p messages. The SRI TP would run on the same machine and make a p2p connection with a special mining permission so it can access these new message types. It then translates these p2p messages to native Stratum v2.
Just like #1032 this avoids the need to add Noise encryption and a new networking stack to Bitcoin Core. But the SRI side doesn't have to be very smart, it's more like a proxy.
Some downsides are listed in the comment. The main issue is that the Bitcoin p2p protocol is more difficult to use than RPC.
The text was updated successfully, but these errors were encountered:
What would be the real advantage of this solution (against the alternative here) in your opinion? Could a TP be used by multiple clients in this scenario?
Guys should we have discussions like this going forward in the https://github.com/stratum-mining/stratum/discussions? IMO issues should be a clearly specified to-do that can be resolved by a PR. Anything that requires input and should ideally go into a discussion.
I suggested an alternative to the alternative in #1032... bitcoin/bitcoin#29432 (comment)
In this alternative Bitcoin Core would have all the Template Provider functionality, but they would be implemented as p2p messages. The SRI TP would run on the same machine and make a p2p connection with a special
mining
permission so it can access these new message types. It then translates these p2p messages to native Stratum v2.Just like #1032 this avoids the need to add Noise encryption and a new networking stack to Bitcoin Core. But the SRI side doesn't have to be very smart, it's more like a proxy.
Some downsides are listed in the comment. The main issue is that the Bitcoin p2p protocol is more difficult to use than RPC.
The text was updated successfully, but these errors were encountered: