londonbitdevs / londonbitdevs-website

Website for Bitdevs London
MIT License
1 stars 6 forks source link

Add Socratic 33 #29

Closed stickies-v closed 5 months ago

stickies-v commented 6 months ago

Topics and links can be pushed directly to this branch, or added as comments/review.

netlify[bot] commented 6 months ago

Deploy Preview for londonbitdevs ready!

Name Link
Latest commit dde8c67a21259da56e9d8d89530190bcc99e6daf
Latest deploy log https://app.netlify.com/sites/londonbitdevs/deploys/66280fcaa4ccf500080d0148
Deploy Preview https://deploy-preview-29--londonbitdevs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

AngusP commented 5 months ago

Suggestion for Mining:

0xB10C on Nostr and other places nostr:note1qckcs4y67eyaawad96j7mxevucgygsfwxg42cvlrs22mxptrg05qtv0jz3 17th Apr 2024

Looking at the merkle branches that mining pools send to miners as part of stratum jobs, it's clear that the BTCcom pool, Binance pool, Poolin, EMCD, Rawpool, and possibly Braiins* have exactly the same template and custom transaction prioritization as AntPool.

Stratum v1 jobs include (parts of) the coinbase transaction and the merkle branches a miner needs to compute the merkle root. If all branches are equal across pools, the block template is exactly the same.

This is a smaller merkle-tree with the stratum job branches highlighted.

Here, branch0 is the txid of the first transaction in the block after the coinbase.

In the AntPool/Binance/BTCcom/.. template, it's a manually prioritized transaction paying 9.03 sat/vbyte https://mempool.space/tx/c938e8027a7fba782a092695a53d37654021bf20df71ca91b4a6daa9198b0c73

Many of the other pools didn't prioritize a transaction and included the highest feerate transaction https://mempool.space/tx/96608dc747677d6dfbc3a2b37f8a0146abae132799b13c130066bd3716fdf91a paying 301 sat/vbyte. ViaBTC prioritized another transaction and has a vastly different template.

This indicates that F2Pool currently is not using the AntPool templates, even if they share the the same custody provider. We know from multiple occasions that F2Pool has been building their own templates (https://b10c.me/o11, https://b10c.me/o9, https://b10c.me/o8)

Note that SigmaPool and SecPool both seem to share the same template (distinct from AntPools template). Two names, but probably one pool.

Some overlap in the first branches of distinct pools is expected as these branches consist of few (usually high feerate) transactions. For example, Ocean's "default" and "core" templates overlap up to branch3. At least the first 15 tx (2⁴ - 1) in the template are equal.

* similar to EMCD in the picture, Braiins sometimes differs from AntPool in the later branches of the template. This could indicate they're only helping with AntPools transaction accelerator and directly syncing with AntPools mempool, causing occasional differences in templates.

I've heard speculation about this all being liked to an FPPS partnership with AntPool/Bitmain.

Bitmain insures against bad pool luck but you have to use Bitmains templates/transaction prioritization and pay the mining reward to the insurer for later distribution.

Essentially a pool of pools and a lot of mining centralization.

ariard commented 5 months ago

Looking at the merkle branches that mining pools send to miners as part of stratum jobs, it's clear that the BTCcom pool, Binance pool, Poolin, EMCD, Rawpool, and possibly Braiins* have exactly the same template and custom transaction prioritization as AntPool.

Sounds good to be added if Stephan or another host wanna to present on this.

Added my topics here: https://github.com/ariard/londonbitdevs-website/commit/213ae951d49f22808aed41d6d9b58cab4f7f2b15

First one is “Great Consensus Cleanup Revival” on the mailing list, the other one is “Libbitcoin answer on CVE-2023-39910” (milk.sad)

We did present on milk.sad from the viewpoint of the reporter during Socratic Seminar #27, then a full-report was published by the libbitcoin open-source team just after, so I think it’s reasonable to present their viewpoint too, even if the report is months old now.

AngusP commented 5 months ago

May also be worth discussing testnet reset if there is interest/opinions/questions? https://groups.google.com/g/bitcoindev/c/9bL00vRj7OU/m/ptiO3328AQAJ and https://github.com/bitcoin/bitcoin/pull/29775

stickies-v commented 5 months ago

Added your suggestion @AngusP, thanks a lot for chiming in!

Also added all the usual topics. Will push some more ad-hoc ones later today. Going to merge later tonight.

glozow commented 5 months ago

Added some xz links I ripped from berlin bitdevs and a couple more things. Don't have much else, thanks for putting it all together @stickies-v !