< GitHub63> [bitcoin] wtogami opened pull request #8013: doc: Fedora build requirements, add gcc-c++ and fix typo (master...fedora_build_readme2) https://github.com/bitcoin/bitcoin/pull/8013
< luke-jr> warren: I see no valid use case for that patch…
< luke-jr> morcos: right now, GBT is broken in 0.12.1 due to BIP9
< luke-jr> cfields: there is a PR for the GBT BIP9 changes already
< luke-jr> if that's what you were asking
< warren> luke-jr: I think it exposes the change address that is configurable in the coin control GUI
< luke-jr> warren: once per startup, which makes no sense unless you're starting bitcoind JUST to send once
< warren> luke-jr: right, which is why Matt thought it made more sense as an RPC option
< luke-jr> yeah, probably
< warren> in any case it isn't my problem
< luke-jr> I *think* There's a PR open for it too
< warren> oh?
< warren> That doesn't help sendtoaddress right?
< luke-jr> of course not, it doesn't make sense for sendtoaddress
< luke-jr> sendtoaddress is a simple RPC for normal users
< luke-jr> normal users should never be messing with change addresses
< sipa> for fundrawtransaction it may make sense
< sipa> (i'm surprised it doesn't already have it?0
< luke-jr> yes, that's what the PR does
< luke-jr> note it is merged
< warren> In discussion with cfields today we decided it would be nice and not too difficult to improve the makefiles and gitian such that "make rpm" and "make deb" would work and be used during the ordinary gitian-linux process. It can spit out deterministic deb and rpm's during the existing gitian build process. They can be subsequently GPG signed in a similar manner to the OSX and Windows installers.
< warren> After this is done I will make the recommendation to Fedora that they do NOT want to build and maintain their own Bitcoin RPM, mostly because they EOL distros very quickly and people will be stuck with old versions of Bitcoin. Installing Bitcoin should be a conscious process not subject to auto-update either.
< GitHub1> [bitcoin] Tyler-Hardin opened pull request #8014: Qt: Sort transactions by date (master...sort-by-date) https://github.com/bitcoin/bitcoin/pull/8014
< luke-jr> warren: how will that deal with ABI issues between distros?
< GitHub62> [bitcoin] 21E14 opened pull request #8015: CCoinsViewErrorCatcher raison-d-etre (master...wrapper) https://github.com/bitcoin/bitcoin/pull/8015
< warren> luke-jr: you don't, the gitian build contains static libraries
< warren> If you use "make rpm" or "make deb" on your own distro you get a dynamic binary.
< GitHub138> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/006cdf64dc93...efee32f38110
< GitHub138> bitcoin/master 99e7075 Wladimir J. van der Laan: Break circular dependency main ↔ txdb...
< GitHub138> bitcoin/master efee32f Wladimir J. van der Laan: Merge #7815: Break circular dependency main ↔ txdb...
< GitHub95> [bitcoin] laanwj closed pull request #7815: Break circular dependency main ↔ txdb (master...2016_04_break_txdb_main_dep) https://github.com/bitcoin/bitcoin/pull/7815
< GitHub58> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/efee32f38110...65aecda52d0d
< GitHub58> bitcoin/master e53e7c5 Kaz Wesley: don't run ThreadMessageHandler at lowered priority...
< GitHub58> bitcoin/master 65aecda Wladimir J. van der Laan: Merge #8011: don't run ThreadMessageHandler at lowered priority...
< GitHub178> [bitcoin] laanwj closed pull request #8011: don't run ThreadMessageHandler at lowered priority (master...priority) https://github.com/bitcoin/bitcoin/pull/8011
< jonasschnelli> Is that only my observation? A full sync with BitcoinD is much faster then with Bitcoin-Qt?
< jonasschnelli> Doing measurements now.
< paveljanik> some UI locks?
< jonasschnelli> paveljanik: probably. But it feels like losing 50% of the sync "performance". Will have some ~numbers soon.
< paveljanik> 50% is a bit too much, yes.
< GitHub170> [bitcoin] paveljanik opened pull request #8016: Fix multithread CScheduler and reenable test (master...20160506_multithread_CScheduler) https://github.com/bitcoin/bitcoin/pull/8016
< GitHub19> [bitcoin] jonasschnelli closed pull request #7830: [Wallet] Add cloned wallet, remove accounts, reset version (master...2016/04/wallet2) https://github.com/bitcoin/bitcoin/pull/7830
< GitHub83> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/65aecda52d0d...77b637f20e8c
< GitHub83> bitcoin/master fa389d4 MarcoFalke: [qa] Switch to py3
< GitHub83> bitcoin/master 77b637f Wladimir J. van der Laan: Merge #7814: [qa] Switch to py3...
< GitHub87> [bitcoin] laanwj closed pull request #7814: [qa] Switch to py3 (master...Mf1604-qaPy3) https://github.com/bitcoin/bitcoin/pull/7814
< paveljanik> MarcoFalke, python3: httplib not found -> http.client?
< MarcoFalke> You need to check out the specific commit
< MarcoFalke> git checkout fa6cd636c05fa18afbfc35e4e8ad0e7e69c0ae35
< paveljanik> yup, already known
< paveljanik> I'm 5 minutes late after fanquake ;-)
< paveljanik> I'll wait :-)
< MarcoFalke> So why does travis fail all pulls with ImportError: No module named 'zmq'?
< paveljanik> MarcoFalke, python-qmz not installed.
< paveljanik> I'm just about to write to you, that we should make a conditional in the zmq tests to prevent this ;-)
< paveljanik> README.md contains: sudo apt-get install python-zmq
< paveljanik> and of course install this module in travis
< MarcoFalke> It is installed
< MarcoFalke> Am I missing something?
< paveljanik> Is there a log from the travis initialization to check?
< paveljanik> and is there such module available at all? ;-)
< * paveljanik> doesn't know...
< MarcoFalke> Oh the cache is messed up
< MarcoFalke> It fetches from master (which is py3) but the pulls are still py2
< MarcoFalke> Just a guess
< paveljanik> yes, maybe.
< paveljanik> Does it help to rebase such PR?
< GitHub91> [bitcoin] jonasschnelli opened pull request #8018: Autofind rpc tests --srcdir (master...2016/05/fix_test_srcdir) https://github.com/bitcoin/bitcoin/pull/8018
< MarcoFalke> I am trying to avoid rebase but, hmm
< paveljanik> ah
< MarcoFalke> rebased
< jonasschnelli> I was wrong. Bitcoin-Qt full sync takes ~ same amount of time as it takes with bitcoind.
< wumpus> jonasschnelli: phew :)
< wumpus> I'd understand if it is somewhat slower, I mean a GUI thread does produce some extra load, but doubling the time is absurd
< GitHub17> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/77b637f20e8c...fbedc09b2d09
< GitHub17> bitcoin/master b3d18ba Warren Togami: doc: Fedora build requirements, add gcc-c++ and fix typo
< GitHub17> bitcoin/master fbedc09 Wladimir J. van der Laan: Merge #8013: doc: Fedora build requirements, add gcc-c++ and fix typo...
< GitHub171> [bitcoin] laanwj closed pull request #8013: doc: Fedora build requirements, add gcc-c++ and fix typo (master...fedora_build_readme2) https://github.com/bitcoin/bitcoin/pull/8013
< wumpus> looks like there are some travis failures regarding zmq https://travis-ci.org/bitcoin/bitcoin/jobs/128251961
< MarcoFalke> It is some travis issue if you ask me
< wumpus> seems likely, as it doesn't seem to be consistent
< MarcoFalke> It is consistent for all pulls that were in the travis queue at the time the py3 pull was merged
< MarcoFalke> Some broken cache logic, probably
< luke-jr> warren: well then you haven't eliminated the reason for distros to package it..
< GitHub137> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/fbedc09b2d09...fbd84788e676
< GitHub137> bitcoin/master b06f6a9 JeremyRand: Fixed invalid example paths in gitian-building.md...
< GitHub137> bitcoin/master fbd8478 Wladimir J. van der Laan: Merge #8009: Docs: Fixed invalid example paths in gitian-building.md...
< GitHub195> [bitcoin] laanwj closed pull request #8009: Docs: Fixed invalid example paths in gitian-building.md (master...doc-gitian-building-offline-paths-fix) https://github.com/bitcoin/bitcoin/pull/8009
< maaku> I saw in the meeting logs that a back dated start date for segwit on testnet was accepted
< maaku> This potentially causes severe problems for people who are doing ongoing integration testing of their own services on testnet
< maaku> I hope that this decision is reconsidered (or a delay to activation is added)
< jl2012> maaku, I think BIP68 also backdated?
< maaku> jl2012: which was also a mistake
< maaku> the delay can be short, e.g. a few weeks. but it shouldn't be zero
< maaku> that is placing a potential forking situation on people who have been absorbed in their own work, with absolutely no warning
< jl2012> you mean some people are already testing segwit on testnet?
< maaku> jl2012: I mean that with a back-dated start date segwit could activate within hours if someone decided to throw some hash power at it
< jl2012> same before we had bip9
< maaku> wihch is not unlikely
< maaku> jl2012: ...
< maaku> because we fucked up in the past does not mean we should continue to be fuckups
< maaku> set a data of May 15th or something and make a loud announcement, so people have at least a little bit of time to make sure they're not affected
< sipa> maaku: that's reasonable, but testnet is always subject to wide hashrate swings and forks
< sipa> and it's not like the code for segwit is merged... there isn't even a branch with those activation times included at this point
< maaku> yeah but still, we should try not to add to the noise
< sipa> sdaftuar: do you think there are pitfalls when converted the txid index of CTxMempool:mapTx to a hashed-based one?
< sdaftuar> sipa: hmm, i'm not sure i sufficiently explored it, but i don't recall thinking it would be problematic
< sipa> i remember trying, and failing
< sdaftuar> yeah so probably i was missing something then :)
< sdaftuar> maybe kazcw wants to take a stab at it! the setSpends thing is cool
< GitHub166> [bitcoin] instagibbs opened pull request #8019: Remove state arg from ReconsiderBlock (master...reblarg) https://github.com/bitcoin/bitcoin/pull/8019
< jl2012> maaku, no matter what we do, when no one is mining, an attacker can easily fork the network by mining a long non-segwit chain after activation
< jl2012> unless we have hashrate to keep the chain growing, which is burning money
< BlueMatt> hmmm...sipa so I need to keep around a list of node pointers I can send messages to in main.cpp...would be a huge shame to put CNode* back in logic there :/
< BlueMatt> any ideas
< BlueMatt> or, wait, who introduced NodeId
< gmaxwell> jl2012: maaku's concern is that you we should give people time to update so their nodes will ignore that fork.
< gmaxwell> I don't share the concern.
< gmaxwell> (or rather, I share it but believe that we will end up giving them adequate time, without having to delay further.)
< jl2012> i hope to see it live on testnet as early as possible, so we could start testing the dynamics of upgraded and non-upgraded nodes
< jl2012> and I'm sure it will be attacked, intentionally or unintentionally
< jl2012> unless we keep mining it
< gmaxwell> jl2012: if nodes are already upgraded to enforce, then _full nodes_ (which is 99% of what exists on testnet) won't notice any such attack.
< jl2012> but the point to test it on testnet is to examine the interaction between upgraded and non-upgraded nodes
< jl2012> if we just want upgraded nodes, we already have segnet
< jl2012> and if upgraded nodes have minority hashrate, we are actually implementing a segnet under the name of testnet
< instagibbs> jl2012, you can do that in segnet too
< gmaxwell> we can also spin up a new testnet that is mixed.
< gmaxwell> which would not disrupt other people's testing that is unrelated to segwit.
< jl2012> actually I'm running a non-upgraded node on the segwit. Probably the only one
< sipa> BlueMatt: i introduced nodeid
< sipa> BlueMatt: but perhaps net can have a function to send a particular message to a list of nodeids
< sipa> BlueMatt: alternatively, you can keep a list of CNode* pointers around, but you'll need cleanup logic in FinalizeNode to remove any reference to a node when it disappears
< BlueMatt> sipa: yea, I mean i was thinking about CNode* references...but that kinda defeats the purpose of NodeId
< BlueMatt> sipa: in fact, any solution kinda defeats the purpose of NodeId...might as well kill NodeId if we have back-and-forward references between CNodes and NodeIds
< sipa> BlueMatt: i disagree
< sipa> BlueMatt: net should not expose CNode
< sipa> and only expose abstract identifiers
< sipa> the fact that you need back-and-forth references is a side effect of the logic now being split between net and main
< BlueMatt> sipa: so you mean that we /should/ have an interface to send to a nodeid, because we shouldn't expose CNode at all, and pfrom should, in fact, be a nodeid?
< sipa> BlueMatt: yup
< sipa> but i expect that code to undergo very significant changes after cory's net changes
< BlueMatt> meh, I mean /all/ processing should happen in net imo...the fact that main knows /anything/ about the p2p protocol is bad
< BlueMatt> but, indeed, its kinda all up in the air as cory refactors net
< BlueMatt> I'll add a CNode* ref for now, with the expectation that it will dissapear soonish
< sdaftuar> sipa: fyi, according to morcos it worked relatively easily to convert mapTx's txid index to an unordered_map.
< sipa> sdaftuar: oh, sorry to not report back; yes, it was trivial :)
< sipa> doing it as part of a slighly larger change
< sdaftuar> cool!
< GitHub88> [bitcoin] sipa opened pull request #8020: Use SipHash-2-4 for various non-cryptographic hashes (master...siphash) https://github.com/bitcoin/bitcoin/pull/8020
< phantomcircuit> sipa: why the macro implementation?
< sipa> phantomcircuit: copy paste
< sipa> sugfestion for something better
< phantomcircuit> sipa: that was my guess, no suggestion at the moment
< phantomcircuit> sipa: is it safe to use hashed_unique like that in the mempool code?
< phantomcircuit> well i guess it is in so much as a collision just means you're missing a tx from the mempool
< sipa> phantomcircuit: the key for the mempool is still full txid
< sipa> the 64-bit hash is just internally used in the multi_index implementation, to decide what bucket an entry goes into
< sipa> but buckets can hold multiple items without problems
< phantomcircuit> sipa: ah ok, that's not clear from just the diff guess i needed more context
< phantomcircuit> ah right the thing "really" being indexed is CTxMemPoolEntry