rex4539 has quit [Ping timeout: 276 seconds]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
kinlo has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
rex4539 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
mikehu44 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rex4539 has joined #bitcoin-core-dev
vysn has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
rex4539 has quit [Ping timeout: 276 seconds]
grettke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rex4539 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
grettke has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
bomb-on has quit [Quit: aллилѹіа!]
brunoerg has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
rex4539 has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
rex4539 has quit [Ping timeout: 276 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
kinlo has joined #bitcoin-core-dev
jarthur_ has joined #bitcoin-core-dev
jarthur has quit [Ping timeout: 250 seconds]
grettke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
rex4539 has joined #bitcoin-core-dev
grettke has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
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: 256 seconds]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
brunoerg has joined #bitcoin-core-dev
sudoforge has quit [Ping timeout: 256 seconds]
cmirror has quit [Ping timeout: 256 seconds]
boxframes has joined #bitcoin-core-dev
mikehu44 has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 256 seconds]
rex4539 has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
rex4539 has quit [Ping timeout: 276 seconds]
<laanwj> the bitcoin core release key expires soon, i guess i'll have to bump it one more time as there may still be a <22.0 release
szkl has quit [Quit: Connection closed for inactivity]
<laanwj> there's will also be issues with verifying old relelases after it expires, gpg's lack of a concept of "it was valid at the time of signing" continues to be a problem, just like with commit signing
sipsorcery has joined #bitcoin-core-dev
<laanwj> i could remove the expiration date completely but otoh i kind of like it to expire, because it sends the right signal that it won't be used in the future, and in the hypothetical case someone uses it for new releases it shouldn't be trusted
rex4539 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
jonatack has quit [Quit: Ping timeout (120 seconds)]
brunoerg has quit [Ping timeout: 250 seconds]
noonien has quit [Ping timeout: 250 seconds]
brunoerg has joined #bitcoin-core-dev
Guyver2 has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
boxframes has quit [Ping timeout: 240 seconds]
Guyver2 has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has quit [Ping timeout: 256 seconds]
AaronvanW has joined #bitcoin-core-dev
sipsorcery has quit [Ping timeout: 240 seconds]
Guyver2 has joined #bitcoin-core-dev
dviola has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] hebasto opened pull request #24288: build, refactor: Drop redundant `$(package)_download_file` assignments (master...220208-filename) https://github.com/bitcoin/bitcoin/pull/24288
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
sipsorcery has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
jonatack has joined #bitcoin-core-dev
mutatrum has quit [Quit: No Ping reply in 180 seconds.]
mutatrum has joined #bitcoin-core-dev
boxframes has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
<provoostenator> laanwj: do you have an example of git commit for which the key expired?
brunoerg has quit [Ping timeout: 256 seconds]
boxframes has quit [Quit: Leaving]
Saloframes has joined #bitcoin-core-dev
kexkey has quit [Ping timeout: 256 seconds]
kexkey has joined #bitcoin-core-dev
Saloframes has quit [Changing host]
Saloframes has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
<laanwj> provoostenator: no, not really, but i remember this being a topic of discussion in the past
Guest45 has joined #bitcoin-core-dev
<Guest45> Здравсвуйте!
<provoostenator> Ok, git help verify doesn't mention the behavior around expired keys
<laanwj> it rejects signatures when gpg does, does nothing special around expiry
<Guest45> Help restore access to the wallet
<provoostenator> Well it was sane, it would ignore expiration depending on the age of the commit. But I guess that might put too much trust in the commit timestamp.
<provoostenator> OpenTimeStamps to the rescue?
Guest45 has quit [Quit: Client closed]
dougefish has quit [Ping timeout: 260 seconds]
<provoostenator> #23790 should be marked for 0.23 imo (and there is a fix in the GUI repo)
<gribble> https://github.com/bitcoin/bitcoin/issues/23790 | qt, wallet: wallet does not lock after first send · Issue #23790 · bitcoin/bitcoin · GitHub
<provoostenator> Uhh, for 23.0
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<laanwj> added milestone
sheb_ has quit [Quit: Leaving]
Kaizen_Kintsugi_ has quit [Ping timeout: 245 seconds]
bomb-on has joined #bitcoin-core-dev
vasild has quit [Remote host closed the connection]
vasild has joined #bitcoin-core-dev
<laanwj> provoostenator: right, blindly trusting the commit timestamp would be a bad idea; at the least it would have to look at the ordering of the commits too, although timestamps aren't necessarily monotonically increasing (e.g. some old commits might get merged sometimes), they should be between merge commits though
<laanwj> provoostenator: re: opentimestamps there was some discussion here https://github.com/bitcoin/bitcoin/pull/22768#issuecomment-925836462
otoburb_ is now known as otoburb
yanmaani has quit [Ping timeout: 276 seconds]
<laanwj> there isn't even a command line option to tell gpg to 'verify the signature as if it is this other date', would have to use faketime right now
<laanwj> i'm surprised there's not something like that in the infamous labyrinth of obscure options that gnupg has
bfsfhkacjzgcytf has quit [Quit: Ping timeout (120 seconds)]
<_aj_> laanwj: apt-get install faketime ? :)
bfsfhkacjzgcytf has joined #bitcoin-core-dev
yanmaani has joined #bitcoin-core-dev
<laanwj> sure, just that using a shared library interposer hack seems overkill for something like that
rex4539 has quit [Ping timeout: 276 seconds]
dougefish has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 4 commits to master: https://github.com/bitcoin/bitcoin/compare/eca694a4e78d...87b5b002ad1d
<bitcoin-git> bitcoin/master fa4b619 MarcoFalke: test: Remove unused valgrind suppressions
<bitcoin-git> bitcoin/master faccb2d MarcoFalke: test: Exclude broken feature_init for now
<bitcoin-git> bitcoin/master fa086d8 MarcoFalke: test: Properly skip feature_syscall_sandbox in valgrind
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #24259: test: Remove unused valgrind suppressions (master...2202-v) https://github.com/bitcoin/bitcoin/pull/24259
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitdex has quit [Quit: = ""]
rex4539 has quit [Ping timeout: 276 seconds]
geyaeb has quit [Ping timeout: 276 seconds]
geyaeb has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
AaronvanW has quit [Quit: Leaving...]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/87b5b002ad1d...8afcc89a8f96
<bitcoin-git> bitcoin/master 8afcc89 fanquake: Merge bitcoin/bitcoin#24282: docs: Move explanation of hardened key syntax...
<bitcoin-git> bitcoin/master bac30e8 Bitcoin Hodler: docs: Move explanation of hardened key syntax closer to KEY section
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake merged pull request #24282: docs: Move explanation of hardened key syntax closer to KEY section (master...doc-fix-hardened-descriptors) https://github.com/bitcoin/bitcoin/pull/24282
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
brunoerg has quit [Remote host closed the connection]
vysn has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/8afcc89a8f96...8edb0416dd4a
<bitcoin-git> bitcoin/master b9c113a Hennadii Stepanov: util: Avoid buggy std::filesystem:::create_directories() call
<bitcoin-git> bitcoin/master 8edb041 MarcoFalke: Merge bitcoin/bitcoin#24266: util: Avoid buggy std::filesystem:::create_di...
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #24266: util: Avoid buggy std::filesystem:::create_directories() call (master...220204-dirs) https://github.com/bitcoin/bitcoin/pull/24266
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> bitcoin/master 99de806 Vasil Dimov: validation: use stronger EXCLUSIVE_LOCKS_REQUIRED()
<bitcoin-git> bitcoin/master 280a777 MarcoFalke: Merge bitcoin/bitcoin#24235: validation: use stronger EXCLUSIVE_LOCKS_REQU...
<bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/8edb0416dd4a...280a7777d3a3
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke merged pull request #24235: validation: use stronger EXCLUSIVE_LOCKS_REQUIRED() (master...followup_to_24103) https://github.com/bitcoin/bitcoin/pull/24235
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
rex4539 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 256 seconds]
rex4539 has quit [Ping timeout: 276 seconds]
brunoerg has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
<achow101> gpg has a --faked-system-time option, although the docs say it's for testing only
Guyver2 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
Guyver2 has left #bitcoin-core-dev [#bitcoin-core-dev]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke opened pull request #24291: build: Remove libboost-test-dev depencency when --enable-fuzz (master...2202-fuzzNoBoost) https://github.com/bitcoin/bitcoin/pull/24291
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
<sipa> We could run gpg with libfaketime :D
rottenstonks has quit [Ping timeout: 250 seconds]
rottenstonks has joined #bitcoin-core-dev
Guest7 has joined #bitcoin-core-dev
Guest7 has quit [Client Quit]
sudoforge has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
gleb7454386 has quit [Ping timeout: 256 seconds]
gleb74543862 has joined #bitcoin-core-dev
sdfgsdfg has quit [Quit: ayo yoyo ayo yoyo hololo, hololo.]
rex4539 has quit [Ping timeout: 276 seconds]
javi404_ is now known as javi404
rex4539 has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
sipsorcery has quit [Remote host closed the connection]
sipsorcery has joined #bitcoin-core-dev
vysn has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Remote host closed the connection]
bairen has quit [Ping timeout: 276 seconds]
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
<dongcarl> Basically bitcoin-chainstate is a binary that, upon invocation with a datadir path as the first argument, will load the datadir, print out information about it, then wait for blocks (encoded in hex) on stdin to call ProcessNewBlock on. THE PROBLEM is that when I start with an empty datadir, and feed it block 1 and block 2, then exit, the next time
<dongcarl> I start the binary, it doesn't seem to know about the new blocks (the height is still 0): https://paste.sr.ht/~dongcarl/fa4dfc1f2974003fcb3201f48b953ba8d834eb3b
<dongcarl> I'm wondering if I'm missing something w/re persistence?
brunoerg has quit [Remote host closed the connection]
sipsorcery has quit [Remote host closed the connection]
sipsorcery has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
<cfields> dongcarl: dumb question to start: i assume the blocks actually get flushed to disk by the first invocation?
<cfields> rather, I assume you've checked? :p
<dongcarl> cfields: Hmmm, the blocks dir gets created when I start the program, but I'm not sure if the blocks actually makes it to the disk...
vysn has quit [Ping timeout: 250 seconds]
<dongcarl> let me double check
<ryanofsky> yeah you should make sure FlushStateToDisk is called
<dongcarl> ryanofsky: Hmmm I think it's called by ProcessNewBlock?
<dongcarl> It seems like after ProcessNewBlock is called, the rev file is created, so at least that is being persisted
<ryanofsky> idk, that's just where i'd add the print or breakpoint as a sanity check
<dongcarl> ryanofsky: True, I will try that out
<sipa> blk and rev files are written immediately during processing
<sipa> but block index and chainstate are delayed
<dongcarl> sipa: Hmmmm, is the tip loaded from blk files or something else?
brunoerg has quit [Remote host closed the connection]
<sipa> mapBlockIndex is loaded from the block index
brunoerg has joined #bitcoin-core-dev
<sipa> the blk files aren't used for anything except reading actual block contents from fisk
<sipa> disk
<dongcarl> Okay I see, so I need to make sure I'm flushing the block index and chainstate
<ryanofsky> grep DB_BEST_BLOCK
<sipa> Yes, if you're not flushing, there is no database, and without database you're at restart back to the same state you were before syncing.
<dongcarl> ryanofsky: Isn't that only relevant for external indexes?
<ryanofsky> No external indexes are not exactly in sync with validation code, and have their own independent best block locators
<sipa> the chainstate has a record that says "i correspond to the utxo set as of block X"
<sipa> i assume that's what ryan is referring to
<ryanofsky> yeah i'm referring to the best block in txdb.cpp, not anything in indexes/
<dongcarl> Oh okay there's a variable named DB_BEST_BLOCK in index/base.cpp as well so I got confused
<dongcarl> it seems like FlushStateToDisk does take care of flushing the block index and chainstate, so perhaps it's the FlushStateMode that I need to worry about
<dongcarl> My debugger says that after I feed the block, FlushStateToDisk gets called 3 time: once with NONE, then with IF_NEEDED, then with PERIODIC
<dongcarl> I'm guessing none of those 3 FlushStateModes actually resulted in a real flush
<jnewbery> dongcarl: have you seen ForceFlushStateToDisk()?
sipsorcery has quit [Ping timeout: 250 seconds]
<jnewbery> maybe try calling that in your prologue?
sipsorcery has joined #bitcoin-core-dev
<dongcarl> Ah, that indeed looks like the correct solution given that it's in Shutdown! 😅
brunoerg has quit [Remote host closed the connection]
<jnewbery> also, isn't it an epilogue? :)
* dongcarl ducks in shame
<cfields> that's at least the second time dongcarl has ducked in shame for that, heh.
<dongcarl> Huzzah! ForceFlushStateToDisk works!
<dongcarl> Thanks all!
<jnewbery> 🎉
<sipa> Every beginning is the end of something else.
<dongcarl> And every end, the beginning of something!
rex4539 has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
arik has joined #bitcoin-core-dev
___nick___ has joined #bitcoin-core-dev
rex4539 has quit [Ping timeout: 276 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke opened pull request #24292: Revert "ci: Run fuzzer task for the master branch only" (master...2202-ciFuzz) https://github.com/bitcoin/bitcoin/pull/24292
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
brunoerg has quit [Ping timeout: 268 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #bitcoin-core-dev
<jeremyrubin> friendly reminder, ##ctv-bip-review meeting in 2 minutes if you care to join!
brunoerg has joined #bitcoin-core-dev
Talkless has quit [Quit: Konversation terminated!]
brunoerg has quit [Ping timeout: 250 seconds]
rex4539 has joined #bitcoin-core-dev
NorrinRadd has joined #bitcoin-core-dev
NorrinRadd has quit [Client Quit]
NorrinRadd has joined #bitcoin-core-dev
NorrinRadd has quit [Ping timeout: 256 seconds]
bfsfhkacjzgcytf has quit [Ping timeout: 256 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #bitcoin-core-dev
___nick___ has quit [Ping timeout: 256 seconds]
mikehu44_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
mikehu44 has quit [Ping timeout: 256 seconds]
brunoerg has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
rex4539 has quit []
sdfgsdfg has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
rex4539 has joined #bitcoin-core-dev
rex4539 has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
noonien has joined #bitcoin-core-dev
noonien has quit [Client Quit]
brunoerg has quit [Ping timeout: 250 seconds]
AaronvanW has quit [Remote host closed the connection]
vysn has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 250 seconds]
AaronvanW has joined #bitcoin-core-dev
mikehu44_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bitdex has joined #bitcoin-core-dev
sipsorcery has quit [Ping timeout: 260 seconds]
bairen has joined #bitcoin-core-dev
NorrinRadd has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
NorrinRadd has quit [Ping timeout: 250 seconds]
brunoerg has quit [Ping timeout: 252 seconds]
bitcoin-git has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] luke-jr opened pull request #24293: (Refactor) QA: wallet_basic: Split wtx expected_fields over multiple lines to minimise merge conflicts (master...qa_wtx_expected_fields_lines) https://github.com/bitcoin/bitcoin/pull/24293
bitcoin-git has left #bitcoin-core-dev [#bitcoin-core-dev]
sdfgsdfg has quit [Quit: ayo yoyo ayo yoyo hololo, hololo.]