Re: [bitcoin-dev] [BIP Proposal] BetterHash Mining Protocol Replacements

2018-06-06 Thread Matt Corallo via bitcoin-dev
Clients "inspecting and modifying the transactions" is explicitly *not* supported. There should be more than enough features for clients to get bitcoind to generate the exact block they want already available via Bitcoin Core. The only reason transactions are exposed over the work protocol at all,

Re: [bitcoin-dev] [BIP Proposal] BetterHash Mining Protocol Replacements

2018-06-05 Thread Chris Pacia via bitcoin-dev
Really like that you're moving forward with this. A few months ago I was working on something similar as it seemed like nobody else was interested. In regards to the specific proposal, would it make sense to offer a tx subscription endpoint in addition to TRANSACTION_DATA_REQUEST? Such an

[bitcoin-dev] [BIP Proposal] BetterHash Mining Protocol Replacements

2018-06-05 Thread Matt Corallo via bitcoin-dev
Been working on this one for a while, so its already been through a few rounds of feeback (thanks to all those who already have provided feedback)! At a high level, this meets a few goals: 1) Replace getblocktemplate with something that is both more performant (no JSON encoding, no full