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
andrew_mo_ has joined #bitcoin-core-dev
abubakarsadiq has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
StayWoke has quit [Ping timeout: 248 seconds]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
Guest96 has joined #bitcoin-core-dev
Guest96 has quit [Client Quit]
brunoerg has quit [Ping timeout: 240 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 245 seconds]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 245 seconds]
<PaperSword> Is there a standard for quality of discourse around a PR?
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_m_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 248 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
benwestgate has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
benwestgate has quit [Quit: Leaving.]
<PaperSword> #proposedmeetingtopic "PR#27260"
<gribble> https://github.com/bitcoin/bitcoin/issues/27260 | Enhanced error messages for invalid network prefix during address parsing. by russeree · Pull Request #27260 · bitcoin/bitcoin · GitHub
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
benwestgate has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
<PaperSword> https://github.com/bitcoin/bitcoin/pull/28217 discussion seems to be getting a tad emotional
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
<jonatack> PaperSword: Yes, there can be moderation (and likely will be there)
andrew_mo_ has joined #bitcoin-core-dev
<PaperSword> I am not against open discussion it's just gotten pretty emotional and these are getting sent out to everyone as notifications.
dplusplus has joined #bitcoin-core-dev
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
benwestgate has quit [Quit: Leaving.]
andrew_mo_ has joined #bitcoin-core-dev
abubakarsadiq has quit [Quit: Connection closed for inactivity]
andrew_mo_ has quit [Ping timeout: 250 seconds]
PaperSword has quit [Quit: PaperSword]
PaperSword has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_m_ has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew___ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 252 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
andrew___ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
test_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
flooded has quit [Ping timeout: 244 seconds]
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
andrew_mo_ has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
dplusplus has quit [Ping timeout: 256 seconds]
dplusplus has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
idasuperhim has quit [Quit: Leaving]
qxs has quit [Remote host closed the connection]
qxs has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
andrew_mo_ has quit [Ping timeout: 246 seconds]
AaronvanW has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
salvatoshi has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 258 seconds]
tecnecio has joined #bitcoin-core-dev
<PaperSword> Does Bitcoin Core check to ensure the y component of an uncompressed public key is valid for P2MS?
brunoerg has quit [Ping timeout: 258 seconds]
Guyver2 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has quit [Ping timeout: 245 seconds]
puchka has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
puchka has quit [Ping timeout: 245 seconds]
puchka has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
dplusplus has quit [Remote host closed the connection]
dplusplus has joined #bitcoin-core-dev
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
flooded has joined #bitcoin-core-dev
test_ has quit [Ping timeout: 244 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
brunoerg has quit [Ping timeout: 240 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has quit [Ping timeout: 258 seconds]
zhejyan has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 258 seconds]
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
<theStack> PaperSword: txs with output scripts containing not-on-curve pubkeys are standard-valid, if that's what you're asking
<PaperSword> Yeah they are just tested and found out.
<PaperSword> Is there a reason why?
andrew_mo_ has quit [Ping timeout: 245 seconds]
<PaperSword> Wait so if the pubkeys are invalid are they prunable?
Talkless has quit [Remote host closed the connection]
Talkless has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
PaperSword has quit [Quit: PaperSword]
brunoerg has quit [Ping timeout: 240 seconds]
PaperSword has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
bomb-on_ has quit [Read error: Connection reset by peer]
bomb-on has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
andrew_mo_ has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
AaronvanW has quit [Remote host closed the connection]
brunoerg has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 260 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
andrew_mo_ has joined #bitcoin-core-dev
vasild has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 245 seconds]
jon_atack has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 258 seconds]
brunoerg has joined #bitcoin-core-dev
dplusplus has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
Guyver2 has left #bitcoin-core-dev [Closing Window]
andrew_mo_ has quit [Ping timeout: 246 seconds]
jon_atack has quit [Read error: Connection reset by peer]
jon_atack has joined #bitcoin-core-dev
dplusplus has joined #bitcoin-core-dev
vasild has quit [Remote host closed the connection]
vasild has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
StayWoke has joined #bitcoin-core-dev
StayWoke has quit [Changing host]
StayWoke has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
cm has quit [Ping timeout: 246 seconds]
cm has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
ExEric3 has quit [Ping timeout: 260 seconds]
ExEric3 has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
dplusplus has quit [Remote host closed the connection]
dplusplus has joined #bitcoin-core-dev
benwestgate has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
preimage has joined #bitcoin-core-dev
<achow101> PaperSword: you can unsubscribe from the discussion if it's getting too noisy
<achow101> we do moderate, but only stuff that's obviously bad. if it gets really heated we'll lock it temporarily
andrew_mo_ has joined #bitcoin-core-dev
provoostenator has joined #bitcoin-core-dev
<provoostenator> At some point I'll just have to accept the Matrix bridge is not coming back...
<PaperSword> @achow101 Thank you! None of the content is bad per say, just IMO more 'heated' than what I am used to. None the less I am very glad that discussion is happening and have learned so much from it!
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 258 seconds]
<achow101> #startmeeting
<TheCharlatan> hi
<brunoerg> hi
<darosior> Hi
<gleb> hi
<lightlike> hi
<achow101> #bitcoin-core-dev Meeting: achow101 _aj_ amiti ariard aureleoules b10c BlueMatt brunoerg cfields darosior dergoegge dongcarl fanquake fjahr furszy gleb glozow hebasto instagibbs jamesob jarolrod jonatack josibake kallewoof kanzure kouloumos kvaciral laanwj LarryRuane lightlike luke-jr MacroFake Murch phantomcircuit pinheadmz promag provoostenator ryanofsky sdaftuar S3RK stickies-v sipa theStack TheCharlatan vasild
<furszy> hi
<PaperSword> hi
<dergoegge> hi
<achow101> there is one pre-proposed meeting topic this week. Any last minute topics to add to the list?
<_aj_> hi
<jamesob> hi
<achow101> #topic package relay updates (glozow)
abubakarsadiq has joined #bitcoin-core-dev
guest-127 has joined #bitcoin-core-dev
<cfields> hi
<achow101> I think glozow is not here today. #28199 is still the priority pr and has a few reviews.
<gribble> https://github.com/bitcoin/bitcoin/issues/28199 | test: tx orphan handling by glozow · Pull Request #28199 · bitcoin/bitcoin · GitHub
andrew_m_ has quit [Ping timeout: 245 seconds]
<achow101> #topic BIP 324 updates (sipa)
<achow101> The last major crypto pr was merged last week, so the current priority is now #28165
<gribble> https://github.com/bitcoin/bitcoin/issues/28165 | net: transport abstraction by sipa · Pull Request #28165 · bitcoin/bitcoin · GitHub
<sipa> hi
<sipa> i'm currently working on 28165 and 28196 (the latter has the option to experiment with)
provoostenator has quit [Quit: Client closed]
provoostenator has joined #bitcoin-core-dev
<sipa> 28165 is i think mostly independently-useful improvements (though inspired by the needs of bip324)
<achow101> sipa: is #28100 something people should look at too?
<gribble> https://github.com/bitcoin/bitcoin/issues/28100 | crypto: more `Span ` modernization & follow-ups by sipa · Pull Request #28100 · bitcoin/bitcoin · GitHub
<lightlike> (28165 needs rebase after merge of #27981 a few hours ago)
<gribble> https://github.com/bitcoin/bitcoin/issues/27981 | Fix potential network stalling bug by sipa · Pull Request #27981 · bitcoin/bitcoin · GitHub
<sipa> lightlike: ah thanks, will do today
<sipa> achow101: possibly - i'm happy to continue with bip324 stuff without 28100 so it's not a blocker
<fanquake> 28100 is about done anyays after the current comments are addressed
<sipa> but i think it's nice, as throughout this effort lots of parts of the crypto/ codebase have been converted to use Span<std::byte> based interfaces, which work really nicely
<sipa> except ChaCha20 itself hasn't
guest-127 has quit [Quit: Client closed]
guest-127 has joined #bitcoin-core-dev
<achow101> #topic libbitcoinkernel updates (TheCharlatan)
<TheCharlatan> No updates on the priority PR #27866
<gribble> https://github.com/bitcoin/bitcoin/issues/27866 | blockstorage: Return on fatal flush errors by TheCharlatan · Pull Request #27866 · bitcoin/bitcoin · GitHub
<TheCharlatan> Been working on pruning the boost multi index headers from our header tree.
<TheCharlatan> So far, I have a working proof of concept. Will spend the next week polishing this to something presentable.
<TheCharlatan> Once that's done we can look towards wrapping up stage 1 of the project.
<sipa> TheCharlatan: what's the reason for that?
<sipa> (pruning multiindex)
<_aj_> what does pruning mean? limiting or removing entirely?
<TheCharlatan> So we can ship the library without exporting boost.
andrew_mo_ has joined #bitcoin-core-dev
<fanquake> 👍
<TheCharlatan> It's pruning the definitions from the headers.
<sipa> but multi-index is headers-only, right?
<_aj_> so only including multi_index from cpp files, not .h files?
<fanquake> Yea all of our Boost usage is headers only
guest-127 has quit [Client Quit]
<TheCharlatan> _aj_ yes
<sipa> aahh, by exporting you mean from the library's *include* files?
guest-127 has joined #bitcoin-core-dev
<sipa> not the library binary
<TheCharlatan> yes :)
<sipa> that makes sense!
Guyver2 has joined #bitcoin-core-dev
<achow101> #topic assumeutxo updates (jamesob)
<achow101> looks like there's been movement on #27596
<gribble> https://github.com/bitcoin/bitcoin/issues/27596 | assumeutxo (2) by jamesob · Pull Request #27596 · bitcoin/bitcoin · GitHub
<jamesob> Still on #27596. Few people doing review (ryanofsky, fjahr) and provoostenator doing testing
<gribble> https://github.com/bitcoin/bitcoin/issues/27596 | assumeutxo (2) by jamesob · Pull Request #27596 · bitcoin/bitcoin · GitHub
<jamesob> Sjors reported a stallout after ibd completion but I'm not really understanding the logs he pasted in
zhejyan has quit [Ping timeout: 246 seconds]
zhejyan_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 250 seconds]
<achow101> i've started looking at it as well
<jamesob> 👍
<achow101> #topic Ad-hoc high priority for review
<achow101> Anything to add or remove from https://github.com/orgs/bitcoin/projects/1/views/4
<provoostenator> jamesob: the shutdown stalled so I had to force quit, but it worked fine at restart.
<PaperSword> @jamesob I will compile and test.
<jamesob> provoostenator: do you think the coinscache might have been flushing? how long did you wait?
<jamesob> PaperSword: thanks
<PaperSword> you can log coinscache flushing with the USDT tacepoint script right?
<jamesob> yeah, though there should be a lower-tech way to do that... maybe we should log to the standard facilities if the flush duration is over some length of time
Guyver2 has left #bitcoin-core-dev [Closing Window]
<PaperSword> contrib/tracing/log_utxocache_flush.py it works incredibly well IMO
<PaperSword> was using it with sjors DB_CACHE issue
<provoostenator> james: this was a pruned node, so it would have flushed a bunch of times. I also think it was more than 24 hours after IBD finished, but not 100% sure.
<jamesob> provoostenator: so you triggerd a shutdown, but then the shutdown process hung? or it hung during normal operation?
<cfields> If we're done with ad-hoc review items, I have a quick item.
<achow101> #topic PR#27260 (PaperSword)
<gribble> https://github.com/bitcoin/bitcoin/issues/27260 | Enhanced error messages for invalid network prefix during address parsing. by russeree · Pull Request #27260 · bitcoin/bitcoin · GitHub
<achow101> cfields: there's a preproposed topic first
<cfields> 👍
<PaperSword> I was wondering mostly about relevance of this?
<achow101> can you be more specific?
andrew_mo_ has joined #bitcoin-core-dev
<PaperSword> Was wondering if this is something that should be continued to be worked on mostly?
<PaperSword> Luke has reviewed some items in this PR, and those issues were addressed.
<sipa> PaperSword: that's up to whomever contributes individually
<PaperSword> Okay!
<PaperSword> That concludes my request
<achow101> #topic #28217 (PaperSword)
<sipa> the project does have a few projects that we choose to focus on, but aside from that, everyone decides for themselves where they spend time
<gribble> https://github.com/bitcoin/bitcoin/issues/28217 | set `DEFAULT_PERMIT_BAREMULTISIG` to false by Retropex · Pull Request #28217 · bitcoin/bitcoin · GitHub
<achow101> I assume this is about moderation?
dplusplus has quit [Ping timeout: 260 seconds]
<PaperSword> Sort of. It's a great issue to discuss though the nuances seem to get drowned out in the more charged statements.
<PaperSword> One thing I didn't understand was is there a reason for not checking for a valid Y component to an uncompressed pubkey
<sipa> i don't think that's actually relevant
<PaperSword> Okay
<achow101> iirc it's kinda expensive
andrew_mo_ has quit [Ping timeout: 246 seconds]
<PaperSword> Yes, uses base blockdata only and each outpoint has to hit dust when relaying.
<sipa> a bit, yes
<sipa> but the big problem, i think, is about changing the policy is the first place
<PaperSword> absolutely
<sipa> so really the answer to why is the Y component not checked, i think, is because the Y component was not checked in the past
<PaperSword> It could be of interest, because by checking it during relay would not allow others to use the Y component for extra byes of arb storage.
<achow101> if you do want it checked, use a hybrid key? lol
<sipa> PaperSword: that's exactly what the controversy is about, it wouldn't change anything
andrew_mo_ has joined #bitcoin-core-dev
<provoostenator> I don't think it makes sense to use relay policy to "fight" market forces. You'll just end up with private relay networks, which in turn
<luke-jr> of course it would
<provoostenator> means worse fee estimation, and maybe even pinning issues.
<sipa> indeed
<luke-jr> provoostenator: if miners maliciously try to bypass the network, it's at least clear they are acting maliciously, rather than a passive indifference
<luke-jr> and that alone may be sufficient
<PaperSword> Okay. current implementations of stamps and these protocols seem to only use 33 bytes per outpoint
<sipa> i very much doubt that
<sipa> given that they're already convincing miners to do whatever
<provoostenator> Full RBF is indicator of those dynamics.
<luke-jr> they're not
<luke-jr> there's a few bad actor pools, but many are not actively going around things
<PaperSword> What about the fact that items in the UTXO set that have an invalid Y coordinate could never be signed for?
<provoostenator> Also, it's not malicious if users are settings allow bare multisig to true.
<luke-jr> provoostenator: full RBF is not the same thing
<PaperSword> Would they then be prunable?
<sipa> PaperSword: P2PK and k-of-n P2MS with n-k+1 invalid, i think could be pruned yes
<darosior> PaperSword: you may be interested in reading the discussion in https://github.com/bitcoin/bitcoin/pull/24106. Some of the arguments from here may apply.
andrew_mo_ has quit [Read error: Connection reset by peer]
<PaperSword> Thank you @darosior
<luke-jr> provoostenator: it's malicious to setup private relay networks to mine attacks on Bitcoin that the community is actively trying to mitigate
andrew_mo_ has joined #bitcoin-core-dev
<provoostenator> But it's not miners setting those up.
<sipa> luke-jr: you holding that opinion is irrelevant to people's behavior :)
<luke-jr> provoostenator: isn't that the argument being made? [10:31] <provoostenator> I don't think it makes sense to use relay policy to "fight" market forces. You'll just end up with private relay networks, which in turn
<sipa> (even though i largely agree, for some definition of attacks)
<provoostenator> All miners need to do is to not upgrade and/or manually set this setting. And then other users will get those transaction to them. Why would they not mine them
<luke-jr> sipa: yes, but it's not irrelevant to the big picture and sensible default policies
<PaperSword> Why would a P2MS or P2PK outpoint that could never be signed for be relayed IMO.
<vasild> hi
<_aj_> provoostenator: "why would they not mine them" -- because they have a long term investment in bitcoin, and they believe mining those txs is bad for that investment, same as the reason why people would want to remove the spam in the first place
<provoostenator> If we removed the setting entirely, maybe that changes the morality a bit.
<luke-jr> _aj_: +1
<sipa> PaperSword: why are OP_RETURNs relayed? they also can't be spent
<luke-jr> though in those cases, those miners can already not-mine them
<PaperSword> They are prunable, and pruned
<sipa> your question is about relayed, not about pruning :)
<provoostenator> _aj_ they can already choose not to mine them and leave the money on the table.
<PaperSword> tuche :D
<luke-jr> unfortunately, I have to leave early :< but hopefully my points have been made, and others can continue
<PaperSword> Okay then why can one do 196 bytes using p2ms using invlid pubkeys but only 80 bytes with OP_RETURN
<dergoegge> can we move on?
<PaperSword> sure
<sipa> PaperSword: i think this is becoming more a question for the ML
<PaperSword> ML sorry?
<sipa> mailing list
<sipa> bitcoin-dev
<PaperSword> I will submit.
<PaperSword> Thank you.
<sipa> i would encourage you to first read the ongoing discussion already :)
<sipa> and yes, we could prune some more unspendable outputs, but that's an implementation detail inside bitcoin core, which imho shouldn't really interact with questions about relay policy
<achow101> #topic cfields thing
<cfields> heh
andrew_mo_ has quit [Ping timeout: 246 seconds]
<cfields> Just wanted to make a quick announcement to the wider group that we now have a clang-tidy plugin merged and hooked up to c-i. This means that we can now add our own (simple) compiler rules and have them enforced. It's most immediately useful for linting, but it could also enforce constraints that aren't possible with code alone. For now we only have one simple check.
<cfields> I'll open a PR to expand the README so it's clear what it can and can't do (sorry, I meant to have that done by now). If anyone has any use for additional checks (besides the ones Marco has proposed), please ping me after the meeting or mention it in that PR once opened.
<dergoegge> 🎉
<cfields> That's all :)
<TheCharlatan> wootwoot
<sipa> cfields: can you give a quick cool example of what's possible with this?
<PaperSword> nice
<achow101> neat
<cfields> sipa: the initial one, for example, enforces that there's a "\n" at the end of every logprintf...
<fanquake> the checks that exist in LLVM: https://clang.llvm.org/extra/clang-tidy/checks/list.html
<fanquake> for inspo
<cfields> Another simple example would be enforcing some variable naming convention.
<fanquake> (and to ensure we don't recreate things that already exist)
<sipa> cfields: shouldn't we change LogPrintf to automatically add a \n in that case? (unrelated to your topic, but...)
<cfields> sipa: lol, that would work too :)
<_aj_> cfields' way has less churn?
<cfields> This was just an excuse for a first simple check.
<sipa> the reason we didn't do that, i thought, was because there were a few LogPrintf outputs that were split over multiple calls
<earnestly> (For that kind of automatic transformation, coccinelle exists)
<sipa> but if there aren't any, let's just get rid of the requirement to have a \n
<lightlike> then we'd need a linting rule that enforces there aren't *two* \n at the end
<sipa> cfields: neat as an example still, though
<vasild> This is somehow related to https://github.com/bitcoin/bitcoin/issues/27825
<dergoegge> vasild: yea that can probably be closed now
<vasild> \o/
<achow101> any other topics to discuss today?
guest-127 has quit [Ping timeout: 246 seconds]
<jamesob> good old /* Continued */
<achow101> #endmeeting
<vasild> sipa: people will keep adding "\n" by habit so then a rule will be needed that there is no trailing \n and that really would have to be enforced to avoid double \n in new code, or annoying review comments to remove \n
<sipa> vasild: i was assuming LogPrintf would just add a \n if there weren't one already
<sipa> ;)
<vasild> ;-)
<lightlike> would be awful if we had to change each existing LogPrintf...
<cfields> jamesob: fyi, those /* Continued */ are gone because clang-tidy is smarter than our python scripts. We now opt-out with // NOLINT(bitcoin-unterminated-logprintf)
guest-127 has joined #bitcoin-core-dev
<vasild> wow!
<cfields> lightlike: actually that's something else clang-tidy could do very easily. If you can describe the change, via AST it's trivial to use it to transform the entire codebase programatically.
<fanquake> enhanced scripted-diff
<lightlike> cfields: sure, but the PR to do that would conflict with almost every other PR...
<cfields> fanquake: Yep, I plan on PR'ing that as well if anyone is interested. You could assert that the transform generated the expected changes. Mostly useful for huge changes like the log example above.
<cfields> lightlike: right, that's why realistically checking the "\n" was the simpler thing to do.
<earnestly> clang-query(1) is a relatively new tool which lets you play with matchers and such
<vasild> cfields: Thank you!
andrew_mo_ has joined #bitcoin-core-dev
<cfields> Earnestly: yes, clang-query is essential for testing queries without recompiling every time.
<cfields> (You can copy/paste our query from the cpp into clang-query and it should just work. It's quite convenient)
<cfields> vasild: thanks for testing!
<vasild> I didn't test it (yet)
<cfields> vasild: whoops, I thought I remembered you chiming in. nm :)
andrew_mo_ has quit [Ping timeout: 245 seconds]
guest-127 has quit [Quit: Client closed]
<cfields> sipa: here's another very simple example that's imo interesting for us: https://clang.llvm.org/extra/clang-tidy/checks/modernize/make-shared.html
<cfields> we could essentially use it to enforce policy in our codebase, rather than just documenting it.
<cfields> (in this case, the example policy is obviously to always use make_shared rather than new)
provoostenator has quit [Quit: Client closed]
provoostenator has joined #bitcoin-core-dev
<cfields> I don't mean that example is interesting, just that it very simply shows how new code policy could be introduced/enforced.
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
provoostenator has quit [Quit: Client closed]
bugs_ has joined #bitcoin-core-dev
tecnecio has quit [Quit: Leaving]
<jon_atack> Hi! I think I've noticed a related subtle logging rule the new plugin could enforce or that the macro could be smarter about.
<jon_atack> If the string argument following the Log* call is on a separate line rather than the same line, logsourcelocations=1 doesn't work.
<MacroFake> cfields: I think modernize-make-shared disabled Wnarrowing, so I am not sure if there are any benefits to using it
<jon_atack> example separate line:
<jon_atack> 2023-08-17T03:35:25.306155Z [scheduler] [net_processing.cpp:5170] [operator()] [net] Protecting from eviction last remaining cjdns outbound peer=36 that relays transactions: [fc70:704d:b268:cdbf:d622:ea9f:db12:859e]:8333 (outbound-full-relay)
<jon_atack> and same line:
<jon_atack> 2023-08-17T11:56:10.285371Z [msghand] [net_processing.cpp:2801] [UpdatePeerStateForReceivedHeaders] [net] Protecting from eviction for bad or slow chain outbound peer=1154 net=i2p, peeraddr=wxtdi7pvtcd5vnnhcuwy7uffdjjeky7jjqn7mgnksnz4micqkvoa.b32.i2p:0 (outbound-full-relay)
<cfields> MacroFake: yeah, I didn't mean _that_ example at all. Sorry. I was just showing the _kind_ of thing we could enforce.
<MacroFake> ah ok
<jon_atack> sorry, bad paste
<jon_atack> but "operator()" is printed rather than the source method
<MacroFake> jon_atack: That shouldn't be related to a newline in the C++ source code
<jon_atack> MacroFake: Sorry, I may have misdiagnosed, just saw it in a change I made locally. Will look.
<MacroFake> I presume operator() means you are inside a lambda
<cfields> blah, I really shouldn't have used the log example in the meeting. It's much more than a linter heh.
<jon_atack> yes, inside a m_connman.ForEachNode in EvictExtraOutboundPeers
<MacroFake> cfields: There may be a chance we can use native C++20 instead of the bitcoin-unterminated-logprintf tidy rule
<MacroFake> I'll look into that once and if we have C++20
<sipa> wen c++20?
<MacroFake> Generally it seems preferable to enforce all rules at compile time in the compiler, as opposed to a separate linter executable
<MacroFake> sipa: I'll open a pull in two weeks, and see what everyone thinks for 27.0
vasild has quit [Remote host closed the connection]
<cfields> sipa: anything you wish you could enforce with Span? Either in the impl or with what callers do with them?
<MacroFake> cfields: We'll switch to std::span, soon :)
<sipa> cfields: lifetimebound being actually enforced would be nice :p
<sipa> that looks promising
vasild has joined #bitcoin-core-dev
<cfields> MacroFake: well presumably if there was some semantic we wanted it would apply to span as well.
<cfields> sipa: i didn't realize it didn't work
<sipa> cfields: it works, but only in fairly narrow cases, iirc
<cfields> ah ok
jonatack1 has joined #bitcoin-core-dev
jon_atack has quit [Ping timeout: 246 seconds]
StayWoke has quit [Quit: Bye!]
abubakarsadiq has quit [Quit: Connection closed for inactivity]
puchka has quit [Ping timeout: 245 seconds]
Guest9 has joined #bitcoin-core-dev
Guest9 has quit [Client Quit]
puchka has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_mo_ has joined #bitcoin-core-dev
bitdex has quit [Quit: = ""]
mekster669493 has quit [Quit: mekster669493]
andrew___ has joined #bitcoin-core-dev
andrew_m_ has quit [Ping timeout: 246 seconds]
mekster669493 has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 244 seconds]
benwestgate has quit [Quit: Leaving.]
bugs_ has quit [Quit: Leaving]
brunoerg has quit [Read error: Connection reset by peer]
test_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
flooded has quit [Ping timeout: 244 seconds]
nanotube has quit [Quit: *poof*]
nanotube has joined #bitcoin-core-dev
andrew___ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_m_ has quit [Ping timeout: 245 seconds]
abubakarsadiq has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
andrew_m_ has quit [Ping timeout: 256 seconds]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
guest-127 has joined #bitcoin-core-dev
guest-127 has quit [Client Quit]
guest-127 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
guest-127 has quit [Quit: Client closed]
brunoerg has quit [Ping timeout: 244 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
Talkless has quit [Quit: Konversation terminated!]
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
<andytoshi> is nobody else having compiler errors related to https://github.com/bitcoin/bitcoin/pull/28168 ?
<andytoshi> test/script_tests.cpp: In member function ‘void script_tests::script_json_test::test_method()’:
<andytoshi> test/script_tests.cpp:933:44: error: invalid initialization of reference of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’} from expression of type ‘const unsigned char [215625]’ 933 | UniValue tests = read_json(json_tests::script_tests);
<achow101> andytoshi: make clean first
andrew_mo_ has quit [Ping timeout: 246 seconds]
<andytoshi> achow101: oh, thanks!
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 252 seconds]
vysn has joined #bitcoin-core-dev
mekster669493 has quit [Ping timeout: 244 seconds]
dougefish__ has joined #bitcoin-core-dev
dougefish_ has quit [Ping timeout: 250 seconds]
abubakarsadiq has quit [Quit: Connection closed for inactivity]
andrew_mo_ has joined #bitcoin-core-dev
Guest50 has joined #bitcoin-core-dev
Guest50 has quit [Client Quit]
andrew_mo_ has quit [Ping timeout: 246 seconds]
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
flooded has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
test_ has quit [Ping timeout: 244 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
andrew_mo_ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
mekster669493 has joined #bitcoin-core-dev
szkl has joined #bitcoin-core-dev
achow101 has quit [Quit: Bye]
vysn has quit [Remote host closed the connection]
preimage has quit [Quit: WeeChat 4.0.3]
nick_ has joined #bitcoin-core-dev
nick_ has quit [Client Quit]
ne0h has joined #bitcoin-core-dev
ne0h has quit [Client Quit]
neoh has joined #bitcoin-core-dev
neoh has quit [Quit: Leaving]
brunoerg has joined #bitcoin-core-dev
ne0h has joined #bitcoin-core-dev
<ne0h> i am trying to make a program that connects to the bitcoin network to collect new transactions in the mempool and new blocks in real time, but I am having trouble getting it going. My version message doesn't get a response... I suspect it's something to do with the formatting or something, but i have tried a few things and nothing has worked so far, if anybody could help me get this running it would be quite appreciated
brunoerg has quit [Ping timeout: 256 seconds]
<fjahr> This channel is particularly for development of bitcoin core, an alternative implementation of the protocol is out of scope. I would recommend you post your question on bitcoin stack exchange. And fwiw, you should also check if you can achieve your goal by just using bitcoin core's zmq interface, then you won't need to think about version messages etc.
jespada has quit [Ping timeout: 246 seconds]
jespada has joined #bitcoin-core-dev
andrew_mo_ has quit [Remote host closed the connection]
andrew_mo_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 245 seconds]
andrew_mo_ has joined #bitcoin-core-dev
andrew_m_ has joined #bitcoin-core-dev
andrew_m_ has quit [Remote host closed the connection]
andrew_m_ has joined #bitcoin-core-dev
andrew_mo_ has quit [Ping timeout: 256 seconds]
benwestgate has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
benwestgate has quit [Ping timeout: 250 seconds]
BUSY has joined #bitcoin-core-dev