___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Guyver2__ has quit [Remote host closed the connection]
___nick___ has joined #bitcoin-core-dev
___nick___ has quit [Client Quit]
john-moffett has quit [Remote host closed the connection]
___nick___ has joined #bitcoin-core-dev
Guest8 has joined #bitcoin-core-dev
andrewtoth_ has quit [Ping timeout: 255 seconds]
Guest8 has quit [Quit: Client closed]
szkl has joined #bitcoin-core-dev
scg has quit [Quit: Client closed]
aielima has quit [Quit: Ciao]
Yihen has joined #bitcoin-core-dev
Guest89 has joined #bitcoin-core-dev
Yihen has quit [Remote host closed the connection]
Yihen has joined #bitcoin-core-dev
Guest89 has quit [Quit: Client closed]
AaronvanW has quit [Remote host closed the connection]
jarthur has quit [Quit: jarthur]
b_101_ has joined #bitcoin-core-dev
b_101 has quit [Ping timeout: 268 seconds]
szkl has quit [Quit: Connection closed for inactivity]
SpellChecker has quit [Remote host closed the connection]
SpellChecker has joined #bitcoin-core-dev
Livestradamus has quit [Ping timeout: 246 seconds]
AaronvanW has joined #bitcoin-core-dev
Yihen has quit [Ping timeout: 260 seconds]
Yihen has joined #bitcoin-core-dev
Guest7 has joined #bitcoin-core-dev
Guest7 has quit [Client Quit]
Livestradamus has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 255 seconds]
Yihen has quit [Remote host closed the connection]
Yihen has joined #bitcoin-core-dev
bitdex has quit [Ping timeout: 255 seconds]
bitdex has joined #bitcoin-core-dev
jarthur has joined #bitcoin-core-dev
vasild_ has joined #bitcoin-core-dev
vasild has quit [Ping timeout: 255 seconds]
cmirror has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
AaronvanW has quit [Ping timeout: 252 seconds]
Norrin has joined #bitcoin-core-dev
as2333 has quit [Remote host closed the connection]
jarthur has quit [Quit: jarthur]
freesprung has joined #bitcoin-core-dev
bitdex has quit [Ping timeout: 255 seconds]
bitdex has joined #bitcoin-core-dev
dermoth has quit [Ping timeout: 252 seconds]
salvatoshi has joined #bitcoin-core-dev
dermoth has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke closed pull request #26154: refactor: Move coin_control variable to test setup section (master...move-coin-control-setup) https://github.com/bitcoin/bitcoin/pull/26154
Guyver2 has joined #bitcoin-core-dev
AaronvanW has joined #bitcoin-core-dev
EPiSKiNG- has quit [Ping timeout: 255 seconds]
larryruane has quit [Ping timeout: 255 seconds]
fjahr has quit [Ping timeout: 255 seconds]
schmidty_ has quit [Ping timeout: 255 seconds]
fjahr has joined #bitcoin-core-dev
larryruane has joined #bitcoin-core-dev
schmidty_ has joined #bitcoin-core-dev
EPiSKiNG- has joined #bitcoin-core-dev
sugarpuff has quit [Ping timeout: 255 seconds]
hebasto has quit [Ping timeout: 255 seconds]
sugarpuff has joined #bitcoin-core-dev
puchka has quit [Ping timeout: 252 seconds]
kinlo has quit [Quit: !]
hebasto has joined #bitcoin-core-dev
Guyver2 has quit [Remote host closed the connection]
Yihen has quit [Ping timeout: 255 seconds]
jespada has quit [Ping timeout: 252 seconds]
jespada has joined #bitcoin-core-dev
kinlo has joined #bitcoin-core-dev
stevenroose has quit [Quit: ZNC 1.8.2 - https://znc.in]
stevenroose has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake closed pull request #27095: Check for the awk script before executing it (master...check-awk) https://github.com/bitcoin/bitcoin/pull/27095
dermoth has quit [Ping timeout: 252 seconds]
sudoforge has joined #bitcoin-core-dev
dermoth has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] theStack opened pull request #27096: script: remove unused bitwise `CScriptNum` operators (master...202202-remove_unused_bitwise_ops_in_cscriptnum) https://github.com/bitcoin/bitcoin/pull/27096
<fanquake> Anyone want to backport-review in #26878 ?
<gribble> https://github.com/bitcoin/bitcoin/issues/26878 | [24.x] Backports by fanquake · Pull Request #26878 · bitcoin/bitcoin · GitHub
jespada_ has joined #bitcoin-core-dev
jespada has quit [Ping timeout: 248 seconds]
Guest74 has joined #bitcoin-core-dev
Guest74 has quit [Client Quit]
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/2c1fe27bf3c1...d6ef44cccbdf
<bitcoin-git> bitcoin/master e4e1790 Pieter Wuille: Modernize rpcauth.py and its tests
<bitcoin-git> bitcoin/master d6ef44c fanquake: Merge bitcoin/bitcoin#27081: Modernize rpcauth.py
<bitcoin-git> [bitcoin] fanquake merged pull request #27081: Modernize rpcauth.py (master...202302_modernize_rpcauth_py) https://github.com/bitcoin/bitcoin/pull/27081
puchka has joined #bitcoin-core-dev
aielima has joined #bitcoin-core-dev
<josie> I'm reading through some old discussions regarding obfuscating bitcoin data and while it was done for chainstate, it was never implemented for blocks. I haven't seen any objections to doing it on blocks in the discussions (aside from general objections to obfuscating the any data to begin with), but perhaps I'm missing something. Was there a reason it was never done for blocks?
<josie> s/the any data/any data/
<darosior> josie: maybe that blk files are large enough they aren't scanned? https://github.com/bitcoin/bitcoin/issues/4069#issuecomment-40898303 Dunno if that still holds
Norrin has quit [Remote host closed the connection]
<josie> darosior: that seems to be the original reason for not including blk files when this was mainly about getting around AV scans. for me, I was thinking more in the context of people putting illegal content into the witness data, but given the fact that's been possible for awhile and hasn't caused any issues that I'm aware of, perhaps it doesn't matter?
<josie> on the other hand, if obfuscating blk data would help avoid some annoying headaches and there aren't technical objections, seems like it would be a nice to have
<darosior> Yeah i don't know about previous discussions, nor have i thought if it's worth doing something about it, but i can see how it can be an issue if our nodes start storing -say- child porn ordinals..
Guyver2 has joined #bitcoin-core-dev
<josie> given that storing arbitrary has been possible for awhile and no one has reported having issues, I'm inclined to think I'm missing something and this is a non-issue. But if not, seems worth having a discussion about
Norrin has joined #bitcoin-core-dev
Guest80 has joined #bitcoin-core-dev
Guest80 has quit [Client Quit]
Guyver2 has left #bitcoin-core-dev [Closing Window]
sahil has joined #bitcoin-core-dev
Norrin has quit [Ping timeout: 255 seconds]
<sipa> I believe the original reason was that big files weren't scanned by antivirus software, but maybe we should just do it anyway.
Norrin has joined #bitcoin-core-dev
bitdex has quit [Quit: = ""]
<josie> sipa: only downside that I can think of is breaking software that parses the blk.dat files directly, but afaict that's not a use case core has ever guaranteed support for
<sipa> yeah, and it will prevent downgrading
<josie> sipa: but isn't downgrading already an issue due to the chainstate db being obfuscated?
<sipa> i mean: it will prevent downgrading from a version post-blockfile-obfuscation to a version pre-blockfile-obfuscation
<sipa> presumably a similar issue existed when chainstate obfuscation was introduced, but that's not relevant anymore now
<josie> yeah, that's what I was trying to say: this isn't a new issue because we are doing blocks specifically. if you wanted to downgrade, you would download an older client and redo IBD, right?
<sipa> another option is only doing block obfuscation for new installs
<sipa> or reindexes
<josie> seems reasonable, that way it would be piggybacking off an already expensive operation
yanmaani has quit [Ping timeout: 255 seconds]
<bitcoin-git> [bitcoin] SomberNight opened pull request #27097: descriptors: fix docstring (param [in] vs [out]) (master...20230214_desc_docstring) https://github.com/bitcoin/bitcoin/pull/27097
sahil has quit [Ping timeout: 252 seconds]
yanmaani has joined #bitcoin-core-dev
hg has joined #bitcoin-core-dev
sahil has joined #bitcoin-core-dev
bugs_ has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake opened pull request #27098: refactor: don't avoid sys/types.h on when building for Windows (master...windows_can_use_sys_types) https://github.com/bitcoin/bitcoin/pull/27098
andrewtoth_ has joined #bitcoin-core-dev
<andrewtoth_> If we are going to touch the blk.dat format, could we also add crcs to them? See https://github.com/bitcoin/bitcoin/pull/13151#issuecomment-386037456
<sipa> I think there are much better checksums than CRCs available if we need one.
<sipa> CRCs are great at detecting single-bit errors, but relatively slow to compute absent specific hardware acceleration
<andrewtoth_> Interesting thanks. Any specific checksums you would recommend I should research?
<sipa> even siphash is faster than a CRC, and that's a cryptographic-quality hash (apart from its length)
<sipa> there are some non-cryptographic super fast ones
<andrewtoth_> leveldb uses crc32c, so I thought it would be easy to reuse that since it's already in our codebase
<sipa> yeah, and on systems with hardware acceleration for crcs, that library will exploit it, and be very fast
<andrewtoth_> I see but if we were to use one for blk.dat, we can pick one that is faster without hardware acceleration.
<sipa> Possibly. It's worth e.g. trying a few and benchmarking on varied hardware (e.g. including raspberry pis and similar hardware, which seem popular for bitcoin nodes)
<andrewtoth_> ok thanks
<fanquake> I wonder how crazy would it be to deprecate / remove our libconsensus library
<fanquake> Does anyone know how much real world use it actually sees?
<sipa> probably not much, as the PR for adding taproot support was never merged iirc
<fanquake> I have been waiting for someone to report the fact that the Windows DLL has been broken for ~1 year, but it still hasn't happned
<fanquake> Yea, and the macOS lib didn't even export any symbols for some period. That went unnoticed for a while.
<willcl_ark> The (maintained) fork of python-bitcoinlib is using it: https://github.com/Simplexum/python-bitcointx/blob/master/bitcointx/core/bitcoinconsensus.py#L147 but I've not come across much else personally.
<jonatack> pinheadmz: regarding your python quotes style question at https://www.erisian.com.au/bitcoin-core-dev/log-2023-02-13.html#l-180, there is https://black.readthedocs.io, an (opinionated) python linter that i run on my changes to see what it suggests, even though we don't follow all of it.
<bitcoin-git> [bitcoin] fanquake opened pull request #27099: build: produce a .zip for macOS distribution (master...macdeploy_use_zip) https://github.com/bitcoin/bitcoin/pull/27099
sahil has quit [Quit: Leaving]
PaperSword has quit [Ping timeout: 246 seconds]
andrewtoth_ has quit [Remote host closed the connection]
andrewtoth_ has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] MarcoFalke opened pull request #27100: ci: Add CLA bot (master...2302-cla-bot-📈) https://github.com/bitcoin/bitcoin/pull/27100
aielima has quit [Ping timeout: 255 seconds]
aielima has joined #bitcoin-core-dev
dzxzg has joined #bitcoin-core-dev
sugarpuff has quit [Ping timeout: 255 seconds]
sugarpuff has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d6ef44cccbdf...af49d86dd740
<bitcoin-git> bitcoin/master fa9ec7b MarcoFalke: test: Fix intermittent sync issue in wallet_pruning
<bitcoin-git> bitcoin/master af49d86 fanquake: Merge bitcoin/bitcoin#27093: test: Fix intermittent sync issue in wallet_p...
<bitcoin-git> [bitcoin] fanquake merged pull request #27093: test: Fix intermittent sync issue in wallet_pruning (master...2302-test-sync-int-🥈) https://github.com/bitcoin/bitcoin/pull/27093
SpellChecker has quit [Remote host closed the connection]
dzxzg has quit [Quit: Client closed]
SpellChecker has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/af49d86dd740...fb2f0934799a
<bitcoin-git> bitcoin/master 588fad8 SomberNight: descriptors: fix docstring (param [in] vs [out])
<bitcoin-git> bitcoin/master fb2f093 fanquake: Merge bitcoin/bitcoin#27097: descriptors: fix docstring (param [in] vs [ou...
<bitcoin-git> [bitcoin] fanquake merged pull request #27097: descriptors: fix docstring (param [in] vs [out]) (master...20230214_desc_docstring) https://github.com/bitcoin/bitcoin/pull/27097
salvatoshi has quit [Ping timeout: 252 seconds]
sudoforge has quit [Ping timeout: 252 seconds]
dzxzg has joined #bitcoin-core-dev
<brunoerg> is there an easy way to read data from msgs_recv{sent}.dat?
<theStack> brunoerg: ./contrib/message-capture/message-capture-parser.py could help you
<brunoerg> theStack: thank you!
jarthur has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
<bitcoin-git> [gui] hebasto opened pull request #711: refactor: Disable unused special members functions in `UnlockContext` (master...230214-unlock) https://github.com/bitcoin-core/gui/pull/711
as2333 has joined #bitcoin-core-dev
martin_1 has joined #bitcoin-core-dev
yanmaani has quit [Ping timeout: 255 seconds]
sudoforge has joined #bitcoin-core-dev
yanmaani has joined #bitcoin-core-dev
gnusha_ has quit [Ping timeout: 252 seconds]
<bitcoin-git> [bitcoin] pinheadmz opened pull request #27101: Support JSON-RPC 2.0 when requested by client (master...jsonrpc-2.0) https://github.com/bitcoin/bitcoin/pull/27101
gnusha has joined #bitcoin-core-dev
grndslm has quit [Ping timeout: 255 seconds]
grndslm has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
roze_paul has joined #bitcoin-core-dev
Talkless has quit [Quit: Konversation terminated!]
vasild_ has quit [Ping timeout: 255 seconds]
vasild has joined #bitcoin-core-dev
roze_paul has quit [Remote host closed the connection]
Norrin has quit [Remote host closed the connection]
aielima has quit [Quit: Ciao]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
dzxzg has quit [Quit: Client closed]
___nick___ has quit [Ping timeout: 255 seconds]
Norrin has joined #bitcoin-core-dev
<jamesob> anyone ever try and generate negative CScriptNums in the functional test framework? I'm finding that bitcoind doesn't recognize them and I'm trying to figure out if there's something wrong about the way the func tests encode CScript([-50]), say.
<jamesob> nevermind, operator error
<_aj_> jamesob: you need to use CScriptNum to encode numbers, not just pass them into CScript directly?
salvatoshi has joined #bitcoin-core-dev
hsmiths has quit [Quit: hsmiths]
hsmiths has joined #bitcoin-core-dev
Guest2943 has joined #bitcoin-core-dev
martin_1 has quit [Ping timeout: 252 seconds]
Guest2943 has quit [Quit: Ping timeout (120 seconds)]
hg has quit [Quit: WeeChat 3.8]
bugs_ has quit [Quit: Leaving]
martin_1 has joined #bitcoin-core-dev
grndslm has quit [Ping timeout: 255 seconds]
grndslm has joined #bitcoin-core-dev
salvatoshi has quit [Ping timeout: 255 seconds]
AaronvanW has quit [Quit: Leaving...]
sudoforge has quit [Quit: 404]
martin_1 has quit [Ping timeout: 255 seconds]
dzxzg has joined #bitcoin-core-dev
<bitcoin-git> [bitcoin] achow101 pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/fb2f0934799a...576e16e7026f
<bitcoin-git> bitcoin/master 7726712 Sebastian Falbesoner: test: p2p: check that headers message with invalid proof-of-work disconnec...
<bitcoin-git> bitcoin/master 576e16e Andrew Chow: Merge bitcoin/bitcoin#26184: test: p2p: check that headers message with in...
<bitcoin-git> [bitcoin] achow101 merged pull request #26184: test: p2p: check that headers message with invalid proof-of-work disconnects peer (master...202209-test-check_for_invalid_pow_headers_msg) https://github.com/bitcoin/bitcoin/pull/26184