< bitcoin-git> [bitcoin] RandyMcMillan closed pull request #17214: build: update retry to current version (master...retry) https://github.com/bitcoin/bitcoin/pull/17214
< elichai2> Look at how they handle performance checks for PRs. I want this. https://github.com/rust-lang/rust/pull/64595
< bitcoin-git> [bitcoin] laanwj pushed 5 commits to master: https://github.com/bitcoin/bitcoin/compare/c5ac7af7793a...8a191148db3f
< bitcoin-git> bitcoin/master 8bba91b John Newbery: [wallet] Fix whitespace in CWallet::CommitTransaction()
< bitcoin-git> bitcoin/master b6f486a John Newbery: [wallet] Add doxygen comment to CWallet::CommitTransaction()
< bitcoin-git> bitcoin/master d1734f9 John Newbery: [wallet] Remove return value from CommitTransaction()
< bitcoin-git> [bitcoin] laanwj merged pull request #17154: wallet: Remove return value from CommitTransaction (master...2019-04-CommitTransaction) https://github.com/bitcoin/bitcoin/pull/17154
< bitcoin-git> [bitcoin] promag opened pull request #17237: wallet: LearnRelatedScripts only if KeepDestination (master...2019-10-wallet-reservedestination) https://github.com/bitcoin/bitcoin/pull/17237
< bitcoin-git> [bitcoin] laanwj pushed 6 commits to master: https://github.com/bitcoin/bitcoin/compare/8a191148db3f...b688b859dbb2
< bitcoin-git> bitcoin/master a1a07cf John Newbery: [validation] Fix peer punishment for bad blocks
< bitcoin-git> bitcoin/master 0053e16 John Newbery: [logging] Don't log REJECT code when transaction is rejected
< bitcoin-git> bitcoin/master e9d5a59 John Newbery: [validation] Remove REJECT code from CValidationState
< bitcoin-git> [bitcoin] laanwj merged pull request #17004: validation: Remove REJECT code from CValidationState (master...2019-09-no-reject-validation-state) https://github.com/bitcoin/bitcoin/pull/17004
< bitcoin-git> [bitcoin] laanwj pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/b688b859dbb2...205cffaf383c
< bitcoin-git> bitcoin/master 0fc81a1 Joao Barbosa: gui: Fix payAmount tooltip in SendCoinsEntry
< bitcoin-git> bitcoin/master 205cffa Wladimir J. van der Laan: Merge #17226: gui: Fix payAmount tooltip in SendCoinsEntry
< bitcoin-git> [bitcoin] laanwj merged pull request #17226: gui: Fix payAmount tooltip in SendCoinsEntry (master...2019-10-payamount-tooltip) https://github.com/bitcoin/bitcoin/pull/17226
< bitcoin-git> [bitcoin] MarcoFalke pushed 3 commits to master: https://github.com/bitcoin/bitcoin/compare/205cffaf383c...d53828cb7968
< bitcoin-git> bitcoin/master db4bd32 practicalswift: tests: Skip unnecessary fuzzer initialisation. Hold ECCVerifyHandle only w...
< bitcoin-git> bitcoin/master c2f964a practicalswift: tests: Remove Cygwin WinMain workaround
< bitcoin-git> bitcoin/master d53828c MarcoFalke: Merge #17235: tests: Skip unnecessary fuzzer initialisation. Hold ECCVerif...
< bitcoin-git> [bitcoin] MarcoFalke merged pull request #17235: tests: Skip unnecessary fuzzer initialisation. Hold ECCVerifyHandle only when needed. (master...fuzz-initialize-when-needed) https://github.com/bitcoin/bitcoin/pull/17235
< bitcoin-git> [bitcoin] sandakersmann closed pull request #17166: doc: Changed miniupnp links to https (master...patch-1) https://github.com/bitcoin/bitcoin/pull/17166
< bitcoin-git> [bitcoin] sandakersmann opened pull request #17239: doc: Changed miniupnp links to https (master...patch-1) https://github.com/bitcoin/bitcoin/pull/17239
< ryanofsky> can add ariard pr #15931 to high priority reviews? first in a series of changes to make wallet sync code sane and nonblocking
< gribble> https://github.com/bitcoin/bitcoin/issues/15931 | Remove GetDepthInMainChain dependency on locked chain interface by ariard . Pull Request #15931 . bitcoin/bitcoin . GitHub
< bitcoin-git> [bitcoin] fanquake closed pull request #17054: [0.18.2] Backport of #15706 (0.18...check-qt-version-0.18) https://github.com/bitcoin/bitcoin/pull/17054
< bitcoin-git> [bitcoin] fanquake pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d53828cb7968...d7134ead84e3
< bitcoin-git> bitcoin/master 6f68523 Marius Kjaerstad: doc: Changed miniupnp links to https
< bitcoin-git> bitcoin/master d7134ea fanquake: Merge #17239: doc: Changed miniupnp links to https
< bitcoin-git> [bitcoin] fanquake merged pull request #17239: doc: Changed miniupnp links to https (master...patch-1) https://github.com/bitcoin/bitcoin/pull/17239
< bitcoin-git> [bitcoin] MarcoFalke opened pull request #17240: ci: Disable functional tests on mac host (master...1910-ciNoFunMac) https://github.com/bitcoin/bitcoin/pull/17240
< wumpus> removed "waiting for author" and "needs rebase" from all closed PRs
< bitcoin-git> [bitcoin] jnewbery opened pull request #17241: [WIP] remove fCheckDuplicateInputs from CheckTransaction() (master...2019-10-fduplicateinputs) https://github.com/bitcoin/bitcoin/pull/17241
< bitcoin-git> [bitcoin] jnewbery closed pull request #17241: [WIP] remove fCheckDuplicateInputs from CheckTransaction() (master...2019-10-fduplicateinputs) https://github.com/bitcoin/bitcoin/pull/17241
< bitcoin-git> [bitcoin] jnewbery opened pull request #17242: validation: Remove unused cacheSigStore from CheckInputsFromMempooAndCache (master...2019-10-checkinputsfrommempool) https://github.com/bitcoin/bitcoin/pull/17242
< MarcoFalke> wumpus: could you add adamjonas to the Bitcoin Core label group pls?
< MarcoFalke> Also, ryanofsky qualifies for that group
< jonatack> MarcoFalke: what is the Bitcoin Core label group, and how does one qualify?
< wumpus> MarcoFalke: sure
< MarcoFalke> jonatack: Anyone who is doing that work, but has to ask others currently, qualifies
< wumpus> jonatack: the people who have semi-write access to the repository to be able to change labels and open/close issues
< MarcoFalke> I saw ryanofsky and adamjonas go over a lot of historic issues and ask other maintainers to close them or add/remove labels
< jonatack> Thank you.
< wumpus> haven't seen the name adamjonas a lot
< wumpus> invited them to the orgs at least...
< fanquake> wumpus yea that's only very recently
< bitcoin-git> [bitcoin] laanwj pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/d7134ead84e3...4af044716952
< bitcoin-git> bitcoin/master fa71006 MarcoFalke: ci: Disable functional tests on mac host
< bitcoin-git> bitcoin/master 4af0447 Wladimir J. van der Laan: Merge #17240: ci: Disable functional tests on mac host
< bitcoin-git> [bitcoin] laanwj merged pull request #17240: ci: Disable functional tests on mac host (master...1910-ciNoFunMac) https://github.com/bitcoin/bitcoin/pull/17240
< fanquake> I've started engaging with GitHub in regards to: https://github.com/bitcoin/bitcoin/issues/15847#issuecomment-526829870.
< fanquake> Interestingly, there are at least two members of the Rust Core team in the same group, and it's looks like we are sharing some of the same GitHub grievances as them.
< wumpus> meeting time?
< MarcoFalke> yeah
< wumpus> #startmeeting
< lightningbot> Meeting started Thu Oct 24 19:00:51 2019 UTC. The chair is wumpus. Information about MeetBot at http://wiki.debian.org/MeetBot.
< lightningbot> Useful Commands: #action #agreed #help #info #idea #link #topic.
< fanquake> Hi
< jonatack> hi
< sipa> hi
< jeremyrubin> hi
< MarcoFalke> I'd like to add #16975 and remove my current pull request from high prio
< gribble> https://github.com/bitcoin/bitcoin/issues/16975 | test: Show debug log on unit test failure by MarcoFalke . Pull Request #16975 . bitcoin/bitcoin . GitHub
< wumpus> #bitcoin-core-dev Meeting: wumpus sipa gmaxwell jonasschnelli morcos luke-jr sdaftuar jtimon cfields petertodd kanzure bluematt instagibbs phantomcircuit codeshark michagogo marcofalke paveljanik NicolasDorier jl2012 achow101 meshcollider jnewbery maaku fanquake promag provoostenator aj Chris_Stewart_5 dongcarl gwillen jamesob ken281221 ryanofsky gleb moneyball kvaciral
< amiti> hi
< moneyball> hi
< wumpus> #topic High priority for review
< kanzure> hi
< achow101> hi
< dongcarl> ih
< ariard> hi
< wumpus> MarcoFalke: done
< jamesob> hi
< MarcoFalke> thx
< fjahr> hi
< fanquake> I'll propose #17165 of mine, as that's now in a fairly reviewable state.
< gribble> https://github.com/bitcoin/bitcoin/issues/17165 | Remove BIP70 support by fanquake . Pull Request #17165 . bitcoin/bitcoin . GitHub
< provoostenator> hi
< jamesob> can I request we add #16442 to high prio?
< gribble> https://github.com/bitcoin/bitcoin/issues/16442 | Serve BIP 157 compact filters by jimpo . Pull Request #16442 . bitcoin/bitcoin . GitHub
< provoostenator> +1 for 16422
< wumpus> fanquake: added
< MarcoFalke> fanquake: Needs (trivial) rebase ;)
< wumpus> jamesob: provoostenator also added
< jamesob> thanks!
< fanquake> MarcoFalke: I feel like thats at least the 3rd time I've had to rebase recently for that same file :o
< wumpus> which file ?
< provoostenator> Suggested topic BIP157 if we have time...
< fanquake> ci/test/00_setup_env_mac_functional.sh
< wumpus> oh, well, mac functional tests are gone now, you shouldn't have to rebase anymore for that
< instagibbs> hi
< wumpus> I think we have plenty of time, no topics have been suggested for today; though I think we need to discuss 0.19.0rc2 as well
< jtimon> can we add #17037 to chasing concept ack?
< gribble> https://github.com/bitcoin/bitcoin/issues/17037 | Testschains: Many regtests with different genesis and default datadir by jtimon . Pull Request #17037 . bitcoin/bitcoin . GitHub
< wumpus> #topic BIP157 (provoostenator)
< provoostenator> I found some issues while testing against Lnd / Btcd
< provoostenator> cc roasbeef
< wumpus> jtimon: added
< digi_james> hi
< jtimon> thanks
< instagibbs> provoostenator, testing what against, 0.19?
< provoostenator> btcd uses a max getcfilters of 1000
< provoostenator> Where the BIP uses 100
< jeremyrubin> suggested topic: mempool limits
< provoostenator> So the #16442 will disconnect from those
< gribble> https://github.com/bitcoin/bitcoin/issues/16442 | Serve BIP 157 compact filters by jimpo . Pull Request #16442 . bitcoin/bitcoin . GitHub
< provoostenator> I believe the rationale for 100 was to get those messages to about 2 MB
< provoostenator> Bigger means fewer round dtrips for mobile.
< provoostenator> I don't know if there's a downside to bigger...
< provoostenator> We don't send these things unsollicited
< MarcoFalke> That sounds like a bug in either btcd or the bip? Maybe the mailing list is a better place to discuss?
< provoostenator> Converesy, we don't have a rate limiter for this in the PR. Lnd, when "misconfigured" will happily fetch gigabytes per minute...
< provoostenator> Yeah, mailinglist makes sense regardless, but was hoping to find opinions here first.
< sipa> provoostenator: how does the misconfiguration manifest?
< sipa> is it fetching the same block over and over?
< provoostenator> sipa: when it checks lightning channel gossip, it refetches old filters all the time
< provoostenator> That's an Lnd bug imo
< provoostenator> But someone can do this intentionally too
< sipa> of course
< provoostenator> Do we have any rate limiting on block fetching and such?
< sipa> not afaik
< provoostenator> Ok, I guess in that case there's not much precedent to add it for filters.
< wumpus> no, there's no rate limiting on block fetching
< wumpus> it's only limited by the I/O speeds, disk and network
< MarcoFalke> or by -maxuploadtarget
< wumpus> the extra DoS vector with bloom filters is that it allowed to do a DoS on the disk without actually having to receive the data over the network, but, it's easy to saturate bandwidth
< wumpus> yes, there's that
< jnewbery> Can we add #15934 to high priority? It's blocking three other PRs which add quite nice functionality (#15935, #15936, #15937)
< gribble> https://github.com/bitcoin/bitcoin/issues/15934 | Merge settings one place instead of five places by ryanofsky . Pull Request #15934 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15935 | WIP: Add /settings.json persistent settings storage by ryanofsky . Pull Request #15935 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15936 | WIP: Unify bitcoin-qt and bitcoind persistent settings by ryanofsky . Pull Request #15936 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15937 | WIP: Add loadwallet and createwallet load_on_startup options by ryanofsky . Pull Request #15937 . bitcoin/bitcoin . GitHub
< sipa> BIP157 doesn't have the same problem as the I/O required is proportional to what is sent over the network
< wumpus> right
< wumpus> jnewbery: sure, though I think with 10 blockers in high prio we're kind of pushing it
< jamesob> +1 on 15934
< jamesob> (but agree the list is getting long)
< provoostenator> Ok, so any thoughts on the maximum size of filter messages we send (ignoring the BIP)?
< jnewbery> wumpus: how about if I promise to review some of the other ones? :)
< instagibbs> wumpus, people have different interests in subtopics, i dont think "long" hurts more than too many type collsions
< wumpus> jnewbery: great!
< wumpus> instagibbs: 10 is fine
< instagibbs> :)
< jeremyrubin> I've been making fine progress on the things that depend on #16766, so am OK with either removing from high priority while it gets more review or else I think it's basically mergeable now.
< gribble> https://github.com/bitcoin/bitcoin/issues/16766 | wallet: Make IsTrusted scan parents recursively by JeremyRubin . Pull Request #16766 . bitcoin/bitcoin . GitHub
< wumpus> #topic 0.19.0rc2
< wumpus> there have been quite a few things merged since rc1, and some time has passed, I think it is time to tag rc2?
< fanquake> I agree. I think I backported most/all of the bug fixes
< wumpus> #17120 should make it in probably
< gribble> https://github.com/bitcoin/bitcoin/issues/17120 | gui: Fix start timer from non QThread by promag . Pull Request #17120 . bitcoin/bitcoin . GitHub
< fanquake> I'd sort of lost whats been happening in there. Also nother GUI only issue.
< provoostenator> That definately needs to be in an rc.
< wumpus> it's an actual serious bug, which can result in crashes
< MarcoFalke> so #17112 is not going to get fixed?
< gribble> https://github.com/bitcoin/bitcoin/issues/17112 | v0.19.0rc1 GUI repeatedly not responding . Issue #17112 . bitcoin/bitcoin . GitHub
< provoostenator> MarcoFalke: #1712 fixes that
< gribble> https://github.com/bitcoin/bitcoin/issues/1712 | Qt: possible bug related to immature balance? . Issue #1712 . bitcoin/bitcoin . GitHub
< wumpus> (creating qt objects like timers outside the GUI thread should be considered *really* carefully)
< fanquake> I opened the original issue that that is fixing. The crashes only occur, or at least the ones I saw, when you run with FATAL_WARNINGS
< fanquake> Which turns warnings into crashes
< MarcoFalke> provoostenator: Does it?
< provoostenator> MarcoFalke: I meant #17120
< gribble> https://github.com/bitcoin/bitcoin/issues/17120 | gui: Fix start timer from non QThread by promag . Pull Request #17120 . bitcoin/bitcoin . GitHub
< wumpus> remember, qt is essentially single-threaded
< wumpus> at least the GUI part
< fanquake> We are still talking about fixing this right #16296 ?
< gribble> https://github.com/bitcoin/bitcoin/issues/16296 | gui: crash with loadwallet & QT_FATAL_WARNINGS . Issue #16296 . bitcoin/bitcoin . GitHub
< wumpus> I'm talking about the fix in #17120
< gribble> https://github.com/bitcoin/bitcoin/issues/17120 | gui: Fix start timer from non QThread by promag . Pull Request #17120 . bitcoin/bitcoin . GitHub
< MarcoFalke> provoostenator: I thought that #17135 fixes it, but that isn't tagged for backport
< gribble> https://github.com/bitcoin/bitcoin/issues/17135 | gui: Make polling in ClientModel asynchronous by promag . Pull Request #17135 . bitcoin/bitcoin . GitHub
< wumpus> MarcoFalke: we're not sure that that fixes it, and it's too risky to merge between RCs imo
< fanquake> Right, 17120 will close 16296
< provoostenator> MarcoFalke: for the freeze UI problem there were two seperate solutions, I only tested 17120, which fixes it
< MarcoFalke> Ah nice
< fanquake> So should 17120 be high-prio, and once it's merged we tag an rc2 ?
< fanquake> Or do we have other rc blockers?
< wumpus> sgtm
< promag> provoostenator: wat?
< wumpus> #17035, though tagged 0.19.0 is definitely not a blocker imo
< gribble> https://github.com/bitcoin/bitcoin/issues/17035 | qt: Fix text display when state of prune button is changed by emilengler . Pull Request #17035 . bitcoin/bitcoin . GitHub
< wumpus> it's also nowhere near ready
< MarcoFalke> provoostenator: If that is the case, the pull should mention it somewhere
< promag> 17120 fixes UI freeze?
< MarcoFalke> yeah, I am doubtful as well
< emilengler> wumpus: The current text is a bit misleading IMO
< emilengler> Same with storage etc.
< MarcoFalke> emilengler: Is it a regression?
< wumpus> emilengler: yes, it is, I don't disagree
< MarcoFalke> If not, it can go in 0.19.1
< provoostenator> Oh wait, #17133 fixes those, argh
< gribble> https://github.com/bitcoin/bitcoin/issues/17133 | 0.19: gui: Fix start timer from non QThread by promag . Pull Request #17133 . bitcoin/bitcoin . GitHub
< promag> IMO both 17120 and 17135 should go to RC
< sipa> #17135
< gribble> https://github.com/bitcoin/bitcoin/issues/17135 | gui: Make polling in ClientModel asynchronous by promag . Pull Request #17135 . bitcoin/bitcoin . GitHub
< provoostenator> What sipa says, that's the one I tested. Indeed that needs to go in the rc too
< wumpus> I still think it's too much of a change to go in a rc, but ok...
< sipa> (to be clear i don't have a strong opinion on the issue; i was just trying to quickly check what 17135 was)
< promag> wumpus: what changes if you only merge after rc?
< wumpus> promag: it can be in master for a while
< MarcoFalke> I think the changes are straightforward (moving polling to a new thread)
< wumpus> so this creates a thread per wallet?
< MarcoFalke> What could possibly go wrong?
< wumpus> yes, what could possibly go wrong...
< promag> wumpus: no, one thread only
< sipa> last week we discussed reverting the change that exacerbated the issue; i assume that's considered too complicated?
< promag> ClientModel is singleton I think?
< wumpus> clientmodel is
< MarcoFalke> sipa: I think a lot more can go wrong when we remove all the lock annotations in validation/mempool
< promag> sipa: not a clean revert by far
< MarcoFalke> and restore the 0.18.0 mempool locks
< fanquake> sipa: At least in my opinion, reverting a mempool related bug fix to "fix" the gui doesn't seem like the way to go.
< sipa> MarcoFalke: that's fair
< MarcoFalke> agree with fanquake
< promag> too many lock annotations and other refactors were merged
< wumpus> yes, the revert is a mess
< sipa> ok
< MarcoFalke> With the gui fix the worst that could happen is that the polling in the new thread just does not work at all?
< promag> well I guess its ok too have a UI freezing in a RC
< wumpus> a lot can go wrong with qt and threads
< MarcoFalke> I don't know a lot about qt, so I should probably shut up
< promag> In this particular case I think it's fine - threading with loading wallets etc was more tricky
< wumpus> like, if you update the GUI from any thread but the GUI thread, you risk a race/crash
< MarcoFalke> crash doesn't sound too nice
< wumpus> it's worse than a temporary hang anyhow
< wumpus> anyhow, I think what 17135 does is correct
< wumpus> it only emits signals from the thread right?
< promag> right
< wumpus> wait, no, it's not correct
< promag> acquires the locks -> reads -> enqueues signal events to gui event loop -> repeat
< wumpus> you move pollTimer to the thread then in the destructor, delete it in the main thread
< MarcoFalke> Is there anything we need to do about this macOS crap?
< wumpus> no I'm not 100% sure about this
< MarcoFalke> #16387
< gribble> https://github.com/bitcoin/bitcoin/issues/16387 | macOS Catalina . Issue #16387 . bitcoin/bitcoin . GitHub
< promag> wumpus: that's fine the thread is alread stopped
< wumpus> promag: I don't think that makes it ok
< provoostenator> So macOs requires ./configure CFLAGS="-fno-stack-check"
< fanquake> MarcoFalke: I have not upgraded to 10.15, so someone else will have to comment
< wumpus> e.g. the timer affects the local event loop of the thread
< provoostenator> For secp256k1 tests to pass
< wumpus> deleting it somewhere else might mess with the main event loop
< provoostenator> No idea if that's a sane config flag.
< promag> but I stop and join the thread
< wumpus> I know
< promag> so the timer's event-loop is no longer running
< wumpus> but things need to be deleted inthe thread that owns them
< promag> yes, if the event loop is running
< wumpus> no, always
< promag> ref?
< promag> I can change to deleteLater(); quit(); wait() if you prefer
< wumpus> I'd rather have that you find for sure that this is safe
< promag> wumpus: deal
< wumpus> we've had some horrible crashes due to things like this w/ the debug console thread
< wumpus> it takes some very careful steps there to delete everything in the thread that owns it
< wumpus> provoostenator: what does no-stack-check do?
< provoostenator> No idea, elichai2 found this "fix" in https://github.com/bitcoin-core/secp256k1/issues/674
< wumpus> it doesn't disable any hardening features does it?
< elichai2> provoostenator: I hope this bug will be fixed before the stable release
< wumpus> can we find out what code makes this necessary? is it a bug on our end?
< elichai2> wait it Catalina stable already?
< fjahr> elichai2: I thought this was a compiler bug!?
< fjahr> yes
< wumpus> yes stack protector is what protects against buffer overflows on the stack
< MarcoFalke> why can't apple fix their crap?
< provoostenator> Catalina is released yes, they even did a few security patches...
< elichai2> but I don't have a mac to try and dive deep into this
< wumpus> we're definitely not going to disable that by default, if people want to use such a work-around they're on their own
< elichai2> wumpus: +1
< provoostenator> The gitian / rc binaries work fine, so I indeed wouldn't change anything there.
< elichai2> My comment was more as a step in debugging this :) I really don't know the consequences of actually using this
< elichai2> the bug is in AVX assembly *produced by the compiler* (i.e. secp has no avx)
< wumpus> ok, nothing for us to do there then
< elichai2> isn't it possible to just compile clang on Mac OS and use all of the llvm ecosystem instead of xcode?
< elichai2> but yeah, off topic
< wumpus> any other topics?
< wumpus> #endmeeting
< lightningbot> Meeting ended Thu Oct 24 19:50:16 2019 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
< jeremyrubin> I guess it's fine for post meeting; but I wanted to get examples/edge cases people know of bad mempool behaviors that justify the limits currently and collect any tests people have written to benchmark this
< jeremyrubin> Because I think there's a bit of a documentation gap for why certain limits exist and the intended protection (or, if additional protections conferred became known post-hoc)
< instagibbs> Unfortunately lots of mempool design is communal knowledge spread among like 5 people.
< bitcoin-git> [bitcoin] amitiuttarwar opened pull request #17243: tools: add PoissonNextSend method that returns mockable time (master...1910-mockable-poisson) https://github.com/bitcoin/bitcoin/pull/17243
< jeremyrubin> instagibbs: this is one way to fix it ;)
< wumpus> jeremyrubin: oh sorry I forgot your topic
< instagibbs> I'm concept ACKing your call. I've previously asked for a "philosophy of design" type document, sdaftuar wrote something(now I cannot find the link, oops)
< wumpus> jeremyrubin: maybe propose it for next week
< instagibbs> that seems to be more block related, but transaction gossiping would be a good one
< wumpus> elichai2: it looks like -fno-stack-check disables stack alignment check, not security checks like the stack protector
< wumpus> hm or maybe not, I'm not sure
< elichai2> well theoretically x86 is fine with unaligned reads/writes. altough I have no idea if it's even related to this :D
< wumpus> I think there's an exception for some instructions like AVX2
< sipa> movdqa requires aligned arguments
< elichai2> <elichai2> the bug is in AVX assembly *produced by the compiler* (i.e. secp has no avx)
< elichai2> wumpus: oh. you meant about read alignments. sorry
< wumpus> thinking of it, it might generate that AVX code to check the stack cookie
< wumpus> assuming the stack pointer is aligned
< sdaftuar> instagibbs: i also have some high level slides lying around somewhere that explain mempool design if you're interested
< instagibbs> sure
< jonatack> jeremyrubin: Thanks, it seems like a good idea to assemble this information, building on jnewbery's document instagibbs linked to and sdaftuar's slides. I'd be interested.
< elichai2> I just tried to convert `DecodeDumpTime` from using boost to `std::get_time` and chrono. and got into timezone rabbit hole
< * elichai2> facepalm
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/4af044716952...773026044f9d
< bitcoin-git> bitcoin/master 5b44a75 Sebastian Falbesoner: refactor: Remove unused CExt{Pub,}Key (de)serialization methods
< bitcoin-git> bitcoin/master 7730260 MarcoFalke: Merge #17212: refactor: Remove unused CExt{Pub,}Key (de)serialization meth...
< bitcoin-git> [bitcoin] MarcoFalke merged pull request #17212: refactor: Remove unused CExt{Pub,}Key (de)serialization methods (master...20191021-refactor-remove_unused_cextkey_and_cextpubkey_serialization) https://github.com/bitcoin/bitcoin/pull/17212
< MarcoFalke> elichai2: when pull request?
< elichai2> C++20? lol
< MarcoFalke> Oh
< MarcoFalke> So we will never get rid of boost
< elichai2> i'm joking, trying to work on a weirder way, just really hoped I can do it using libstd
< luke-jr> [19:16:40] <jnewbery> Can we add #15934 to high priority? It's blocking three other PRs which add quite nice functionality (#15935, #15936, #15937) <-- more like conflciting with..
< gribble> https://github.com/bitcoin/bitcoin/issues/15934 | Merge settings one place instead of five places by ryanofsky . Pull Request #15934 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15935 | WIP: Add /settings.json persistent settings storage by ryanofsky . Pull Request #15935 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15936 | WIP: Unify bitcoin-qt and bitcoind persistent settings by ryanofsky . Pull Request #15936 . bitcoin/bitcoin . GitHub
< gribble> https://github.com/bitcoin/bitcoin/issues/15937 | WIP: Add loadwallet and createwallet load_on_startup options by ryanofsky . Pull Request #15937 . bitcoin/bitcoin . GitHub
< luke-jr> oh, those listed are the poorly rewritten ones :/
< luke-jr> #11082 should go in instead ;)
< gribble> https://github.com/bitcoin/bitcoin/issues/11082 | Add new bitcoin_rw.conf file that is used for settings modified by this software itself by luke-jr . Pull Request #11082 . bitcoin/bitcoin . GitHub
< jonatack> luke-jr: your PR came up in the review club discussion yesterday (https://bitcoincore.reviews/15934.html). Seems PRs 11082 and 15934 ought to be reviewed concurrently then.
< luke-jr> jonatack: well, 11082 vs 15935 really; 15934 is probably rebasable
< luke-jr> 11082 has been in production use for years at this point
< jonatack> luke-jr: in https://bitcoinknots.org?
< luke-jr> yes
< luke-jr> since 2016, apparently
< elichai2> does boost test framework gives us a way to unit test static functions?
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 commits to master: https://github.com/bitcoin/bitcoin/compare/773026044f9d...fce7c7542234
< bitcoin-git> bitcoin/master 168b781 Anthony Towns: Continue relaying transactions after they expire from mapRelay
< bitcoin-git> bitcoin/master fce7c75 MarcoFalke: Merge #16851: Continue relaying transactions after they expire from mapRel...
< bitcoin-git> [bitcoin] MarcoFalke merged pull request #16851: Continue relaying transactions after they expire from mapRelay (master...201909-relayparents) https://github.com/bitcoin/bitcoin/pull/16851
< MarcoFalke> elichai2: no
< elichai2> MarcoFalke: so if I want to add a unit test to a static function I must make it non-static?
< MarcoFalke> yes
< MarcoFalke> otherwise it wouldn't be properly linked into the test_bitcoin, I think
< * luke-jr> wonders if he should submit PRs for everything blocked on #11082..
< gribble> https://github.com/bitcoin/bitcoin/issues/11082 | Add new bitcoin_rw.conf file that is used for settings modified by this software itself by luke-jr . Pull Request #11082 . bitcoin/bitcoin . GitHub
< elichai2> MarcoFalke: well one ugly way would be to `#include` the cpp file heh
< sipa> you can test a static function if it's defined in the same compilation unit as the test
< sipa> anything else would grossly violate C++
< sipa> (that's the definition of static: accessible within the same compilation unit)
< MarcoFalke> elichai2: Oh right. Forgot about that, but I'd rather not do that.
< elichai2> sipa: so if i'm testing a static function from rpcdump.cpp in wallet_tests.cpp I must make it non static :/
< sipa> yes
< sipa> or put in a .h file, and make it static inline; that also works :p
< sipa> or just static;
< elichai2> MarcoFalke: yeah, that's seriously ugly and would give us trouble in the future on using the wrong types / redeclaring the same functions etc.
< luke-jr> sipa: I think we've been moving away from that?
< elichai2> I guess no static it is
< * luke-jr> remembers when GetMinFee was in .h
< nothingmuch> typically what is the rationale behind making things static (not in general, in core)?
< luke-jr> so the compiler cna inline it?
< elichai2> nothingmuch: I would guess if it's a small function used only in that compilation unit that you want to be easily inlined
< sipa> s/easily//
< MarcoFalke> elichai2: Which function is it?
< elichai2> core doesn't get special treatment from gcc yet :P
< elichai2> MarcoFalke: DecodeDumpTime
< elichai2> wrote a test case that asserts that the old and new ones returns the same value
< sipa> something in another compilation unit cannot be inlined (except through LTO)
< nothingmuch> thanks, i thought maybe it was something more... in that case wouldn't a non static wrapper also do the job?
< MarcoFalke> Yeah, that should be exposed in the header I guess
< elichai2> sipa: yeah but in the same compilation unit people tend to think(hope?) that static has more chance to be inlined
< MarcoFalke> for rpc code such inline performance doesn't matter
< MarcoFalke> also, the rpc*.cpp files should not contain any logic except parsing UniValue and then calling an util function
< elichai2> MarcoFalke: so to which header do you think it should move? rpcwallet.h?
< MarcoFalke> That's the easiest for now
< MarcoFalke> If you feel fancy, you could move it to something like ./src/wallet/util
< bitcoin-git> [bitcoin] elichai opened pull request #17245: Removing Boost from DecodeDumpTime (master...2019-10-DecodeDumpTime) https://github.com/bitcoin/bitcoin/pull/17245
< elichai2> Fingers crossed for the windows CI hehe