Replies: 2 comments 1 reply
|
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? |
1 reply
|
At this point I think the most likely alternative approach to bitcoin/bitcoin#29432 will use IPC, not p2p. So closing this for now. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
miningpermission 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.
All reactions