cotsuka has quit [Remote host closed the connection]
cotsuka has joined #bitcoin-core-dev
hernanmarino has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
<hebasto>
if make the size of CScriptCheck smaller to fit a CPU cache line, could it improve CCheckQueue performance?
mudsip has joined #bitcoin-core-dev
<sipa>
i doubt that
<sipa>
the cost of performing a script check is orders of magnitude more than a cpu cache miss
<hebasto>
fair enough
mudsip has quit [Client Quit]
<jamesob>
hebasto: on the other hand, if you can reduce the size of the CCoinsCacheEntry in memory...
<hebasto>
jamesob: it is 56 bytes on x86_64 system and I believe it fits a cpu cache line on most modern systems, or did I miss your point?
<luke-jr>
I think the point is that the smaller it gets, the more we can cache
<jamesob>
luke-jr got it
<jamesob>
I remember martinus had been playing around with field ordering to try and compress the size, can't remember if that went anywhere
<jamesob>
#17060
<gribble>
https://github.com/bitcoin/bitcoin/issues/17060 | Cache 26% more coins: Reduce CCoinsMap::value_type from 96 to 76 bytes by martinus · Pull Request #17060 · bitcoin/bitcoin · GitHub
Guest12 has joined #bitcoin-core-dev
hernanmarino has joined #bitcoin-core-dev
abubakarsadiq has quit [Quit: Connection closed for inactivity]
test_ has joined #bitcoin-core-dev
flooded has quit [Ping timeout: 245 seconds]
sr_gi[m] has joined #bitcoin-core-dev
sr_gi[m] has quit [Quit: Reconnecting]
sr_gi[m] has joined #bitcoin-core-dev
Robert48 has joined #bitcoin-core-dev
<sipa>
that's about CCoinsMap, not CScriptCheck
<sipa>
if you can shrink memory usage of CCoinsMap, please by all means
<sipa>
because size in memory matters there; for CScriptCheck it really doesn'ty
<grndslm>
just paid an exorbitant amount of money to move some funds around today (partially my fault for not organizing UTXO set better, partially getting ripped off by the sender wanting to guaranteee the Tx is in the next block, when i had ZERO priority)... but still.... there is a solution!!
<grndslm>
Does defining dust require consensus change?
<Murch[m]>
the dust limit only applies to the amounts in the outputs
<grndslm>
Tx & TxFee? Or just Tx & Tx-nonspent??
<grndslm>
Or all of the above?
<Murch[m]>
I’m not sure I understand what you are asking, but I have the impression that we have different understanding of what "dust" is. Perhaps check out https://bitcoin.stackexchange.com/a/41082/5406. Did you experience a transaction that used an unexpectedly high number of inputs?
<grndslm>
i'm referring to the spam attack, of course... which is what's creating the high fee environment in the first place
AaronvanW has quit [Quit: Leaving...]
<grndslm>
believe i read something like ~50% of all UTXOs were claimed to be non-spendable...
<grndslm>
that is dust
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
<Murch[m]>
This channel is about development of the Bitcoin Core software, if you want to report a bug in Bitcoin Core, please file an issue on github: https://github.com/bitcoin/bitcoin. If you have a question about a transaction you created, it’s probably better directed at bitcoin.stackexchange.com. If you are looking to discuss the current blockspace market, please keep it to twitter, reddit, stackernews or some other forum where that is
<Murch[m]>
on-topic.
<grndslm>
i offered a code concept for development
<grndslm>
if (3Tx < TxFee) {isDust = True;}
<grndslm>
if someone is paying more than 3x for the TxFee than the Tx itself.... it's spam/dust (same thing)
<grndslm>
it's a NON-STD Tx
<Murch[m]>
I see. I don’t think that particular criteria is sufficient. This could for example also match a child transaction that reprioritizes a particularly large parent transaction per CFPP. Again, this channel is for Bitcoin Core development, not for crackerbarrel discussions.
<grndslm>
is there a certain ratio that would seem reasonable to exclude only non-std Txs?? 4x greater TxFee than Tx? 6x? 10x?
Robert48 has quit [Quit: Client closed]
<grndslm>
everyone seems to believe that there's no solution to BRC-20 tokens... but when they're paying 20x TxFee relative to the Tx UTXO itself.... it seems like an easy solution to me.
<Murch[m]>
Your idea could do with a few more iterations of maturation. I’m happy to explain the issues with your idea further, if you start a topic on Bitcoin Stack Exchange or Stacker News.—It’s not on-topic here though, so take it elsewhere.
<grndslm>
i guess i just need to look at the code for hours, since i don't know what's in all these headers, don't have a clue about witness, OP_scripting, etc.... but thanks for the validation
henmeh has quit [Quit: Leaving]
<grndslm>
// "Dust" is defined in terms of dustRelayFee,
<grndslm>
// which has units satoshis-per-kilobyte.
<grndslm>
// If you'd pay more in fees than the value of the output
<grndslm>
// to spend something, then we consider it dust.
Talkless has quit [Quit: Konversation terminated!]
<bitcoin-git>
[bitcoin] brunoerg opened pull request #29172: fuzz: set `nMaxOutboundLimit` in connman target (master...2024-fuzz-connman-maxuploadtarget) https://github.com/bitcoin/bitcoin/pull/29172
Guest44 has joined #bitcoin-core-dev
Guest44 has quit [Client Quit]
zato has quit [Quit: Om mani padme hum]
brunoerg has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
Guest82 has joined #bitcoin-core-dev
Guest82 has quit [Client Quit]
brunoerg has quit [Ping timeout: 252 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 268 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 252 seconds]
jonatack has joined #bitcoin-core-dev
boris has joined #bitcoin-core-dev
boris- has quit [Ping timeout: 245 seconds]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
rbatty has quit [Quit: rbatty]
Guest12 has quit [Quit: Client closed]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 260 seconds]
kevkevin has quit [Remote host closed the connection]
preimage has quit [Quit: WeeChat 4.1.1]
DarrylTheFish has quit [Ping timeout: 276 seconds]
vasild has quit [Ping timeout: 240 seconds]
vasild has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
bugs_ has quit [Quit: Leaving]
kevkevin has joined #bitcoin-core-dev
bitdex has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]