ChanServ 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 @ 14:00 UTC | Meeting topics http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt
Guest28 has joined #bitcoin-core-dev
szkl has quit [Quit: Connection closed for inactivity]
zeropoint has quit [Quit: leaving]
<bitcoin-git> [bitcoin] kevkevinpal opened pull request #30340: test: Added coverage to Block not found error using gettxoutsetinfo (master...testBlockNotFoundUsingGetTxOutSetInfo) https://github.com/bitcoin/bitcoin/pull/30340
Guest28 has quit [Quit: Client closed]
Randolf has joined #bitcoin-core-dev
Randolf has quit [Quit: Leaving]
kevkevin has quit [Remote host closed the connection]
jon_atack has quit [Ping timeout: 246 seconds]
jonatack has joined #bitcoin-core-dev
mudsip has quit []
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
tibocin has joined #bitcoin-core-dev
tibocin has quit [Client Quit]
bitdex has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
Guest61 has joined #bitcoin-core-dev
Guest66 has joined #bitcoin-core-dev
Guest66 has quit [Client Quit]
kevkevin has quit [Remote host closed the connection]
Guest61 has quit [Quit: Client closed]
mcey has quit [Read error: Connection reset by peer]
mcey has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 256 seconds]
Guest69 has joined #bitcoin-core-dev
jonatack has quit [Read error: Connection reset by peer]
Guest69 has quit [Client Quit]
jonatack has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 240 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
aleggg has quit [Remote host closed the connection]
puchka has quit [Ping timeout: 252 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 264 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
abubakarsadiq has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
puchka has joined #bitcoin-core-dev
<laanwj> can anyone tell me what is going wrong in this CI run? https://github.com/bitcoin/bitcoin/actions/runs/9659726764/job/26666104563?pr=30043. to me it looks like it succesfully builds everything then suddenly goes "false" and fails, no clear error message
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 255 seconds]
kevkevin has joined #bitcoin-core-dev
<TheCharlatan> laanwj looks like it failed with a clang segmentation fault and then the verbose rebuild succeeded.
<laanwj> oh! that's slightly worrying
<laanwj> it's in netgroup.o, not even a file i touched
<laanwj> will try to re-run it and see if it's reproducible
kevkevin has quit [Ping timeout: 268 seconds]
<fanquake> yikes yea "clang: error: unable to execute command: Segmentation fault: 11"
kevkevin has joined #bitcoin-core-dev
<laanwj> thanks, it seems after a re-run it goes past that point, so it was probably a hardware issue
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/323b0acfcb93...be4df59696a4
<bitcoin-git> bitcoin/master 4289dd0 fanquake: contrib: add R(UN)PATH check to ELF symbol-check
<bitcoin-git> bitcoin/master be4df59 merge-script: Merge bitcoin/bitcoin#30312: contrib: add R(UN)PATH check to ELF symbol-ch...
<bitcoin-git> [bitcoin] fanquake merged pull request #30312: contrib: add R(UN)PATH check to ELF symbol-check (master...add_runpath_check) https://github.com/bitcoin/bitcoin/pull/30312
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/be4df59696a4...2cd7c6bd939e
<bitcoin-git> bitcoin/master 3ab2520 Ben Westgate: contrib: Fixup verify-binaries OS platform parsing
<bitcoin-git> bitcoin/master 2cd7c6b merge-script: Merge bitcoin/bitcoin#30147: contrib: Fixup verify-binaries OS platform pa...
<bitcoin-git> [bitcoin] fanquake merged pull request #30147: contrib: Fixup verify-binaries OS platform parsing (master...30145-parse-os-version-correctly) https://github.com/bitcoin/bitcoin/pull/30147
kevkevin has quit [Ping timeout: 264 seconds]
Guyver2 has joined #bitcoin-core-dev
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 264 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
<bitcoin-git> [bitcoincore.org] fanquake pushed 2 commits to master: https://github.com/bitcoin-core/bitcoincore.org/compare/df7c05c66fc1...26adfd6d323b
<bitcoin-git> bitcoincore.org/master fe698a1 Ava Chow: release: Update 27.1 magnet url
<bitcoin-git> bitcoincore.org/master 26adfd6 merge-script: Merge bitcoin-core/bitcoincore.org#1032: release: Update 27.1 magnet url
<bitcoin-git> [bitcoincore.org] fanquake merged pull request #1032: release: Update 27.1 magnet url (master...27.1-fixed-torrent) https://github.com/bitcoin-core/bitcoincore.org/pull/1032
kevkevin has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/2cd7c6bd939e...b4b98543945e
<bitcoin-git> bitcoin/master 1556d21 Roman Zeyde: rest: don't copy data when sending binary response
<bitcoin-git> bitcoin/master b4b9854 merge-script: Merge bitcoin/bitcoin#30321: rest: don't copy data when sending binary res...
<bitcoin-git> [bitcoin] fanquake merged pull request #30321: rest: don't copy data when sending binary response (master...http-string-view) https://github.com/bitcoin/bitcoin/pull/30321
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/b4b98543945e...3f0ee7655b5c
<bitcoin-git> bitcoin/master 2721d64 Ava Chow: chainparams: Add achow101 DNS seeder
<bitcoin-git> bitcoin/master 3f0ee76 merge-script: Merge bitcoin/bitcoin#30007: chainparams: Add achow101 DNS seeder
<bitcoin-git> [bitcoin] fanquake merged pull request #30007: chainparams: Add achow101 DNS seeder (master...my-dns-seed) https://github.com/bitcoin/bitcoin/pull/30007
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] willcl-ark opened pull request #30341: WIP: Permit Combiner to strip bip32_deriv information (master...psbt-strip-derivs-combine) https://github.com/bitcoin/bitcoin/pull/30341
kevkevin has quit [Ping timeout: 255 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
<bitcoin-git> [bitcoin] maflcko closed pull request #30337: Docs improvements (master...docs-improvements) https://github.com/bitcoin/bitcoin/pull/30337
kevkevin has joined #bitcoin-core-dev
ThePlebRoad has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 272 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 264 seconds]
kevkevin has joined #bitcoin-core-dev
jon_atack has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 246 seconds]
BrandonOdiwuor has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
preimage has joined #bitcoin-core-dev
_andrewtoth_ has joined #bitcoin-core-dev
<bitcoin-git> [bitcoincore.org] fanquake opened pull request #1033: pages: add Disclosures (master...add_disclosures_page) https://github.com/bitcoin-core/bitcoincore.org/pull/1033
kevkevin has joined #bitcoin-core-dev
ThePlebRoad has quit [Ping timeout: 256 seconds]
bitdex has quit [Ping timeout: 260 seconds]
bitdex has joined #bitcoin-core-dev
jespada has quit [Ping timeout: 268 seconds]
jespada has joined #bitcoin-core-dev
bugs_ has joined #bitcoin-core-dev
jespada has quit [Read error: Connection reset by peer]
jespada has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/3f0ee7655b5c...0c57a798b50b
<bitcoin-git> bitcoin/master b5fc6d4 fanquake: guix: use glibc 2.31
<bitcoin-git> bitcoin/master 0c57a79 merge-script: Merge bitcoin/bitcoin#29987: guix: build with glibc 2.31
<bitcoin-git> [bitcoin] fanquake merged pull request #29987: guix: build with glibc 2.31 (master...build_with_glibc_2_31) https://github.com/bitcoin/bitcoin/pull/29987
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/0c57a798b50b...d3d2bbf576d0
<bitcoin-git> bitcoin/master c0b5ea5 Hennadii Stepanov: build: Drop redundant `sys/sysctl.h` header check
<bitcoin-git> bitcoin/master d3d2bbf merge-script: Merge bitcoin/bitcoin#30327: build: Drop redundant `sys/sysctl.h` header c...
<bitcoin-git> [bitcoin] fanquake merged pull request #30327: build: Drop redundant `sys/sysctl.h` header check (master...240624-sysctl) https://github.com/bitcoin/bitcoin/pull/30327
_andrewtoth_ has quit [Remote host closed the connection]
_andrewtoth_ has joined #bitcoin-core-dev
jespada_ has joined #bitcoin-core-dev
jespada has quit [Ping timeout: 240 seconds]
preimage has quit [Quit: WeeChat 4.3.2]
BrandonOdiwuor has quit [Ping timeout: 250 seconds]
zeropoint has joined #bitcoin-core-dev
preimage has joined #bitcoin-core-dev
_andrewtoth_ has quit [Remote host closed the connection]
_andrewtoth_ has joined #bitcoin-core-dev
jespada has joined #bitcoin-core-dev
jespada_ has quit [Ping timeout: 255 seconds]
<bitcoin-git> [bitcoin] achow101 pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d3d2bbf576d0...1d00601b9b55
<bitcoin-git> bitcoin/master 72b2268 furszy: wallet: notify when preset + automatic inputs exceed max weight
<bitcoin-git> bitcoin/master 1d00601 Ava Chow: Merge bitcoin/bitcoin#30309: wallet: notify when preset + automatic inputs...
<bitcoin-git> [bitcoin] achow101 merged pull request #30309: wallet: notify when preset + automatic inputs exceed max weight (master...2024_wallet_max_weight) https://github.com/bitcoin/bitcoin/pull/30309
brunoerg has quit [Read error: Connection reset by peer]
brunoerg has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] achow101 pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/1d00601b9b55...9ac4f69ec24b
<bitcoin-git> bitcoin/master 1408944 fanquake: Squashed 'src/secp256k1/' changes from 06bff6dec8..4af241b320
<bitcoin-git> bitcoin/master cc58e95 fanquake: Update secp256k1 subtree to latest master
<bitcoin-git> bitcoin/master 9ac4f69 Ava Chow: Merge bitcoin/bitcoin#30334: Update libsecp256k1 subtree to latest master
<bitcoin-git> [bitcoin] achow101 merged pull request #30334: Update libsecp256k1 subtree to latest master (master...update_secp256k1_subtree) https://github.com/bitcoin/bitcoin/pull/30334
_andrewtoth_ has quit [Remote host closed the connection]
andrewtoth_ has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
cornfeedhobo has quit [Quit: ZNC - https://znc.in]
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 268 seconds]
kevkevin has joined #bitcoin-core-dev
cm has quit [Ping timeout: 272 seconds]
cm has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] ryanofsky opened pull request #30342: kernel, logging: Pass Logger instances to kernel objects (master...pr/gklog) https://github.com/bitcoin/bitcoin/pull/30342
<bitcoin-git> [bitcoin] ryanofsky opened pull request #30343: wallet, logging: Replace WalletLogPrintf() with LogInfo() (master...pr/gwlog) https://github.com/bitcoin/bitcoin/pull/30343
<cfields> ryanofsky: heh, thanks!
<cfields> ryanofsky: I had been working on the same thing locally, but it was just hacking so I hadn't pushed it anywhere. Just pushed for comparison: https://github.com/theuni/bitcoin/commits/instance-log/
zeropoint has quit [Quit: leaving]
zeropoint has joined #bitcoin-core-dev
<cfields> ryanofsky: I'll begin reviewing your draft and comparing it to mine while it's all fresh in my head, with the understanding that it still requires concept (n)acks from others.
<cfields> personally I'm find with your approach. Whatever gets the job done.
<cfields> ryanofsky: see also my questions to sipa above. At a quick glance, it looks like your branch isn't enough to completely get rid of the global logger, only from the major subsystems? Asking because I don't see changes to (for ex) random.cpp.
<cfields> *get rid of the global logger from the kernel
<cfields> TheCharlatan: is there any reason mempool_persist exists in the kernel?
<cfields> It can be safely removed. Will PR the removal unless you left it in there to support loading/dumping for some reason.
Guest50 has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] theuni opened pull request #30344: kernel: remove mempool_persist (master...kernel-no-mempool-persist) https://github.com/bitcoin/bitcoin/pull/30344
<cfields> TheCharlatan: ^^
preimage has quit [Ping timeout: 268 seconds]
preimage has joined #bitcoin-core-dev
Guest50 has quit [Quit: Client closed]
Talkless has quit [Remote host closed the connection]
<bitcoin-git> [bitcoin] achow101 pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/9ac4f69ec24b...b27afb7fb774
<bitcoin-git> bitcoin/master 3d3a83f brunoerg: i2p: log errors properly according to their severity
<bitcoin-git> bitcoin/master 7d3662f brunoerg: i2p: fix log when an interruption happens during `Accept`
<bitcoin-git> bitcoin/master b27afb7 Ava Chow: Merge bitcoin/bitcoin#29833: i2p: fix and improve logs
<bitcoin-git> [bitcoin] achow101 merged pull request #29833: i2p: fix and improve logs (master...2024-04-i2p-log) https://github.com/bitcoin/bitcoin/pull/29833
abubakarsadiq has quit [Quit: Connection closed for inactivity]
<ryanofsky> cfields, interesting that branch is using source_location. But think the biggest difference between approaches is #30342 is trying to be incremental and not do a global search and replace of all log statements.
<ryanofsky> I hadn't looked at random.cpp, but it seems like we could add a pointer to RNGState there.
<ryanofsky> In general I don't think we should get rid of log statements. Being able to conveniently log from any part of the codebase is too important for debugging.
<gribble> https://github.com/bitcoin/bitcoin/issues/30342 | kernel, logging: Pass Logger instances to kernel objects by ryanofsky · Pull Request #30342 · bitcoin/bitcoin · GitHub
<cfields> ryanofsky: yeah, that branch using source_location was before I realized the macros were necessary for avoiding evaluating the params, so I abandoned it. But the passing around of the log struct works the same with either approach.
<cfields> agree about not getting rid of log statements. Random is just kinda a special case because it's so low-level and is setup so early.
<ryanofsky> yeah the parts just passing the Logger are the same
<cfields> ryanofsky: not to restart the war, but I do agree with aj about not removing category grep-ability from the code
* cfields ducks
<ryanofsky> interesting, i'm surpised anyone has grepped for log categories since they are not used very much
<ryanofsky> also, the new LogInfo LogWarning LogError macros do not even accept categories, so things you can find searching for constants is pretty limited
<ryanofsky> anyway, you could look into it, and say what api you do prefer, if not this one, which is basically similar to python's, supporting categories but logging through objects
<cfields> will comment on the PR. I don't feel strongly enough to argue, just figured it was worth a comment here. The only thing I _do_ care about is being able to use an instance. I have a slight preference for explicitness of the instance in every call rather than hiding it sometimes (hence the huge scripted-diff in my PR), but again, whatever gets the job done is good enough for me.
<gmaxwell> category grepability is also useful in reverse, making it easy to see "which category to I need to set to get this log I see in the code"-- particularly because the people doing that are sometimes non-developer ops staff and so their comfort reading code is pretty limited.
<ryanofsky> that's a good point, but I don't think it is difficult to find categories in my PR. if you look at at code each source file has one category
<ryanofsky> for the unusual cases where a single source file logs to multiple categories there are objects like log_mempool and log_reindex, which are named after the category
<ryanofsky> or you can grep them and see the category
kevkevin has quit [Remote host closed the connection]
<ryanofsky> anyway do agree with you (cfields) that just having ability to specify instances and categories is the main thing, doesn't matter to me if they are optional or required or how they are written
kevkevin has joined #bitcoin-core-dev
abubakarsadiq has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
preimage has quit [Quit: WeeChat 4.3.2]
cornfeedhobo has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
Torr has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
saffi48 has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] maflcko closed pull request #30084: lint/contrib/doc updates (master...2024-05-lief-update) https://github.com/bitcoin/bitcoin/pull/30084
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
kevkevin has quit [Ping timeout: 264 seconds]
kevkevin has joined #bitcoin-core-dev
bugs_ has quit [Quit: Leaving]
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 264 seconds]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
kevkevin has quit [Ping timeout: 255 seconds]