luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #bitcoin-core-dev
<robertspigler> I wouldn't use umbrel in production yet https://github.com/getumbrel/umbrel/blob/master/SECURITY.md
michagogo has quit [Quit: Connection closed for inactivity]
AaronvanW has quit [Remote host closed the connection]
AaronvanW has joined #bitcoin-core-dev
yanmaani has quit [Remote host closed the connection]
yanmaani has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 240 seconds]
sipsorcery has quit [Ping timeout: 252 seconds]
belcher has quit [Ping timeout: 252 seconds]
AaronvanW has joined #bitcoin-core-dev
belcher has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 248 seconds]
tripleslash has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
Yihen has joined #bitcoin-core-dev
Yihen has left #bitcoin-core-dev [#bitcoin-core-dev]
Yihen has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] ben-kaufman opened pull request #22775: rpc: Add option to list transactions from oldest to newest in `listtransactions` RPC command (master...listtransactions-set-order) https://github.com/bitcoin/bitcoin/pull/22775
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has quit [Ping timeout: 252 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/e9d6eb1b8071...a93e7a442250
<bitcoin-git> bitcoin/master 2f01903 Pieter Wuille: Avoid temporary vectors/uint256s in VerifyTaprootCommitment
<bitcoin-git> bitcoin/master a93e7a4 fanquake: Merge bitcoin/bitcoin#22748: refactor: Avoid temporary vectors/uint256s in...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #22748: refactor: Avoid temporary vectors/uint256s in VerifyTaprootCommitment (master...202108_xonlyspan) https://github.com/bitcoin/bitcoin/pull/22748
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has joined #bitcoin-core-dev
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 246 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] kallewoof opened pull request #22776: rpc/wallet: add optional transaction to getbalances (master...202108-getbalances-tx) https://github.com/bitcoin/bitcoin/pull/22776
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
grettke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> bitcoin/master c7048aa Pieter Wuille: Simplify SignTransaction precomputation loop
<bitcoin-git> [bitcoin] fanquake pushed 5 commits to master: https://github.com/bitcoin/bitcoin/compare/a93e7a442250...e826b22da252
<bitcoin-git> bitcoin/master addb9b5 Pieter Wuille: Improve comments in taproot signing logic
<bitcoin-git> bitcoin/master d8f4b97 Pieter Wuille: Remove default nHashTypeIn arguments to MutableTransactionSignatureCreator...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #22275: A few follow-ups for taproot signing (master...202106_taproot_sign_followup) https://github.com/bitcoin/bitcoin/pull/22275
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has quit [Ping timeout: 248 seconds]
vysn has joined #bitcoin-core-dev
dr_orlovsky has joined #bitcoin-core-dev
fanquake_ has joined #bitcoin-core-dev
ariard__ has joined #bitcoin-core-dev
andytosh1 has joined #bitcoin-core-dev
ariard has quit [*.net *.split]
andytoshi has quit [*.net *.split]
yakshaver has quit [*.net *.split]
dr-orlovsky has quit [*.net *.split]
gwillen has quit [*.net *.split]
fanquake has quit [*.net *.split]
yakshaver123 has joined #bitcoin-core-dev
fanquake_ is now known as fanquake
gwillen1 has joined #bitcoin-core-dev
stratospher_ has joined #bitcoin-core-dev
paairs has quit [*.net *.split]
chaotic_good_ has quit [*.net *.split]
takinbo has quit [*.net *.split]
Neojack- has quit [*.net *.split]
ravish0007 has quit [*.net *.split]
da2ce7 has quit [*.net *.split]
ravish0007 has joined #bitcoin-core-dev
chaotic_good has joined #bitcoin-core-dev
Neojack has joined #bitcoin-core-dev
takinbo has joined #bitcoin-core-dev
paairs has joined #bitcoin-core-dev
da2ce7 has joined #bitcoin-core-dev
grettke has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
vnogueira has quit [Ping timeout: 244 seconds]
AaronvanW has quit [Ping timeout: 248 seconds]
dr_orlovsky has quit [Quit: ZNC 1.8.0 - https://znc.in]
sipsorcery has joined #bitcoin-core-dev
huskycoding has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
huskycoding has quit [Client Quit]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/e826b22da252...58b559fab025
<bitcoin-git> bitcoin/master a381374 Jadi: net: do not advertise address where nobody is listening
<bitcoin-git> bitcoin/master 58b559f MarcoFalke: Merge bitcoin/bitcoin#20769: net: fixes #20657 - Advertised address where ...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #20769: net: fixes #20657 - Advertised address where nobody is listening (master...fixes-issue-20657) https://github.com/bitcoin/bitcoin/pull/20769
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
sipsorcery has quit [Ping timeout: 240 seconds]
AaronvanW has quit [Ping timeout: 240 seconds]
johnzwen- has quit [Quit: Leaving...]
johnzweng 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/58b559fab025...489beb39842f
<bitcoin-git> bitcoin/master a3b559c Shubhankar Gambhir: test: added test for disabled wallet
<bitcoin-git> bitcoin/master 489beb3 MarcoFalke: Merge bitcoin/bitcoin#22641: test: Split rpc_signmessage test for disabled...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #22641: test: Split rpc_signmessage test for disabled wallet (master...master) https://github.com/bitcoin/bitcoin/pull/22641
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
babasancheti has joined #bitcoin-core-dev
SpellChecker has quit [Remote host closed the connection]
SpellChecker has joined #bitcoin-core-dev
lkqwejhhgasdjhgn has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
Henrik has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 250 seconds]
johnzweng has quit [Quit: Leaving...]
johnzweng has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] jnewbery opened pull request #22777: net processing: don't request tx relay on feeler connections (master...2021-08-feeler-no-frelay) https://github.com/bitcoin/bitcoin/pull/22777
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] glozow closed pull request #22252: policy: Trim Packages when transaction with same txid exists in mempool (master...2021-06-mempool-matches) https://github.com/bitcoin/bitcoin/pull/22252
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
Henrik has quit [Quit: Textual IRC Client: www.textualapp.com]
Henrik has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 240 seconds]
Henrik has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dr-orlovsky has joined #bitcoin-core-dev
Henrik has joined #bitcoin-core-dev
jonatack has joined #bitcoin-core-dev
kabaum has joined #bitcoin-core-dev
kabaum_ has joined #bitcoin-core-dev
kabaum_ has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/489beb39842f...f6f7a12462b3
<bitcoin-git> bitcoin/master 6bb5470 nthumann: util: Check if specified config file cannot be opened
<bitcoin-git> bitcoin/master 127b460 nthumann: test: Check if specified config file cannot be opened
<bitcoin-git> bitcoin/master f6f7a12 MarcoFalke: Merge bitcoin/bitcoin#22622: util: Check if specified config file cannot b...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #22622: util: Check if specified config file cannot be opened (master...check_conf_file) https://github.com/bitcoin/bitcoin/pull/22622
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 246 seconds]
Guyver2 has joined #bitcoin-core-dev
babasancheti has quit [Quit: Client closed]
b10c has joined #bitcoin-core-dev
<laanwj> robertspigler: good to see at least they're honest about it--a web ui stack imports so many dependencies, through different package managers, etc, it's very hard to minimize the risk of a third-party compromise affecting the software supply chain
sipsorcery has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 250 seconds]
vysn has quit [Remote host closed the connection]
<laanwj> qt's dependendency management is delightfully dumb and simple in comparison
<fanquake> you're only one npm install away from downloading a malicious left-pad
Yihen has quit [Remote host closed the connection]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] jnewbery opened pull request #22778: net processing: Reduce resource usage for inbound block-relay-only connections (master...2021-02-tx-relay-init) https://github.com/bitcoin/bitcoin/pull/22778
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has joined #bitcoin-core-dev
muhblockchain has quit [Ping timeout: 248 seconds]
bitdex has quit [Ping timeout: 244 seconds]
Henrik has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Henrik has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 252 seconds]
<michaelfolkson> Has anyone in the past tried to add encryption to the RPC interface? Or is there a particular reason why that shouldn't be done?
<michaelfolkson> Couldn't find anything from a cursory PR search
grettke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sipa> there used to be!
<sipa> it was deleted because it's pointless complexity
<sipa> it's intended for communication with trusted, local software
<sipa> there is documentation on how to ssl wrap
<sipa> it
NorrinRadd has quit [Ping timeout: 248 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] Saibato opened pull request #407: bugfix: initialize IsHDEnabled correctly. (master...icon_update) https://github.com/bitcoin-core/gui/pull/407
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
AaronvanW has joined #bitcoin-core-dev
<michaelfolkson> sipa: Thanks
Randolf has joined #bitcoin-core-dev
videre_e has joined #bitcoin-core-dev
<videre_e> is it possible to do mining bitcoins on a nvidia card?
<Randolf> videre_e: This is the development channel. For mining questions, please ask in the #bitcoin-mining channel instead: /join #bitcoin-mining
Guyver2 has joined #bitcoin-core-dev
Henrik has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jonatack has joined #bitcoin-core-dev
vnogueira has joined #bitcoin-core-dev
<laanwj> bitcoind's control socket is supposed to be local-only, i wish we'd used a UNIX socket from the beginning (as clightning does)
<laanwj> and encryption is pointless when communicating to a local service, the OS can intercept everything anyhow
<laanwj> fanquake: unfortunately, rust has the same problem, i guess it's possible to use it without cargo almost everything uses that, it's possible to keep dependencies to a minimum but the indirect dep tree blows up fast
<Randolf> Is there a serious interest in adding UNIX sockets support?
<Randolf> I do like the idea of using this because it's more efficient -- I find with SMTP server milters that UNIX sockets perform better than TCP/IP connections (even through localhost).
<laanwj> i have some ancient PRs where i implemented UNIX socket support, it's easy for RPC at the server side, at the client side it is blocked on a libevent issue in libevent http, which is still not solved upstream
<laanwj> so we basically cannot do it, at least in bitcoin-cli, without some really ugly hacks around libevent
<Randolf> Yuck.
<Randolf> So this seems more like a libevent issue.
<laanwj> if you don't care about bitcoin-cli (e.g. use it from python) server-side might be enough thogh
<Randolf> Perhaps it should be implemented on the server-side anyway, and then eventually the cli could be fixed over time?
<laanwj> yes, i filed a PR to implement the necessary support in libevent but it was never merged
<Randolf> Which PR?
<laanwj> it's kind of an annoyance for me so i don't really want to go back to it
<Randolf> Oh.
<Randolf> I'm sorry to hear that.
<laanwj> feel free to pick it up ofc
<Randolf> Thanks.
<Randolf> I want to follow it, at least. I don't know if I can pick it up though as I'm not a seasoned C/C++ developer yet.
<laanwj> i did suggest doing only the server side at the time, but this made it controversial somehow
<laanwj> i'm actually really bad at getting my own PRs in open source projects merged
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] darosior opened pull request #22779: policy: correct (lower) the dust threshold for Taproot outputs (master...taproot_dust_limit) https://github.com/bitcoin/bitcoin/pull/22779
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<laanwj> another reason why i wish we had used it from the beginning because in that case, support for UNIX sockets in the HTTP lib would have been a hard requirement so we'd never have chosen libevent's in the first place-
<sipa> iirc, my suggestion at the time was just dropping libevent for bitcoin-cli, as bitcoind-compatible-httpd should be very simple to implement by hand :)
<sipa> of course, suggestions are easy if you don't follow up with code
<laanwj> i dread getting into implementing a HTTP client, it sounds easy in theory but also i have enough experience with the avalanche of inadvertent complexity involved in such projects by now
videre_e has left #bitcoin-core-dev [leave!]
<laanwj> can't we just use libcurl *ducks*
<Randolf> laanwj: Even with Qt5's libraries that take care of various tedious aspects of the implementation details, it's still hard (so I agree with you).
* Randolf laughs
<sipa> laanwj: a fully compliant HTTP client sounds terrible, but my point is that we don't actually need that, just something that's compatible with bitcoind. but also, i'm not actually volunteering to write this :)
<laanwj> sipa: yeah, true, it's just that we now have squashed most of the usability issues in bitcoin-cli (after the libevent switch), that would basically start over
<laanwj> most actual work will subtle things like error handling, timeouts, etc
<laanwj> then again, if someone wants to take this on, i'm not exactly stopping them
<Randolf> That doesn't sound like a minor undertaking.
<sipa> we could use boost::beast *ducks*
<laanwj> it doesn't, and seeing that it's not been picked up after so many years, it probably isn't really that much "serious interest" in it (the original question), just a would-be-nice thing
<laanwj> sipa: hah
<Randolf> Boost created so many problems for me that I avoid it as if it were the plague -- they keep breaking backward compatibility, and then on some systems it's not possible to run different software that each depend on versions of the Boost libraries that aren't compatible.
<sipa> i think our current effort is reducing boost usage to the extent possible to headers-only libraries
<sipa> which at least avoid all the runtime build/link/compatibility issues
<Randolf> I remember -- I was part of the meetings where that was decided.
<Randolf> As I recall, it wasn't a difficult decision.
<laanwj> right, the impulse has been to move away from boost, long, long ago it used boost::asio for the RPC socket it was one of the first things
<laanwj> there were a lot of stability issues and from what i remember it had a high overhead, there's zero chance of going back to that
<laanwj> libevent is good performance-wise but the HTTP library is very, very limited
<laanwj> but we deemed it'd be enough for our use for RPC (which is also quite limited)
<Randolf> Ah.
Henrik has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] MarcoFalke closed pull request #407: bugfix: initialize IsHDEnabled correctly. (master...icon_update) https://github.com/bitcoin-core/gui/pull/407
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<laanwj> which, everything considered, it mostly also is-we have run into some limitations around streaming data (without buffering it all in memory) and UNIX sockets
Henrik has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Guest65 has joined #bitcoin-core-dev
Randolf has quit [Quit: Leaving]
Guest65 has quit [Client Quit]
sipsorcery has quit [Ping timeout: 240 seconds]
sipsorcery has joined #bitcoin-core-dev
lkqwejhhgasdjhgn has quit [Quit: Konversation terminated!]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/f6f7a12462b3...dbcb5742c48f
<bitcoin-git> bitcoin/master 5d47860 Pieter Wuille: refactor: move CAddress-without-nTime logic to net_processing
<bitcoin-git> bitcoin/master 75290ae Pieter Wuille: Drop us=... message in net debug for sending version message
<bitcoin-git> bitcoin/master dbcb574 MarcoFalke: Merge bitcoin/bitcoin#20541: Move special CAddress-without-nTime logic to ...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #20541: Move special CAddress-without-nTime logic to net_processing (master...202012_addr_without_time_is_no_addr) https://github.com/bitcoin/bitcoin/pull/20541
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<theStack> could one of the maintainers take a look at #22565? with seven ACKs (including one by kallewoof, the original author of the script), this PR should be ripe for merging
<gribble> https://github.com/bitcoin/bitcoin/issues/22565 | [script] signets getcoins.py improvements by NikhilBartwal · Pull Request #22565 · bitcoin/bitcoin · GitHub
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke opened pull request #22780: doc: Remove incorrect INIT_PROTO_VERSION from nTime comment (master...2108-docFix) https://github.com/bitcoin/bitcoin/pull/22780
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
lightlike has joined #bitcoin-core-dev
<jonatack> 2021-08-23T17:08:07Z [opencon] ADDRMAN CONSISTENCY CHECK FAILED!!! err=-17 bitcoind: ./addrman.h:707: void CAddrMan::Check() const: Assertion `false' failed. Aborted
<jonatack> seeing addrman check failures for the first time, since the merge of #20541
<gribble> https://github.com/bitcoin/bitcoin/issues/20541 | Move special CAddress-without-nTime logic to net_processing by sipa · Pull Request #20541 · bitcoin/bitcoin · GitHub
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] Saibato opened pull request #22781: wallet: fix the behavior of IsHDEnabled, return false in case of a blank hd wallet. (master...fix_ishdenabled) https://github.com/bitcoin/bitcoin/pull/22781
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<jonatack> maybe it's just my peers.dat or a coincidence
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] laanwj pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/dbcb5742c48f...1bbe289f201c
<bitcoin-git> bitcoin/master b0c8246 NikhilBartwal: Add cleaner errors for unsuccessful faucet transactions
<bitcoin-git> bitcoin/master 1c612b2 NikhilBartwal: [script] Update signet getcoins.py for custom network
<bitcoin-git> bitcoin/master 1bbe289 W. J. van der Laan: Merge bitcoin/bitcoin#22565: [script] signet's getcoins.py improvements
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] laanwj merged pull request #22565: [script] signet's getcoins.py improvements (master...update_signet_getcoins) https://github.com/bitcoin/bitcoin/pull/22565
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke opened pull request #22782: Remove unused MaybeSetAddrName (master...2108-noMaybeSetAddrName) https://github.com/bitcoin/bitcoin/pull/22782
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] laanwj pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/1bbe289f201c...b1c4a4ed395e
<bitcoin-git> bitcoin/master b1c4a4e W. J. van der Laan: Merge bitcoin-core/gui#406: Handle new added plurals in bitcoin_en.ts
<bitcoin-git> bitcoin/master 2b3d8f3 Hennadii Stepanov: qt: Handle new added plurals in bitcoin_en.ts
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] laanwj merged pull request #406: Handle new added plurals in bitcoin_en.ts (master...210821-plurals) https://github.com/bitcoin-core/gui/pull/406
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] hebasto opened pull request #22783: build: Cleanup depends build system (master...210823-pkg) https://github.com/bitcoin/bitcoin/pull/22783
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<jonatack> hm, i haven't been able to reproduce the issue on the other chain, only on mainnet. but it's the first time the addrman check failed for me (five times out of five restarts) after a couple of months of running it
<jonatack> *chains
<jonatack> "2021-08-23T17:25:48Z [init] addrman lost 22813 new and 2 tried addresses due to collisions or invalid addresses"
<jonatack> it had been about a week since the previous restart
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] ShaMan239 opened pull request #408: Add missing mnemonics in menu bar options (master...mnemonic-shortcuts) https://github.com/bitcoin-core/gui/pull/408
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
sipsorcery has quit [Ping timeout: 240 seconds]
vysn has joined #bitcoin-core-dev
<jonatack> ok, addrman check failed again on restart after a fresh recreated peers.dat...will open an issue
<sipa> jonatack: by "check failed" do you mean consistency check, or that message about lost addresses above?
<jonatack> sipa: both, in succession
<jonatack> 2021-08-23T18:12:24Z [init] Bucketing method was updated, re-bucketing addrman entries from disk
<jonatack> 2021-08-23T18:12:24Z [init] addrman lost 2216 new and 0 tried addresses due to collisions or invalid addresses
<jonatack> 2021-08-23T18:14:06Z [opencon] Addrman checks started: new 10626, tried 16, total 10642
<jonatack> 2021-08-23T18:14:06Z [opencon] ADDRMAN CONSISTENCY CHECK FAILED!!! err=-17 bitcoind: ./addrman.h:707: void CAddrMan::Check() const: Assertion `false' failed. Aborted
<jonatack> (sorry for all the lines)
<sipa> jonatack: what codebase version?
<sipa> and it's actually a cleanly created peers.dat, or something from a possibly older version of the codebase?
<jonatack> sipa: first with a well-used peers.dat. a couple days ago i noticed that it strangely lost about 30k addresses. then today the check failed. i then renamed the corrupt peers.dat and restarted. all well. i then restarted a few minutes later. re-fail.
<jonatack> on current master dbcb5742c48f
<MarcoFalke> So it doesn't happen on previous master commits?
<jonatack> i was also testing #21879 rebased to master just before. let me reverify that it's not that.
<gribble> https://github.com/bitcoin/bitcoin/issues/21879 | Wrap accept() and extend usage of Sock by vasild · Pull Request #21879 · bitcoin/bitcoin · GitHub
<jonatack> will rinse and repeat
<sipa> jonatack: ok, let me know
<jonatack> MarcoFalke: am retrying on master and on, say, f5a406f003a0603251 from saturday
gleb7 has quit [Ping timeout: 252 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] ShaMan239 opened pull request #409: Fix window title of wallet loading window (master...wallet-window-title) https://github.com/bitcoin-core/gui/pull/409
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
Henrik has joined #bitcoin-core-dev
<jonatack> i've re-reproduced on current master and on saturday, now trying just before the addrman#clear change
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/b1c4a4ed395e...ec6db8e85838
<bitcoin-git> bitcoin/master faa5fa9 MarcoFalke: fuzz: Use LIMITED_WHILE instead of limit_max_ops
<bitcoin-git> bitcoin/master ec6db8e MarcoFalke: Merge bitcoin/bitcoin#22769: fuzz: Use LIMITED_WHILE instead of limit_max_...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #22769: fuzz: Use LIMITED_WHILE instead of limit_max_ops (master...2108-fuzzRefactor) https://github.com/bitcoin/bitcoin/pull/22769
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
gleb7 has joined #bitcoin-core-dev
<jonatack> update: the issue appears to be in one of the addrman#clear commits, e35c4a3 works, 4d2fa97 fails
<laanwj> jonatack: great catch!
<jonatack> laanwj: thanks! ok the issue begins appearing for me with 181a1207ba "[addrman] Move peers.dat parsing to init.cpp"
<laanwj> that's a pure code move-maybe something with initialization order?
nathanael has quit [Quit: connection reset by purr]
<jonatack> double checking; it's the *second* restart that sees the issue, so it's a bit weird
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] hebasto merged pull request #408: Add missing mnemonics in menu bar options (master...mnemonic-shortcuts) https://github.com/bitcoin-core/gui/pull/408
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> bitcoin/master d3203a9 Hennadii Stepanov: Merge bitcoin-core/gui#408: Add missing mnemonics in menu bar options
<bitcoin-git> [bitcoin] hebasto pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/ec6db8e85838...d3203a99d886
<bitcoin-git> bitcoin/master 7c33e3a Shashwat: qt: Add missing mnemonics in menu bar options
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<MarcoFalke> jonatack: The crash happens after "Loading P2P addresses…" or later?
Henrik has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<jonatack> re-reproduced 3 times at that commit.
<jonatack> 2021-08-23T19:18:27Z [init] init message: Loading P2P addresses…
<jonatack> 2021-08-23T19:18:27Z [init] Bucketing method was updated, re-bucketing addrman entries from disk
<jonatack> 2021-08-23T19:18:27Z [init] addrman lost 677 new and 0 tried addresses due to collisions or invalid addresses
<jonatack> 2021-08-23T19:18:27Z [init] Addrman checks started: new 5013, tried 8, total 5021
<jonatack> 2021-08-23T19:18:27Z [init] Addrman checks completed successfully
<jonatack> 2021-08-23T19:18:27Z [init] Loaded 5021 addresses from peers.dat 201m
<jonatack> -> the first check passes
nathanael has joined #bitcoin-core-dev
<MarcoFalke> Oh I found the issue. It is asmap related.
<MarcoFalke> jonatack: Are you using asmap?
<jonatack> yes
<jonatack> the second check fails after addcon thread start / opencon thread start
<MarcoFalke> The asmap must be loaded before addrman
<jonatack> ah. init order as laanwj suggested
<MarcoFalke> 181a1207ba made it load in the wrong order
<MarcoFalke> I won't be working on a fix (bed time)
<MarcoFalke> Unless it is still unfixed tomorrow, heh
<jonatack> makes sense. i'll have a look as i'm now used to reproducing it :D
sipsorcery has joined #bitcoin-core-dev
<jonatack> that explains why i was only seeing it on mainnet, too
grettke has joined #bitcoin-core-dev
<sipa> jonatack: nice catch
<sipa> loading asmap after loading addrman would explain it
<sipa> both the lost addresses and the consistency check
<jnewbery> jonatack: MarcoFalke: good catch. Thank you - I'll work on a fix tomorrow.
<jnewbery> I didn't realise that connman was reaching into addrman to modify its internal data after construction. I think the fix is to pass asmap as a parameter to addrman's ctor, set it in the intializer list and make it const.
<sipa> that sounds cleaner
<jnewbery> Eventually asmap probably shouldn't be part of addrman at all, but that can wait until later
<laanwj> while reviewing i noticed the ordering change but didn't realize this interaction was there
TheCharlatan has quit [Ping timeout: 240 seconds]
<jonatack> jnewbery: agree, improving separation and less reaching into other class internals will avoid future hard-to-spot issues
TheCharlatan has joined #bitcoin-core-dev
<jonatack> a test wouldn't have caught this unless it ran both -asmap and -checkaddrman...best to make the code cleaner
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [gui] benthecarman opened pull request #410: gui: Uppercase 'bitcoin:' in QR code URI (master...uppercase-uri) https://github.com/bitcoin-core/gui/pull/410
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
Guyver2_ has joined #bitcoin-core-dev
Guyver2 has quit [Read error: Connection reset by peer]
Guyver2_ is now known as Guyver2
sipsorcery has quit [Ping timeout: 240 seconds]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
sipsorcery has joined #bitcoin-core-dev
gene has joined #bitcoin-core-dev
grettke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ExEric3 has quit [Read error: Connection reset by peer]
ExEric3 has joined #bitcoin-core-dev
sipsorcery has quit [Ping timeout: 240 seconds]
sipsorcery has joined #bitcoin-core-dev
bitdex has joined #bitcoin-core-dev
grettke has joined #bitcoin-core-dev
b10c has quit [Quit: Connection closed for inactivity]
bitdex has quit [Remote host closed the connection]
bitdex has joined #bitcoin-core-dev
bomb-on has quit [Quit: aллилѹіа!]
sipsorcery has quit [Ping timeout: 240 seconds]
vysn has quit [Ping timeout: 240 seconds]
<robertspigler> laanwj: yes, refreshingly honest!
lightlike has quit [Quit: Leaving]
gene has quit [Quit: gene]