Anthony Towns

Results 280 comments of Anthony Towns

> 1. How do nodes build the block template they share with peers? The same way they build a block template for the `getblocktemplate` RPC (well, except ignoring config options...

> Maybe a stupid question and I'm not understanding something, but what is the point of this if we have to wait for all transactions to be announced? Isn't the...

Bumped the size of templates up to 2MvB, and added `latest_template_weight` and `latest_template_tx` to `gettemplateinfo` to report on the size of the current template.

Rebased over #33253 but not optimised to iterate over template txs efficiently.

Dropped the code to use our own prior templates for compact block reconstruction to keep this patchset simple.

Patchset to also request templates from outbound peers is at https://github.com/ajtowns/bitcoin/commits/202508-sendtemplate3/

> On a conceptual level, this seems like a strong fingerprinting vector (tor/clearnet response would be identical if requests happen roughly at the same time and the same template is...

The reason for the locking change for `ShrinkDebugFile` is that the following commit is enough for clang to figure out that the `LogWarning("couldn't shrink")` message would take the lock, and...

> we put out minor releases for 29.x and 28.x around the release of 30.0, and from what I understand that’ll be the last time there will be a release...

This seems inferior to private broadcast #29415 which separates the new txs from the mempool until they make it out to the wider network. Extending it to also relay via...