dunxen has quit [Ping timeout: 240 seconds]
yanmaani has quit [Ping timeout: 240 seconds]
brunoerg has quit [Ping timeout: 248 seconds]
theStack has quit [Ping timeout: 256 seconds]
yanmaani has joined #bitcoin-core-dev
theStack has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
ronoaldo has quit [Quit: Konversation terminated!]
ronoaldo has joined #bitcoin-core-dev
szkl has quit [Quit: Connection closed for inactivity]
brunoerg has quit [Ping timeout: 268 seconds]
brunoerg has joined #bitcoin-core-dev
vysn has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
jarthur has quit [Ping timeout: 272 seconds]
brunoerg has joined #bitcoin-core-dev
jarthur has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
Bullitje has joined #bitcoin-core-dev
bomb-on has quit [Quit: aллилѹіа!]
brunoerg has joined #bitcoin-core-dev
jarthur has quit [Quit: jarthur]
brunoerg has quit [Ping timeout: 256 seconds]
bitdex has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 268 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
gnaf has quit [Quit: Konversation terminated!]
brunoerg has joined #bitcoin-core-dev
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 268 seconds]
Guest58 has quit [Quit: Client closed]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
hashfunc14a0 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
rnapoles has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 268 seconds]
ghost43 has quit [Ping timeout: 240 seconds]
ghost43 has joined #bitcoin-core-dev
rnapoles has left #bitcoin-core-dev [#bitcoin-core-dev]
rnapoles has joined #bitcoin-core-dev
sipsorcery has joined #bitcoin-core-dev
rnapoles has quit [Client Quit]
brunoerg has joined #bitcoin-core-dev
nanotube has quit [Ping timeout: 260 seconds]
hashfunc14a0 has quit [Ping timeout: 268 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
nanotube has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
jonatack has quit [Ping timeout: 260 seconds]
Guyver2 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
___nick___ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
sipsorcery has quit [Remote host closed the connection]
sipsorcery has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 268 seconds]
brunoerg has joined #bitcoin-core-dev
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #bitcoin-core-dev
___nick___ has quit [Client Quit]
___nick___ has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
kexkey has quit [Ping timeout: 246 seconds]
kexkey has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<bitcoin-git> [bitcoin] fanquake pushed 6 commits to master: https://github.com/bitcoin/bitcoin/compare/41720a1f540e...d844b5e79994
<bitcoin-git> bitcoin/master 17a8ffd glozow: [packages/policy] use package feerate in package validation
<bitcoin-git> bitcoin/master 09f32cf glozow: [docs] package feerate
<bitcoin-git> bitcoin/master 1b93748 glozow: [validation] try individual validation before package validation
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #24152: policy / validation: CPFP fee bumping within packages (master...package-cpfp) https://github.com/bitcoin/bitcoin/pull/24152
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> bitcoin/master b72925e fanquake: lint: remove qt SIGNAL/SLOT lint
<bitcoin-git> bitcoin/master 5c80d9b fanquake: Merge bitcoin/bitcoin#24790: lint: remove qt SIGNAL/SLOT lint
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d844b5e79994...5c80d9b72d6b
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #24790: lint: remove qt SIGNAL/SLOT lint (master...remove_qt_lint) https://github.com/bitcoin/bitcoin/pull/24790
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
ullbeking has joined #bitcoin-core-dev
<ullbeking> join #bitcoin-market
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/5c80d9b72d6b...323d4c09c090
<bitcoin-git> bitcoin/master 323d4c0 MarcoFalke: Merge bitcoin/bitcoin#24784: refactor: deduplicate integer serialization i...
<bitcoin-git> bitcoin/master fff9141 phyBrackets: refactor: Remove deduplication of data in rollingbloom bench
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #24784: refactor: deduplicate integer serialization in RollingBloom benchmark (master...rebased_fixedd_24088) https://github.com/bitcoin/bitcoin/pull/24784
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 248 seconds]
ghost43 has quit [Remote host closed the connection]
ghost43 has joined #bitcoin-core-dev
Alina-malina has quit [Ping timeout: 246 seconds]
Alina-malina has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake closed pull request #24159: tests: commit-script-check.sh - use gsed if exists (master...1643135199-test-lint-comit-script) https://github.com/bitcoin/bitcoin/pull/24159
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 272 seconds]
sipsorcery has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke closed pull request #24697: refactor: Address relay time refactors (master...2203-refactor-addr-relay-time-🌦) https://github.com/bitcoin/bitcoin/pull/24697
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 248 seconds]
sipsorcery has joined #bitcoin-core-dev
sudoforge has quit [Ping timeout: 250 seconds]
tripleslash has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake opened pull request #24796: lint: misc updates & fixes (master...spelling) https://github.com/bitcoin/bitcoin/pull/24796
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 268 seconds]
geyaeb has quit [Ping timeout: 240 seconds]
bw has quit [Ping timeout: 256 seconds]
geyaeb has joined #bitcoin-core-dev
bw has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke closed pull request #24796: lint: misc updates & fixes (master...spelling) https://github.com/bitcoin/bitcoin/pull/24796
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
bitdex has quit [Quit: = ""]
<laanwj> huh
<laanwj> oh, misdetected merge
jonatack has quit [Ping timeout: 260 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] brunoerg opened pull request #24797: test: compare `/chaininfo` response with `getblockchaininfo` RPC (master...2022-04-compare-blockchaininfo-rest-chaininfo) https://github.com/bitcoin/bitcoin/pull/24797
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] hebasto opened pull request #24798: [POC] build: Hello Qt 6 (master...220406-qt6) https://github.com/bitcoin/bitcoin/pull/24798
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
Evel-Knievel has quit [Ping timeout: 246 seconds]
Evel-Knievel has joined #bitcoin-core-dev
Evel-Knievel has quit [Ping timeout: 268 seconds]
Evel-Knievel has joined #bitcoin-core-dev
sipsorcery has quit [Read error: Connection reset by peer]
sipsorcery has joined #bitcoin-core-dev
sudoforge has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
jespada has quit [Quit: Textual IRC Client: www.textualapp.com]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] sipa opened pull request #24799: Add test case mimicking issue 24765 (master...202204_try24765) https://github.com/bitcoin/bitcoin/pull/24799
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
jespada has joined #bitcoin-core-dev
SpellChecker has quit [Remote host closed the connection]
SpellChecker has joined #bitcoin-core-dev
sudoforge has quit [Ping timeout: 260 seconds]
Guest27 has joined #bitcoin-core-dev
Guest27 has quit [Client Quit]
sudoforge has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] KevinMusgrave opened pull request #24800: lint: convert lint-python-mutable-default-parameters.sh to Python (master...port-lint-script-to-python) https://github.com/bitcoin/bitcoin/pull/24800
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
jarthur has joined #bitcoin-core-dev
noonien2 has joined #bitcoin-core-dev
noonien has quit [Ping timeout: 246 seconds]
noonien2 is now known as noonien
agrosant has quit [Ping timeout: 272 seconds]
Talkless has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
gnaf has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
bomb-on has joined #bitcoin-core-dev
Talkless has quit [Quit: Konversation terminated!]
Talkless has joined #bitcoin-core-dev
vysn has quit [Ping timeout: 268 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] Eunoia1729 opened pull request #24802: lint: convert format strings linter test to python (master...lint-format-strings-py) https://github.com/bitcoin/bitcoin/pull/24802
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_K_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 256 seconds]
Kaizen_K_ has quit [Remote host closed the connection]
<laanwj> #startmeeting
<core-meetingbot> Meeting started Thu Apr 7 19:00:17 2022 UTC. The chair is laanwj. Information about MeetBot at https://bitcoin.jonasschnelli.ch/ircmeetings.
<core-meetingbot> Available commands: action commands idea info link nick
AaronvanW has quit [Quit: Leaving...]
<hebasto> hi
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> #bitcoin-core-dev Meeting: achow101 _aj_ amiti ariard BlueMatt cfields Chris_Stewart_5 darosior digi_james dongcarl elichai2 emilengler fanquake fjahr gleb glozow gmaxwell gwillen hebasto instagibbs jamesob jarolrod jb55 jeremyrubin jl2012 jnewbery jonasschnelli jonatack jtimon kallewoof kanzure kvaciral laanwj larryruane lightlike luke-jr maaku marcofalke meshcollider michagogo moneyball
<laanwj> morcos nehan NicolasDorier paveljanik petertodd phantomcircuit promag provoostenator ryanofsky sdaftuar sipa vasild
<jonatack>  hi
<fanquake> hi
<laanwj> welcome to the weekly general bitcoin-core-dev meeting
<sipa> hi
<cfields> hi
<laanwj> no meeting topics have been proposed in advance (you can propose meeting topics with #proposedmeetingtopic <topic> during any time of the week)
<laanwj> any last minute ones?
<jonatack> #proposedmeetingtopic approach regarding user behavior and config options deprecation (e.g. adjusted time)
<laanwj> ok!
<lightlike> hi
<laanwj> let's start with high priority for review as usual
<laanwj> #topic High priority for review
<core-meetingbot> topic: High priority for review
<laanwj> https://github.com/bitcoin/bitcoin/projects/8 10 blockers, 1 chasing concept ACK
<fanquake> I'll add #22380. Should probably get that in at some point
<laanwj> anything to add/remove, or that is on the list and almost ready for merge?
<gribble> https://github.com/bitcoin/bitcoin/issues/22380 | build: add and use C_STANDARD and CXX_STANDARD in depends by fanquake · Pull Request #22380 · bitcoin/bitcoin · GitHub
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
<laanwj> fanquake: ok
<laanwj> oh PSA: i've started testing BIP324 P2P v2 (#24545) on a node, let me know if you want to also test and connect
<gribble> https://github.com/bitcoin/bitcoin/issues/24545 | BIP324: Enable v2 P2P encrypted transport by dhruv · Pull Request #24545 · bitcoin/bitcoin · GitHub
<jonatack> laanwj: +1
<laanwj> (in private is fine, this is not a meeting topic)
<jonatack> great, i plan to
<laanwj> cool!
<lightlike> maybe #21726 could be close (after next rebase)?
<gribble> https://github.com/bitcoin/bitcoin/issues/21726 | Improve Indices on pruned nodes via prune blockers by fjahr · Pull Request #21726 · bitcoin/bitcoin · GitHub
<sipa> note that BIP324's spec is undergoing some changes still... the protocol will likely not be interoperable
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> lightlike: it does still have some unaddrssed comments, agree it's close though
nick_ has joined #bitcoin-core-dev
<laanwj> sipa: right, that's good to make clear
mikolaj has joined #bitcoin-core-dev
<laanwj> #topic Approach regarding user behavior and config options deprecation (jonatack)
<core-meetingbot> topic: Approach regarding user behavior and config options deprecation (jonatack)
<jonatack> hi! i've prepared a dozen lines on this then propose we open up for discussion
<jonatack> there has been discussion recently on the topic of removing the adjusted time code
<jonatack> which has been been in bitcoin core since the first commit in the git log
<jonatack> there is some good refactoring that can be done
<jonatack> nevertheless, i'm somewhat uncomfortable with the approach i'm seeing
<jonatack> in that we may be making what are essentially product management decisions, to drop a feature and configuration option
<jonatack> without a deprecation period or optionality for users
<laanwj> i like the approach to first default the setting to 0
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
<jonatack> the idea seems to be based eagerness to get started removing it and on on speculation or hand-wavey logic about what users would do (or never do)
<jonatack> i worry that it's not necessarily a good basis for making these decisions, and in some contexts a flimsy one
<jonatack> istm users aren't necessarily logical, and if users can do something, then some likely will
<jonatack> i checked in with a couple of well-known Bitcoin PMs today and they aren't aware
<jonatack> of any Bitcoin Core user studies on this topic (which doesn't seem surprising,
<jonatack> and maybe they are busy in miami atm, but the answer was: "no idea")
<laanwj> my main problem with adjusted time is that it just doesn't do what it's supposed to do, it is a false promise, and unsafe
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<sipa> i wouldn't consider time adjustment to be a user-visible feature
<jonatack> yes. though if we don't know if people depend on it, perhaps we can proceed on that basis
<fanquake> Yes. This isn't quite like deprecating a well-used RPC
<sipa> removing/changing it shouldn't affect user experience
<laanwj> how can people *depend* on it?
<jonatack> in conclusion, it seems like a deprecation process for configuration options would be of help here, and maybe save us discussion going forward.
<fanquake> If we want a period of deprecation, I'm also unsure how changing the default helps things? That isn't going to communicate anything to users who are actually setting it right?
<laanwj> i would agree for user visible wallet features and such
Cory has quit [Ping timeout: 246 seconds]
<sipa> RPC / REST / Wallet behavior / UI features / ... changes need a deprecation plan
<laanwj> yes
<sipa> but time adjustment is just an internal algorithm... if we believe that not doing it is better than what we have, we should get rid of it
<fanquake> and if the feature is broken, and that brokenness is leaking out into other parts of the codebase, it would just seem better to remove it.
<fanquake> for anyone following along the related PRs are #24606 and #24662
<gribble> https://github.com/bitcoin/bitcoin/issues/24606 | Change -maxtimeadjustment default from 70 minutes to 0 by jonatack · Pull Request #24606 · bitcoin/bitcoin · GitHub
<gribble> https://github.com/bitcoin/bitcoin/issues/24662 | addrman: Use system time instead of adjusted network time by MarcoFalke · Pull Request #24662 · bitcoin/bitcoin · GitHub
<jonatack> istm that starting by changing the default first, for a release or so, reduces risk and provides optionality for us (i.e. code reversion) and for users  -- unless there is an urgent need for change, or unless we are certain that it no one uses or depends on it
<laanwj> there are some things we'd really want to be careful around, like anything that potentialy causes coins to be unspendable, or makes old wallets unusable
<sipa> if we're unsure that not doing adjustment is better than what we have, defaulting it to max 0 minutes at first makes it somewhat easier to reintroduce
<laanwj> yes
<sipa> but that's more about how certain we are it's an improvement, than about user expectations
<laanwj> in any case, i'm fine with first defaulting it to 0 for a release, then if no one reports problems due to that (however unlikely), really remove it a major release later
<fanquake> I think turning the option into a no-op, without making it somehow apparent to users who are currently using it, would surely also just undermine user expectations if anything?
<laanwj> no, if you remove it, specifying it should be an error
<laanwj> silently ignoring options is really bad
<fanquake> by no-op I mean changing the default to 0
<fanquake> then we'd have an option that is confusing / doesn't do anything for new users
<laanwj> yes, but you can mention it in the release notes
<fanquake> and for anyone already setting it, they just wont notice anyway
<fanquake> if anything you'd probably be better off with just the release note?
<laanwj> that if they rely on the feature (unlikely), they can specify the option for now
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
<laanwj> well if it causes problems they can report it as an issue?
<laanwj> then set the setting
<laanwj> it's easier to do without recompile
<sipa> if we want people to complain if they're intentionally setting the option, because they rely on it, we should remove the option to configure it first
<sipa> ... but I can't imagine that being the case, really
<laanwj> yea, ok...
<lightlike> I don't really see how changing it globally to 0 reduces risk, I'd think it's more risky. Removing it step by step makes reviewer think about the location it is used, and about possible consequences. And maybe there are completely different things to take into account in validation than in addrman.
<laanwj> maybe log a deprecation notice first
<_aj_> for this, it seems easier to fix your computer's time than to complain about it...
<sipa> +1 aj
<laanwj> yes, if you know you have problems with you rsystem time, it's better to fix it at the source
<jonatack> users may not behave logically or the way we think they do, though
<laanwj> lightlike: agree, in addrman it seems pointless in any case
<fanquake> there's not much we can do about a user who just refuses to fix their clock
<_aj_> (adding a gui warning if your peers are advertising a different time than you have could be useful, though; i thought that was mentioned in the PRs, can't remember if it went anywhere)
<laanwj> the clock can't be *that* far off anyway
<fanquake> they've probably got other non-bitcoin issues in that case too
<laanwj> as it won't compensate that far
<laanwj> right
<jonatack> lightlike: that seems orthogonal (reviewer approach)
<sipa> being even minutes off probably doesn't hurt much even
<sipa> and we don't correct more than 60 or 70 minutes iirc?
<laanwj> sipa: right
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> pretty sure there are many things more time sensitive than bitcoin, e.g. 2fa tokens
<sipa> indeed
<sipa> that was different in 2009
<laanwj> right, i don't think ntp was even default on most OSes back then
mikolaj has quit [Quit: mikolaj]
<sipa> ntp being unauthenticated is a problem, probably a bigger one than the issues enabled by bitcoin's time adjustment... but nothing we can do about
<laanwj> i mean if bitcoin's time adjustment was a serious contender for protecting against ntp attacks things would be different, but it is effectively unmaintained, never reasoned about code, with known unfixed issues for years
<laanwj> but i feel we already had this discussion very recently
<jonatack> yes, it's more the process that's in question i think
<laanwj> i get the idea this gets really blown out of proportion compared to the impact
<laanwj> there's probably a few more risky things we merge each week than this particular deprecation
<fanquake> Yea. Getting rid of this is hardly like getting rid of getinfo
<laanwj> right
<sipa> agree
Talkless has quit [Quit: Konversation terminated!]
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
<laanwj> jonatack: how would you propose to move forward with this, then
<laanwj> i mean the "set the default to 0" PR is yours so i guess that'd be the first step?
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> then what next release?
<jonatack> laanwj: when i was doing PM at L'Oreal a looong time ago (early 90s) it was hammered into me to never guess or assume what users do. I don't feel competent to say more than that here yet
<jonatack> and that's maybe not transferable to this context, but if we're not in a hurry and not sure, yeah
<jonatack> i could be wrong of course, and will learn from why
<laanwj> i guess that's good general advice, but to do development at all you need to make some assumptions, like in a way a program is a set of assumptions, if not, everyone would have to write their own for their specific context and situation
<_aj_> hmm, shouldn't the version messages listening nodes receive be able to give a good indication how out-of-sync random nodes tend to be?
<fanquake> my assumption is that basically everyone running a node, other than people in this channel, have likely never even heard of this option, let alone changed it in some meaningful way
<sipa> _aj_: the numbers may be skewed because those numbers themselves are subject to adjustment?
<_aj_> sipa: and doesn't look like they're logged after the buffer gets filled either
<sipa> jonatack: I think we shouldn't think of configuration options themselves as features; they may be part of one, but not on their own. And for configuration options, I like the general advice I once heard: don't add a means to configure if you can't explain or give advice about when someone should set it. For maxtimeadjustment my advice would be: set it to 0, because if you have a need to set it to anything else your system is broken.
<laanwj> in any case, that's not a deprecation plan
<_aj_> sipa: i guess non bitcoind nodes don't do adjustment, so messages from light clients might give an indication of how many systems are out of sync?
<laanwj> sipa: right
<sipa> _aj_: That'd only tell us how many light clients are out of sync, which may be very different from how often bitcoin core nodes are.
<sipa> (in positive or negative sense)
<laanwj> id say light clients would tend to be biased towards phones which have many ways of potential time synchronization
<jonatack> sipa: agree. but how to remove a config option once it's there?
<fanquake> my deprecation plan would just be to just remove the option, and all of the old, broken code, prior to the 24.x branch off. If anyone who was using it even notices, and then for some reason, can't seem to operate without it, they could remain on 23.x while we figure out a non-broken, actually reasoned about alternative, that we could explain to them how to use (if we even want to do something like that going forward).
<laanwj> jonatack: that should be considered on a case by case basis i think, like what and how much effect does it have
<jonatack> (this may come up again if we add sat/vB config options to replace BTC/kvB ones)
<sipa> jonatack: I think that's different; that's RPC, which is a user interface.
<sipa> There we need migration options, and be sensitive on people relying on it.
<lightlike> _aj_: the behavior used to be different for inbound/outbound (until #23695). For outbound connections, we always used the unadjusted time I think.
<gribble> https://github.com/bitcoin/bitcoin/issues/23695 | p2p: Always serialize local timestamp for version msg by MarcoFalke · Pull Request #23695 · bitcoin/bitcoin · GitHub
<laanwj> fanquake: right! we shouldn't forget people always have the option of staying on an older release until something is resolved
<sipa> lightlike: Oh, interesting.
<laanwj> it's not some kind of cloud service where people are forced to the newest version
<fanquake> Yes, and if it comes to it, and there's one stubborn user who just wont budge, I'll buy them a fancy new computer, with a working clock, and we remain forgetful of this code
<sipa> A deprecation plan for time adjustment may be (a) just removing it and see who complains (because of a well-reasoned assumption that nobody actually needs it). (b) removing it, but adding for 1 or 2 major releases a trigger if it's set that explains why it was removed, and what to do about it (c) using something like -deprecatedrpc where you inform bitcoind that you're working on getting rid of your dependency on it, but need it for a little while longer.
<sipa> But there is more at stake here than just removing the "be tolerant to bad clocks" feature - having it in the first place I think is a (albeit small) risk on itself to the network.
<_aj_> ("secure ntp" aka "nts" is a thing these days apparently)
<laanwj> _aj_: which is the place where this should be solved, by people who study it and are specialized in it, fixing internet time sync is out of scope for bitcoin
<laanwj> i tend toward either (1) default the option to 0 for 24.0, then remove it entirely in 25.0 or 2) just remove it entirely for 24.0, we'll see if people complain
<laanwj> with 'remove it' i mean removing both the option and the functionality
<sipa> _aj_: So, actually, we can observe how much nodes are off just fine, on inbound connections, because bitcoind on outbound seems to not be using adjusted time.
<fanquake> My vote is for 2), and the further refactoring / code improvements it will enable
<sipa> I'm fine with both (1) and (2).
<_aj_> sipa: need to update logging to actually log that info though, yeah
<laanwj> fanquake: is it blocking some other things?
<fanquake> my understanding is that the affected code overlaps with other addrman / time related refactors, migrating further towards chrono etc
<fanquake> unsure about in validation, I don't think there is a PR open for the removal there yet either
<laanwj> re: "it's been in there since the first git release", we really shouldn't be sentimental about code, it'll always be there in git history :)
<fanquake> in the worst case everything can always just be recovered from there too
<fanquake> there are some demons hiding in .git
<laanwj> right
<jonatack> there is indeed user folklore about it but agree about not being sentimental
<jonatack> the folklore can remain without the code
<laanwj> exactly!
<_aj_> okay, i've got some logging going, see if i catch any peers with a signfiicant delta
<laanwj> and with that, we should probably close the meeting
<sipa> it is indeed robot time
<jonatack> oops, yes
<laanwj> #endmeeting
<core-meetingbot> Meeting ended Thu Apr 7 20:00:47 2022 UTC.
<core-meetingbot> topic: 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/ | Meeting topics http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt / http://gnusha.org/bitcoin-core-dev/proposedwalletmeetingtopics.txt
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] hebasto closed pull request #24781: build, qt: Drop unneeded direct dependency on freetype (master...220406-freetype) https://github.com/bitcoin/bitcoin/pull/24781
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<lightlike> _aj_: might be interesting to look at inbound/outbound peers separately, see if there is a statistical difference.
<laanwj> clearly the real solution is to make bitcoin consensus independent of clock time :p
<sipa> ACK
<fanquake> 1 less dependency
___nick___ has quit [Ping timeout: 272 seconds]
<_aj_> laanwj: from timechain to timelesschain?
<_aj_> lightlike: 2022-04-07T20:06:37Z VERSION message delta=-76 nTime=1649361921 ip=XXX inbound ver=70015 subver=/Satoshi:0.20.1/ -- is what i'm getting (ip redacted)
<_aj_> + LogPrintf("VERSION message delta=%s nTime=%s ip=%s %s ver=%d subver=%s\n", nTimeOffset, nTime, pfrom.addr.ToString(), pfrom.ConnectionTypeAsString(), pfrom.nVersion, cleanSubVer);
<sipa> _aj_: I have a node with 260 incoming connections (no idea if that's a lot or not now). Want me to run that?
<jonatack> sipa: how much uptime to get that many? o-O
<sipa> $ ./src/bitcoin-cli uptime
<sipa> 537246
<_aj_> sipa: could be fun? bitcoin-cli getpeerinfo | jq .[].timeoffset | sort -n -- for current connections?
<sipa> less than a week
<jonatack> huh
<laanwj> _aj_: timeisonlyanillusionchain
<_aj_> laanwj: time is only an allusion
<sipa> $ ./src/bitcoin-cli getpeerinfo | jq '.[] | select(.inbound) | select(.timeoffset>0) | .timeoffset' | wc
<sipa> 8 8 20
<sipa> 8 out of 253 inbound connections have timeoffset>0
<sipa> 2 have timeoffset>1
<sipa> those two are 30s and 3788s off
<jonatack> i've generally been -4 here per getnetworkinfo
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<_aj_> i have a 0.19.0.1 node that claims an offset of 1046 (17min) and a nodes.mom.market:0.2 (?) one that says -1795
<sipa> kanzure: gnusha.org logging off this channels seems to have stopped
<sipa> the 3788s off one is a /Satoshi:0.16.2/ node
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> i also have two nodes.mom.market connections that have timeoffsets -1794 and -1795, i think they made a coding mistake where they send the local time instead of utc
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] Eunoia1729 opened pull request #24803: linnt: convert submodule linter test to Python (master...lint-submodule-py) https://github.com/bitcoin/bitcoin/pull/24803
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<laanwj> though that's... half an hour, no, that wouldn't make sense
<lightlike> can you geolocate the ip, if they are from some place on earth with a weird 30min time zone?
<jonatack> yes ^^
brunoerg has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
<laanwj> it seems to be the same node, connected over ipv4 and ipv6, and it's in some datacenter in the Netherlands (UpCloud Ltd)
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> so no, no explanation
brunoerg has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
<laanwj> sipa: you probably want to use timeoffset!=0 in your query, not >0
<sipa> Oh, right.
<laanwj> (no, jq doesn't have an abs function)
rex4539 has quit [Ping timeout: 240 seconds]
<sipa> Sorry, my numbers above are totally off.
mudsip has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev
gnaf has quit [Quit: Konversation terminated!]
brunoerg has quit [Ping timeout: 260 seconds]
AaronvanW has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 248 seconds]
Kaizen_Kintsugi_ has quit [Read error: Connection reset by peer]
Kaizen_K_ has joined #bitcoin-core-dev
<jonatack> ₿ ./src/bitcoin-cli getpeerinfo | jq '.[] | select(.inbound) | select(.timeoffset!=0) | .timeoffset' | wc
<jonatack>      25      25      92
<jonatack> out of 45 (27 in, 18 out, node restarted an hour ago)
<jonatack> 3 out of 27 in
mudsip has quit []
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 240 seconds]
<jonatack> sorry, 25 out of 27 inbounds have timeoffset != 0
Kaizen_K_ has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
brunoerg has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 272 seconds]
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
rex4539 has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
sipsorcery has quit [Ping timeout: 248 seconds]
brunoerg has quit [Ping timeout: 260 seconds]
bomb-on has quit [Quit: aллилѹіа!]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
sipsorcery has joined #bitcoin-core-dev
Guest2 has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
AaronvanW has quit [Remote host closed the connection]
rex4539 has quit [Ping timeout: 240 seconds]
Guest2 has quit [Quit: Client closed]
sipsorcery has quit [Ping timeout: 240 seconds]
brunoerg has quit [Ping timeout: 248 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
brunoerg has joined #bitcoin-core-dev