achow101 changed the topic of #bitcoin-core-dev to: Bitcoin Core development discussion and commit log | Feel free to watch, but please take commentary and usage questions to #bitcoin | Channel logs: http://www.erisian.com.au/bitcoin-core-dev/, http://gnusha.org/bitcoin-core-dev/ | Weekly Meeting Thursday @ 16:00 UTC | Meeting topics http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt
zeropoint has quit [Quit: leaving]
juleeho has quit [Read error: Connection reset by peer]
gossie has quit [Ping timeout: 260 seconds]
SpellChecker has quit [Remote host closed the connection]
SpellChecker has joined #bitcoin-core-dev
l0rinc has quit [Quit: l0rinc]
l0rinc has joined #bitcoin-core-dev
l0rinc has quit [Quit: l0rinc]
gossie has joined #bitcoin-core-dev
joetor5 has quit [Ping timeout: 252 seconds]
adil has joined #bitcoin-core-dev
adil has quit [Quit: adil]
joetor5 has joined #bitcoin-core-dev
joetor5 has quit [Remote host closed the connection]
joetor5 has joined #bitcoin-core-dev
joetor5 has quit [Ping timeout: 252 seconds]
<bitcoin-git> [gui-qml] johnny9 opened pull request #486: Add PeerTableQmlModel (qt6...peers-qml) https://github.com/bitcoin-core/gui-qml/pull/486
bitcoinlover has joined #bitcoin-core-dev
<bitcoin-git> [gui-qml] johnny9 opened pull request #487: Use handlers with explicit parameters in main.qml and DesktopWallets.qml (qt6...modern-handlers) https://github.com/bitcoin-core/gui-qml/pull/487
joetor5 has joined #bitcoin-core-dev
joetor5 has quit [Ping timeout: 252 seconds]
l0rinc has joined #bitcoin-core-dev
TheRec has quit []
l0rinc has quit [Quit: l0rinc]
l0rinc has joined #bitcoin-core-dev
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
TheRec has joined #bitcoin-core-dev
TheRec has quit [Changing host]
TheRec has joined #bitcoin-core-dev
TheRec has quit []
aleggg has quit [Ping timeout: 240 seconds]
aleggg has joined #bitcoin-core-dev
TheRec has joined #bitcoin-core-dev
TheRec has quit [Changing host]
TheRec has joined #bitcoin-core-dev
l0rinc has quit [Quit: l0rinc]
robobub has joined #bitcoin-core-dev
brunoerg has quit [Read error: Connection reset by peer]
brunoerg has joined #bitcoin-core-dev
JukiTestnet has joined #bitcoin-core-dev
l0rinc has joined #bitcoin-core-dev
JukiTestnet has quit [Quit: Client closed]
<l0rinc> #proposedmeetingtopic dbwrapper read/write asymmetry (+ constant return value with throw on error) - see https://github.com/bitcoin/bitcoin/pull/33042#issuecomment-3126594440
Christoph_ has joined #bitcoin-core-dev
Christoph_ has quit [Quit: Christoph_]
jleost has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
w0xlt has joined #bitcoin-core-dev
jleost has quit [Ping timeout: 276 seconds]
Christoph_ has joined #bitcoin-core-dev
Guest13 has joined #bitcoin-core-dev
Guest13 has quit [Client Quit]
l0rinc has quit [Quit: l0rinc]
kevkevin has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] rkrux closed pull request #32412: Musig2 fields followups (master...musig2-fields) https://github.com/bitcoin/bitcoin/pull/32412
abubakarsadiq has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 245 seconds]
SpellChecker has quit [Remote host closed the connection]
SpellChecker has joined #bitcoin-core-dev
_cold is now known as cold
kevkevin has joined #bitcoin-core-dev
juleeho has joined #bitcoin-core-dev
juleeho has quit [Changing host]
juleeho has joined #bitcoin-core-dev
juleeho has quit [Client Quit]
_flood has quit [Remote host closed the connection]
_flood has joined #bitcoin-core-dev
_flood has quit [Read error: Connection reset by peer]
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
Guyver2 has joined #bitcoin-core-dev
w0xlt has quit [Ping timeout: 276 seconds]
kevkevin has quit [Ping timeout: 240 seconds]
kevkevin has joined #bitcoin-core-dev
f321x has joined #bitcoin-core-dev
f321x has quit [Ping timeout: 244 seconds]
f321x has joined #bitcoin-core-dev
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
kevkevin has quit [Ping timeout: 248 seconds]
PaperSword has quit [Quit: PaperSword]
PaperSword has joined #bitcoin-core-dev
f321x has quit [Remote host closed the connection]
f321x has joined #bitcoin-core-dev
f321x has quit [Ping timeout: 244 seconds]
f321x has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
kevkevin has joined #bitcoin-core-dev
w0xlt has joined #bitcoin-core-dev
f321x has quit [Remote host closed the connection]
f321x has joined #bitcoin-core-dev
w0xlt has quit [Ping timeout: 252 seconds]
LainIwakura has joined #bitcoin-core-dev
janb84 has quit [Quit: WeeChat 4.6.3]
kevkevin has quit [Ping timeout: 252 seconds]
kevkevin has joined #bitcoin-core-dev
LainIwakura has quit [Ping timeout: 272 seconds]
dermoth has quit [Ping timeout: 248 seconds]
sliv3r__ has quit [Read error: Connection reset by peer]
sliv3r__ has joined #bitcoin-core-dev
LainIwakura has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 276 seconds]
f321x has quit [Remote host closed the connection]
f321x has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
LainIwakura has quit [Ping timeout: 272 seconds]
brunoerg_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
sliv3r__ has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
sliv3r__ has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 276 seconds]
LainIwakura has joined #bitcoin-core-dev
LainIwakura has quit [Ping timeout: 272 seconds]
kevkevin has joined #bitcoin-core-dev
LainIwakura has joined #bitcoin-core-dev
Christoph_ has quit [Quit: Christoph_]
juleeho has joined #bitcoin-core-dev
juleeho has joined #bitcoin-core-dev
juleeho has quit [Quit: juleeho]
w0xlt has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 252 seconds]
juleeho has joined #bitcoin-core-dev
juleeho has joined #bitcoin-core-dev
w0xlt has quit [Ping timeout: 248 seconds]
kevkevin has joined #bitcoin-core-dev
juleeho has quit [Quit: juleeho]
LainIwakura has quit [Quit: Client closed]
juleeho has joined #bitcoin-core-dev
juleeho has joined #bitcoin-core-dev
juleeho has quit [Client Quit]
LainIwakura has joined #bitcoin-core-dev
juleeho has joined #bitcoin-core-dev
juleeho has quit [Changing host]
juleeho has joined #bitcoin-core-dev
juleeho has quit [Client Quit]
brunoerg_ has quit [Remote host closed the connection]
spynxic has quit [Read error: Connection reset by peer]
spynxic has joined #bitcoin-core-dev
jerryf has quit [Remote host closed the connection]
jerryf has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
SSL has quit [Ping timeout: 248 seconds]
brunoerg has quit [Ping timeout: 252 seconds]
joetor5 has joined #bitcoin-core-dev
LainIwakura has quit [Ping timeout: 272 seconds]
joetor5 has quit [Ping timeout: 252 seconds]
joetor5 has joined #bitcoin-core-dev
entropyx has quit [Ping timeout: 260 seconds]
Earnestly has quit [Ping timeout: 248 seconds]
entropyx has joined #bitcoin-core-dev
entropyx has joined #bitcoin-core-dev
Earnestly has joined #bitcoin-core-dev
f321x_ has joined #bitcoin-core-dev
f321x has quit [Ping timeout: 244 seconds]
Christoph_ has joined #bitcoin-core-dev
jespada has joined #bitcoin-core-dev
conman has quit [Ping timeout: 260 seconds]
enochazariah has joined #bitcoin-core-dev
f321x_ has quit [Remote host closed the connection]
f321x has joined #bitcoin-core-dev
jerryf has quit [Ping timeout: 244 seconds]
jerryf has joined #bitcoin-core-dev
w0xlt has joined #bitcoin-core-dev
w0xlt has quit [Ping timeout: 276 seconds]
<bitcoin-git> [bitcoin] fanquake pushed 4 commits to master: https://github.com/bitcoin/bitcoin/compare/8283af13fe86...aef2dbb40276
<bitcoin-git> bitcoin/master 6653caf fanquake: ci: allow libc++ instrumentation other than msan
<bitcoin-git> bitcoin/master b09af2c fanquake: ci: instrument libc++ in TSAN job
<bitcoin-git> bitcoin/master 7aa5b67 fanquake: ci: remove DEBUG_LOCKORDER from TSAN job
<bitcoin-git> [bitcoin] fanquake merged pull request #33099: ci: allow for any libc++ intrumentation & use it for TSAN (master...ci_generic_libcpp_instr) https://github.com/bitcoin/bitcoin/pull/33099
Guyver2 has joined #bitcoin-core-dev
jespada has quit [Ping timeout: 272 seconds]
jespada has joined #bitcoin-core-dev
robszarka has joined #bitcoin-core-dev
joetor5 has quit [Quit: joetor5]
szarka has quit [Ping timeout: 276 seconds]
bitcoinlover has quit [Remote host closed the connection]
bitcoinlover has joined #bitcoin-core-dev
<bitcoin-git> [bitcoincore.org] fanquake opened pull request #1160: releases: add posted-on date to release post (master...posted_on_date) https://github.com/bitcoin-core/bitcoincore.org/pull/1160
Guyver2 has left #bitcoin-core-dev [Closing Window]
<willcl-ark> #proposedmeetingtopic CI migration to Cirrus Runners
jespada has quit [Read error: Connection reset by peer]
bitcoinlover has quit [Ping timeout: 272 seconds]
janb84 has joined #bitcoin-core-dev
yuvicc has joined #bitcoin-core-dev
yuvicc has quit [Changing host]
yuvicc has joined #bitcoin-core-dev
yuvicc has quit [Client Quit]
eugenesiegel has joined #bitcoin-core-dev
Naiyoma has joined #bitcoin-core-dev
Emc99 has joined #bitcoin-core-dev
l0rinc has joined #bitcoin-core-dev
rkrux has joined #bitcoin-core-dev
<achow101> #startmeeting
<corebot> achow101: Meeting started at 2025-07-31T16:00+0000
<corebot> achow101: Current chairs: achow101
<corebot> achow101: Useful commands: #action #info #idea #link #topic #motion #vote #close #endmeeting
<corebot> achow101: Participants should now identify themselves with '#here' or with an alias like '#here FirstLast'
<rkrux> hi
<TheCharlatan> hi
<janb84> hi
<achow101> #bitcoin-core-dev Meeting: abubakarsadiq achow101 _aj_ ajonas b10c brunoerg cfields darosior dergoegge fanquake fjahr furszy gleb glozow hebasto hodlinator instagibbs jarolrod jonatack josibake kanzure laanwj LarryRuane lightlike luke-jr maflcko marcofleon maxedw Murch pinheadmz provoostenator ryanofsky sdaftuar S3RK stickies-v sipa sr_gi tdb3 theStack TheCharlatan vasild willcl-ark
<pinheadmz> hi
<cfields> hi
<Sjors[m]1> hi
<lightlike> hi
<kevkevin> hi
<furszy> hi
eugenesiegel has quit [Quit: Client closed]
<achow101> There are 2 preproposed meeting topics this week. Any last minute ones to add?
eugenesiegel has joined #bitcoin-core-dev
<emzy> hi
<eugenesiegel> hi
<l0rinc> hi
<johnny9dev> hi
<willcl-ark> hi
<Murch[m]> hello
<achow101> #topic Kernel WG Update (TheCharlatan)
<TheCharlatan> There's some movement happening again on the API PR, currently scoping out approaches for making usage safer with reference counting.
<darosior> hi
<stickies-v> hi
<TheCharlatan> it's also been attracting some new people to contribute, which is nice :)
<b10c> hi
<TheCharlatan> might having something more concrete to share again in a few weeks.
<TheCharlatan> that's all
<achow101> #topic Stratum v2 WG Update (sjors)
<glozow> hi
<achow101> from sjors: Same as last week, would still like to see #31679 and #31802 make it for the feature freeze.
<corebot> https://github.com/bitcoin/bitcoin/issues/31679 | cmake: Move internal binaries from bin/ to libexec/ by ryanofsky · Pull Request #31679 · bitcoin/bitcoin · GitHub
<corebot> https://github.com/bitcoin/bitcoin/issues/31802 | Add bitcoin-{node,gui} to release binaries for IPC by Sjors · Pull Request #31802 · bitcoin/bitcoin · GitHub
<achow101> #topic MuSig2 WG Update (achow101)
w0xlt has joined #bitcoin-core-dev
<achow101> No changes since last week, #31244 is still probably rfm. I've pulled in several of the suggested followups into #29675
<corebot> https://github.com/bitcoin/bitcoin/issues/31244 | descriptors: MuSig2 by achow101 · Pull Request #31244 · bitcoin/bitcoin · GitHub
<corebot> https://github.com/bitcoin/bitcoin/issues/29675 | wallet: Be able to receive and spend inputs involving MuSig2 aggregate keys by achow101 · Pull Request #29675 · bitcoin/bitcoin · GitHub
<achow101> #topic orphan resolution WG Update (glozow)
<glozow> still looking to get #32941 in for v30
<corebot> https://github.com/bitcoin/bitcoin/issues/32941 | p2p: TxOrphanage revamp cleanups by glozow · Pull Request #32941 · bitcoin/bitcoin · GitHub
<glozow> that's all
<achow101> #topic QML GUI WG Update (jarolrod, johnny9dev)
<kanzure> hi
Christoph_ has quit [Quit: Christoph_]
<johnny9dev> We're making good progress on patching remaining issues with moving the project to submodule, cmake, and qt6. Deer gee has ported over his AssumeUTXO PR over to the new structure already (bitcoin-core/gui-qml#485) . I should have my previous PRs ported over this weekend.
<corebot> https://github.com/bitcoin-core/gui-qml/issues/485 | QML Load UTXO Snapshot by D33r-Gee · Pull Request #485 · bitcoin-core/gui-qml · GitHub
<phantomcircuit> i've been looking at initial block download times and noticed that we're recalculating block header hashes many many times (like 800+ times in cases), this can be fixed forever with an immutable block/header class(es)
<phantomcircuit> does anybody have thoughts on such an endeavor
<pinheadmz> i believe that PR will also require an upstream PR to expose some utxo snapshot thing in the interface
<fjahr> hi
<johnny9dev> It will. I suggested we maintain a patch until then
<pinheadmz> so thatll be the new, somewhat frustrating, process but i think the separation of interests there is good
<achow101> phantomcircuit: we're in a meeting, can add that as a topic if you want
<l0rinc> phantomcircuit: I have investigated that before, but don't have exact numbers
<darosior> phantomcircuit: interesting, but let's wait till other prepared meeting topics are done?
<Murch[m]> achow101: How long as #32144 been RFM when you say "it’s still probably rfm"?
<corebot> https://github.com/bitcoin/bitcoin/issues/32144 | lint: Remove needless borrow to fix Clippy warning by strmfos · Pull Request #32144 · bitcoin/bitcoin · GitHub
<phantomcircuit> achow101, yeah i don't know how meeting works anymore, that was a request for it to be a topic
<johnny9dev> Anyway we're almost caught up with previous functionality. That's all from gui-qml
<achow101> Murch[m]: 3 or 4 weeks
<darosior> johnny9dev: nice
<Murch[m]> achow101: Any idea who should add their review or take a look at that for it to get merged?
<Murch[m]> Sorry, #31244, not what I wrote
<corebot> https://github.com/bitcoin/bitcoin/issues/31244 | descriptors: MuSig2 by achow101 · Pull Request #31244 · bitcoin/bitcoin · GitHub
w0xlt has quit [Ping timeout: 248 seconds]
<achow101> Murch[m]: anyone who is familiar with descriptors, or it could be merged
<Murch[m]> It does have ACKs from w0xlt, rkrux, theStack, and Sjors
zeropoint has joined #bitcoin-core-dev
<achow101> #topic dbwrapper read/write asymmetry (l0rinc)
<l0rinc> dbwrapper writes currently pretend to return bool but always return true, while real errors surface via exceptions – #33042 makes that explicit, but we need to decide the canonical error path
<corebot> https://github.com/bitcoin/bitcoin/issues/33042 | refactor: inline constant return values from `dbwrapper` write methods by l0rinc · Pull Request #33042 · bitcoin/bitcoin · GitHub
<l0rinc> `read` catches the exception and returns, but `write` always returned `true`, while throwing in the background
<achow101> how do errors currently propagate? crashing everything?
<l0rinc> most of the time yes
<TheCharlatan> they are eventually converted to FatalError's yeah
<l0rinc> is the removal of the fake return value enough here or do we need to unify the read/write interfaces?
<achow101> if we can't write state to disk, that does seem like a situation where we'd want to abort anyways
<glozow> Murch: achow101: will have a look at #31244 later today
<corebot> https://github.com/bitcoin/bitcoin/issues/31244 | descriptors: MuSig2 by achow101 · Pull Request #31244 · bitcoin/bitcoin · GitHub
<achow101> if the return value is never used, then we should not return it
<TheCharlatan> rewriting it to propagate an error code seems riskier than just removing what is essentially dead code.
Guest98 has joined #bitcoin-core-dev
<rkrux> glozow: thanks
<l0rinc> thanks for the feedback, I'll add these comments to the PR - unless the authors want to
<darosior> TheCharlatan: +1
<achow101> #topic CI migration to Cirrus Runners (willcl-ark)
<willcl-ark> Myself and @m3dwards have been working on a change to migrate to our CI to hosted Cirrus Runners. This is now open in #32989.
<corebot> https://github.com/bitcoin/bitcoin/issues/32989 | ci: Migrate CI to hosted Cirrus Runners by willcl-ark · Pull Request #32989 · bitcoin/bitcoin · GitHub
<willcl-ark> The benefits and various tradeoffs of such a move are detailed in the top comment in the PR, but in summary it should make the CI maintainable by more people, not be reliant on the current infrastructure, and also provide "easier scaling"; if you want to scale more machines, just throw more $$ at the problem. These are fleshed out further in the PR, and we'd welcome feedback there.
<achow101> ack
<willcl-ark> Moving to our own runners also has a knock-on effect that all the (current) "cirrus" jobs will run on your own forks slower, on GH free runners, so self-hosting a cirrus runner may no longer be necessary if speed it not an issue for you. Forks (like inquisition) would be able to buy their own runners if they wanted faster runners for their repos too, and enable with a trivial patch.
<willcl-ark> I wanted to highlight it in a meeting just to try and alert as many people to it as possible, in case there was any opposition to it which hadn't been raised yet. Naturally, we are also looking for more reviewers too! So if anyone has any interest, then feel free to consider this a review-beg as well :)
<willcl-ark> That's all from me on that topic, unless anyone has any questions they'd like to ask about it here.
f321x has quit [Quit: f321x]
<achow101> #topic ibd recalculating block hashes (phantomcircuit)
Guest98 has quit [Client Quit]
<achow101> we don't store the hash in CBlockHeader?
<phantomcircuit> so i instrumented cblockheader::gethash to count how many times we reclculate the headers hash and i got some extreme outliers like 800+ times, i think this has to do with receiving blocks out of order during IBD and the behavior of activatebestchain
<achow101> If there's a measuable performance improvement in IBD, then I think that seems like a good idea
<phantomcircuit> achow101, so the block headers are about the same length as the hash and we reference the block headers with the hash, so in most places we should already have the hash and know that we haven't changed it. though the logic for that doesn't flow through everywhere, so we end up calling gethash more than we should
<l0rinc> phantomcircuit: I can take another look at it, though making blocks mostly immutable isn't trivial
<darosior> sha256 over 80 bytes of data should be quite fast. But yeah if we do indeed do it 800+ times (!!) for every single header in the chain that does sound like it could speed things up.
<phantomcircuit> it trades memory usage for performance but the dbcache is already huge so whatever, an additional 45mb of memory usage to cache the block header hashes along with the the headers
<achow101> hmm, that is 10% of default dbcache though
<darosior> That sounds non-trivial
<phantomcircuit> we usually do it several times per header but in the perverse case it is 800+ times
<l0rinc> I've pushed a few changes deduplicating hash calculations already - should be slightly less than that now. Are you saying that the exact same block has 800+ recalculations?
<fjahr> how often have you seen the perverse case?
<darosior> ceteris paribus i expect 45mb of dbcache to speed IBD more so than caching a sha256 over 80 bytes
<phantomcircuit> it depends on the behavior of activatebestchain when the blocks are received out of order, I think
<achow101> if we already know the hash elsewhere, can we use it in more places rather than caching the hash again?
<phantomcircuit> l0rinc, yes, one block header has 800 recalculations
<phantomcircuit> fjahr, my graphs suck so I don't know, but it was bad
<darosior> I'd be very curious to learn more about the situation in which we re-calculate the same header hash 800 times
<l0rinc> We can likely cache some of those locally, I tried making the blocks immutable and it was quite messy
<TheCharlatan> achow101 that seems like my intuition too. After all we do save it in the index with every header already.
twistedline has quit [Ping timeout: 252 seconds]
<phantomcircuit> darosior, it's dependent on the out of order activatebestchain, so it won't show in normal unit tests or anything
twistedline has joined #bitcoin-core-dev
<l0rinc> I have doubts about the 800 recalculations, seems like a miscalculation to me (I have also investigated this and haven't found anything like that) - but we can do that after the meeting as well
<lightlike> why 45MB? isn't the CBlockHeader objects freed once the block is no longer in memory (other than the CBlockIndex)?
<phantomcircuit> l0rinc, it's annoying and you won't see the behavior with blocks received in order
<achow101> it definitely seems there's something to look at here. phantomcircuit I suggest you work with l0rinc and the others who have also been looking at ibd improvements and benchmarking
<darosior> +1
<achow101> #topic Benchmarking WG Update (josie, l0rinc)
<furszy> memory shouldn't be a concern, could directly use the phashBlock field from the index.
<phantomcircuit> the way to have the immutable header and block classes is to have it silently convert between the two with constructors
<achow101> (missed this during the wg update section)
<l0rinc> I have doubts about the 800 recalculations, seems like a miscalculation to me (I have also investigated this and haven't found anything like that) - but we can do that after the meeting as well
<phantomcircuit> then slowly change from mutable to immutable everywhere
<l0rinc> sorry, wrong message
<l0rinc> #31144 and #32279 were just merged, we're making good progress. The next important ones where reviewers are needed are:
<corebot> https://github.com/bitcoin/bitcoin/issues/31144 | [IBD] multi-byte block obfuscation by l0rinc · Pull Request #31144 · bitcoin/bitcoin · GitHub
<corebot> https://github.com/bitcoin/bitcoin/issues/32279 | [IBD] prevector: store `P2WSH`/`P2TR`/`P2PK` scripts inline by l0rinc · Pull Request #32279 · bitcoin/bitcoin · GitHub
<l0rinc> #31645 The batch size for UTXO set writes is now calculated based on the maximum dbcache size to ensure that with the default values, memory usage doesn't increase, while reducing flushing time when there is enough memory available.
<l0rinc> The change reduces the IBD time by a fixed amount, it's speeding up a critical part of saving the state for long-term storage.
<corebot> https://github.com/bitcoin/bitcoin/issues/31645 | [IBD] flush UTXO set in batches proportional to `dbcache` size by l0rinc · Pull Request #31645 · bitcoin/bitcoin · GitHub
<l0rinc> #32497 Set accurate capacity for Merkle root calculation to avoid reallocations
<corebot> https://github.com/bitcoin/bitcoin/issues/32497 | merkle: pre‑reserve leaves to prevent reallocs with odd vtx count by l0rinc · Pull Request #32497 · bitcoin/bitcoin · GitHub
<achow101> l0rinc: can you suggest a specific one people should focus on first?
<l0rinc> one is very simple #32497
<corebot> https://github.com/bitcoin/bitcoin/issues/32497 | merkle: pre‑reserve leaves to prevent reallocs with odd vtx count by l0rinc · Pull Request #32497 · bitcoin/bitcoin · GitHub
<l0rinc> the other one needs some reproducers #31645 - any help would be appreciated in both
brunoerg has joined #bitcoin-core-dev
<corebot> https://github.com/bitcoin/bitcoin/issues/31645 | [IBD] flush UTXO set in batches proportional to `dbcache` size by l0rinc · Pull Request #31645 · bitcoin/bitcoin · GitHub
<achow101> Any other topics to discuss this week?
w0xlt has joined #bitcoin-core-dev
<achow101> #endmeeting
<corebot> achow101: Meeting ended at 2025-07-31T16:38+0000
Emc99 has quit [Quit: Client closed]
<achow101> phantomcircuit: if you have things you'd like to discuss in a meeting, you can use prepent #proposedmeetingtopic to your message
w0xlt has quit [Ping timeout: 252 seconds]
twistedline has quit [Ping timeout: 276 seconds]
twistedline has joined #bitcoin-core-dev
Robotico has joined #bitcoin-core-dev
Robotico has quit [Remote host closed the connection]
twistedline has quit [Ping timeout: 240 seconds]
twistedline has joined #bitcoin-core-dev
<Murch[m]> Thanks glozow
eugenesiegel has quit [Quit: Client closed]
kevkevin has quit [Quit: Leaving...]
l0rinc has quit [Quit: l0rinc]
l0rinc has joined #bitcoin-core-dev
rkrux has quit [Quit: Client closed]
l0rinc has quit [Quit: l0rinc]
Christoph_ has joined #bitcoin-core-dev
Christoph_ has quit [Client Quit]
l0rinc has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] glozow opened pull request #33106: [WIP] policy: lower the default blockmintxfee, incrementalrelayfee, minrelaytxfee (master...2025-07-minrelay) https://github.com/bitcoin/bitcoin/pull/33106
<darosior> Oo
freesprung512697 has quit [Quit: zzz]
<l0rinc> phantomcircuit: looks like I was wrong, thanks for the hint, I have instrumented `CBlockHeader::GetHash` to display the hash that it just calculated and even the first 200k blocks contain hundreds (sometimes even thousands) of hash calculations, e.g. `0000000000000475da936e766d0e3ebf8eb41f0f21f6bcdc7f8a03d80bd495a` is calculated 1018 times. I'll investigate further.
jonatack has joined #bitcoin-core-dev
jespada has joined #bitcoin-core-dev
<lightlike> we also call CBlockHeader::GetHash for different objects, for example we process a header from a peer (even if we already know the header) we calculate the hash. immutability or cashing won't help with that.
jespada_ has joined #bitcoin-core-dev
jespada has quit [Ping timeout: 248 seconds]
robszarka has quit [Quit: Leaving]
szarka has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake closed pull request #32959: Reduce minrelaytxfee to 100 sats/kvB (master...reduce-minrelaytxfee) https://github.com/bitcoin/bitcoin/pull/32959
<l0rinc> lightlike: Yes, it also doesn't help when re-reading from disk. But since I have only seen 4-8 recalculations per block so far (and it looks indeed like some scenarios does a lot more, which we can likely deduplicate locally) an investigation makes sense.
jespada has joined #bitcoin-core-dev
<phantomcircuit> l0rinc, so i instrumented it to keep a counter because we end up with headers before blocks, so instead of looking at how many times we're calculating the same header hash, i was looking at how many times we're calculating the hash of a distinct object
<phantomcircuit> since i expect us to be calculating the same header a few times legitimately
jon_atack has joined #bitcoin-core-dev
jespada_ has quit [Ping timeout: 252 seconds]
<lightlike> l0rinc: yes - as furszy said above, in many situations we should also have the CBlockIndex available, so we could take the hash from there instead of recalculating it from the CBlockHeader.
jonatack has quit [Ping timeout: 260 seconds]
enochazariah has quit [Quit: Connection closed for inactivity]
Guest11 has joined #bitcoin-core-dev
l0rinc has quit [Quit: l0rinc]
Guest11 has quit [Quit: Client closed]
Naiyoma has quit [Quit: WeeChat 4.1.1]
w0xlt has joined #bitcoin-core-dev
w0xlt has quit [Ping timeout: 260 seconds]
kevkevin has joined #bitcoin-core-dev
jon_atack has quit [Ping timeout: 248 seconds]
jonatack has joined #bitcoin-core-dev
jon_atack has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 276 seconds]
Talkless has joined #bitcoin-core-dev
l0rinc has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
jespada_ has joined #bitcoin-core-dev
jon_atack has quit [Ping timeout: 248 seconds]
jespada_ has quit [Client Quit]
jespada has quit [Ping timeout: 265 seconds]
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
<bitcoin-git> [bitcoin] glozow pushed 13 commits to master: https://github.com/bitcoin/bitcoin/compare/aef2dbb40276...5ee4e7966957
<bitcoin-git> bitcoin/master 5fe4c66 Ava Chow: XOnlyPubKey: Add GetCPubKeys
<bitcoin-git> bitcoin/master 8811312 Ava Chow: script/parsing: Allow Const to not skip the found constant
<bitcoin-git> bitcoin/master 12bc1d0 Ava Chow: util/string: Allow Split to include the separator
<bitcoin-git> [bitcoin] glozow merged pull request #31244: descriptors: MuSig2 (master...musig2-desc) https://github.com/bitcoin/bitcoin/pull/31244
Talkless has quit [Quit: Konversation terminated!]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
jon_atack has joined #bitcoin-core-dev
joetor5 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 252 seconds]
brunoerg has quit [Ping timeout: 248 seconds]
l0rinc has quit [Quit: l0rinc]
l0rinc has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
jon_atack has quit [Ping timeout: 240 seconds]
<bitcoin-git> [gui-qml] D33r-Gee opened pull request #488: ALT QML Snapshot Load (qt6...alt-qml-snapshotload) https://github.com/bitcoin-core/gui-qml/pull/488
brunoerg has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
<darosior> "DoS resistance is clearly insufficient even at 1s/vB". Rationale: "trust me bro". Reasons to give weight to my opinion: "i also believe Bitcoin's value has gone *down* since the 1sat/vb limit was introduced".
conman has joined #bitcoin-core-dev
w0xlt has joined #bitcoin-core-dev