< phantomcircuit> Luke-Jr, ha
< morcos> jtimon: surely you don't need to make estimateSmartFee take a mempoolsize argument? as in that branch
< jtimon> morcos: getMinFee doesn't need to be called inside policy/fee yet, but nGlobalMempoolSizeLimit can be already in policy/fee instead of main if you want (I mean, no complain on my part)
< morcos> one sec and i'll show you what i had in mind
< jtimon> yep, I will update the PR with the minimal thing and a bunch of stuff for you to discard soon as well
< jtimon> just got distracted with something else
< jtimon> morcos: updated #7115 focus on the first commit and then nack the other two if you want
< morcos> and then if you want i'd be happy for you to add a commit that has a global mempool limit variable which TrimToSize calls
< morcos> and per our recent agreement i'll stop objecting if you move GetMinFee call to inside CTxMemPool, although I will silently still disagree
< jtimon> ok, so you agree with hiding the param in getminfee, I thought that was what you disliked more for some reason and removed it
< jtimon> morcos: do you have plans for dynamic trimming beyond testing?
< jtimon> I really don't understand that or what it even has to do with our discussion
< morcos> jtimon: no i don't, we talked about using a different trim limit during IBD, but to me its really about encapsulating properly what GetMinFee cares about
< jtimon> IBD?
< morcos> i looked at your pull, i don't like adding a global argument to estimateSmartFee
< morcos> yes, during IBD you could allocate less size to the mempool and more to your cache
< morcos> or during initial sync if you're not caught up or whatever
< morcos> doesn't have to technically be IBD
< jtimon> in the future that can be fixed if getminfee moves to the estimator
< jtimon> it could be an attribute in the estimator
< morcos> what is it you don't like about the commit i just showed you. i realize it still doesn't solve your problem, but i'm ok with you solving your problem on top of that.
< jtimon> what is IDB?
< morcos> initial block download
< jtimon> thanks
< jtimon> so, wait
< jtimon> you want to have a different limit for IBD but a constant one for the rest right?
< morcos> i don't want to do any of that right now
< morcos> i would like to fix it so GetMinFee doesn' tneed an argument
< morcos> but i don't think the proper value for it to use is your command line argument
< morcos> i think the proper value for it to use is the last size the mempool was trimmed to
< jtimon> I want to understand your long term vision, and I would like you to understand mine
< morcos> so yes, if GetMinFee moves to the estimator, then that attribute could also move to the estimator (or i mean policy code), perhaps a bit tricky since trim to size needs to set it, but perhaps trim to size should be a policy function anyway
< jtimon> morcos: ok GetMinFee doesn't need an argument, a global (a different one from argsMap I mean) can fix that problem, where do you want the global?
< morcos> jtimon: a global what?
< morcos> this is where we are miscommunicating
< jtimon> main, mempool or policy/fees?
< morcos> the value GetMinFee needs to know about isn't the command line argument, it is literally the last agrument that was given to TrimToSize
< jtimon> argsMap is the global we're currently using for this command line param
< jtimon> we should use an extern global initialized in init.cpp like everybody else
< morcos> but i think you're missing my point
< morcos> if TrimToSize still takes an argument, which I think it should
< morcos> then GetMinFee has to be aware of that argument, not the global just because we happen to call TrimToSize with the global
< jtimon> should TrimToSize use a different value 2 different times for a given comman-line call?
< morcos> lets step back for a second, what is your objection to doing it the way i'm proposing?
< jtimon> why does TrimToSize needs to be "reset" every time, why everyone else must depend on "whatever TrimToSize was called with last time" instead of just -maxmempool?
< morcos> because thats literally what the logic is, what was the mempool trimmed to
< morcos> and now how far below that number are we
< jtimon> morcos: it doesn't make any sense to me, I think you should start with why is this command line option different from all the rest
< morcos> i don't really think i have anything else to say thats not repeating myself
< jtimon> morcos: I just made the logic to be "never change once the user sets it, TrimToSize will eat whatever was set in init.cpp like anybody else" in 3 different ways
< jtimon> that can be changed as shown, why do you want ot maintain it as a parameter in TrimToSize but not int getminfee? what's the fundamental difference you see but I don't?
< morcos> well i think one evidence of what i'm saying is the fact that you had to create two TrimToSize functions
< jtimon> I could make them one if you prefer that
< jtimon> trvially I must add
< morcos> i think it would be hard to get the unit tests to work with no argument
< jtimon> the same goes for getminfee, again, what's the difference?
< morcos> I think TrimToSize should take an argument because its logic that should exist outside the mempool as to what size it should be trimmed to
< jtimon> morcos we're using other globals in the tests
< jtimon> for example argsMap
< morcos> I think GetMinFee should not take an argument, because it is constrained to have to use the value that TrimToSize was called with
< jtimon> like we're currently using
< morcos> the unit tests call TrimToSize with different arguments within the same tests or GetMinFee or whatever
< morcos> both probably
< jtimon> calling GetArg in 11 places instead of one is just a style choice
< jtimon> would you even oppose to a macro?
< morcos> ok, well at this point we're cluttering up IRC with a ridiculous conversation. you are the one who is trying to get something merged.
< morcos> i've tried to give you some reasonable compromises that i would support
< jtimon> "I think GetMinFee should not take an argument, because it is constrained to have to use the value that TrimToSize was called with" this doesn't make any sense, if you call TrimToSize with a value, you want GetMinFee to use that value
< morcos> if it gets merged without my support, that's also fine... but its just a bit annoying since i'm the one spending the most time coding in this area
< phantomcircuit> jtimon, theoretically we could fix GetArg but we cant if noboey uses it
< morcos> jtimon: huh? yes, this is correct: "if you call TrimToSize with a value, you want GetMinFee to use that value"
< jtimon> morcos: whatever, I can leave it at the minimal fix-circular-dependency commit and focus on what we agree instead of what we disagree
< morcos> i have not seen any commits that i can agree with
< jtimon> phantomcircuit: ?? init.cpp uses it plenty
< phantomcircuit> jtimon, GetArg isn't thread safe, so we cant change settings outside of init.cpp
< phantomcircuit> if we aren't using GetArg it becomes a hastle to find and change settings all over the place
< jtimon> morcos: if you can't agree with https://github.com/jtimon/bitcoin/commit/3c30cea7245a2fd44bbd9cf8844c6730855f63e4 you will have to explain why we need to introduce an unecessary dependency "right now"
< morcos> jtimon: the part i don't like about that is passing through nMempoolSizeLimit through estimateSmartFee. that just doesnt make sense to me. callers want to just say estimateSmartFee, why do they need to be aware of certain global variables. Furthermore it limits the ability to call TrimToSize with different values for no good reason. but talk about circular dependencies, you and i have a good one going now... so let
< morcos> so lets just let it go.
< jtimon> "the part i don't like about that is passing through nMempoolSizeLimit through estimateSmartFee. that just doesnt make sense to me" do you have another simple alternative beyond creating an unnecessary circular dependency?
< morcos> i pasted it to you above!!!
< jtimon> callers should call the estimator directly without calling the mempool as a facade, but that's another topic entirily
< morcos> then you can fix the circular dependency on top of that.
< jtimon> "Furthermore it limits the ability to call TrimToSize with different values for no good reason" do you expect to need to call TrimToSize with values different from -maxmempool beyond testing?
< morcos> jtimon: sorry, i have to stop discussing this. no i don't expect to right now except for the edge case of doing so in IBD as mentioned above.
< jtimon> btw, I asked many times without anwer, do you agree that getminfee belongs in policy/fees ?
< jtimon> morcos: ok, whenever you have time to answer questions come back to me
< GitHub150> [bitcoin] jtimon closed pull request #7115: Mempool: Decouple CBlockPolicyEstimator from CTxMemPool (fix #6134) (master...6134-nits) https://github.com/bitcoin/bitcoin/pull/7115
< GitHub18> [bitcoin] gmaxwell pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/438ee59839ad...c143c499c85b
< GitHub18> bitcoin/master 996d311 Nick: [RPC] Add transaction size to JSON output...
< GitHub18> bitcoin/master c143c49 Gregory Maxwell: Merge pull request #7072...
< GitHub134> [bitcoin] gmaxwell closed pull request #7072: [RPC] Add transaction size to JSON output (master...master) https://github.com/bitcoin/bitcoin/pull/7072
< GitHub104> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/c143c499c85b...1b5118bfa0d9
< GitHub104> bitcoin/master 5029698 kazcw: prevent peer flooding request queue for an inv...
< GitHub104> bitcoin/master ebb25f4 Gregory Maxwell: Limit setAskFor and retire requested entries only when a getdata returns....
< GitHub104> bitcoin/master 1b5118b Wladimir J. van der Laan: Merge pull request #7079...
< GitHub11> [bitcoin] laanwj closed pull request #7079: Prevent peer flooding inv request queue (redux) (redux) (master...setAskFor) https://github.com/bitcoin/bitcoin/pull/7079
< GitHub170> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/1b5118bfa0d9...30c2d8c635c4
< GitHub170> bitcoin/master 9ac63d6 Pieter Wuille: Keep track of explicit wallet conflicts instead of using mempool
< GitHub170> bitcoin/master 30c2d8c Wladimir J. van der Laan: Merge pull request #7105...
< GitHub98> [bitcoin] laanwj closed pull request #7105: Keep track of explicit wallet conflicts instead of using mempool (master...realconflicts) https://github.com/bitcoin/bitcoin/pull/7105
< GitHub130> [bitcoin] laanwj opened pull request #7141: rpc: Don't translate warning messages (master...2015_12_warnings_translations) https://github.com/bitcoin/bitcoin/pull/7141
< GitHub34> [bitcoin] laanwj closed pull request #7134: [Qt] Don't translate warning messages (master...2015/11/qt_getwarnings) https://github.com/bitcoin/bitcoin/pull/7134
< GitHub101> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/30c2d8c635c4...eb3d1b348773
< GitHub101> bitcoin/master fa3a38a MarcoFalke: [qa] pull-tester: Cleanup (run keypool, tidy stdout)...
< GitHub101> bitcoin/master eb3d1b3 Wladimir J. van der Laan: Merge pull request #7135...
< GitHub146> [bitcoin] laanwj closed pull request #7135: [trivial] pull-tester cleanup: Run keypool, Tidy stdout (master...MarcoFalke-2015-pullTester) https://github.com/bitcoin/bitcoin/pull/7135
< GitHub129> [bitcoin] laanwj pushed 5 new commits to master: https://github.com/bitcoin/bitcoin/compare/eb3d1b348773...9490bd71bdb4
< GitHub129> bitcoin/master ecc7c82 Pieter Wuille: Move fPayAtLeastCustomFee function to CC
< GitHub129> bitcoin/master 80462dd Jonas Schnelli: [Qt] use ASYMP_UTF8 (≈) whenever we show a fee that is not absolute
< GitHub129> bitcoin/master 31b508a Jonas Schnelli: [Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculation
< GitHub99> [bitcoin] laanwj closed pull request #7096: [Wallet] Improve minimum absolute fee GUI options (master...2015/11/feefix) https://github.com/bitcoin/bitcoin/pull/7096
< gmaxwell> wumpus: what do you need me working on for 0.12?
< GitHub104> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/9490bd71bdb4...327291af02d0
< GitHub104> bitcoin/master 114b581 Pieter Wuille: Prevector type
< GitHub104> bitcoin/master 327291a Wladimir J. van der Laan: Merge pull request #6914...
< GitHub22> [bitcoin] laanwj closed pull request #6914: Add pre-allocated vector type and use it for CScript (master...prevector) https://github.com/bitcoin/bitcoin/pull/6914
< GitHub24> [bitcoin] laanwj pushed 6 new commits to master: https://github.com/bitcoin/bitcoin/compare/327291af02d0...8f761e87c3fd
< GitHub24> bitcoin/master fad3035 MarcoFalke: [doc] Minor markdown fixes
< GitHub24> bitcoin/master fa22a10 MarcoFalke: contrib: Del. gitian downloader config and update gitian README
< GitHub24> bitcoin/master 9999cb0 MarcoFalke: Fix url in .travis.yml
< GitHub11> [bitcoin] laanwj closed pull request #7136: [trivial] Fix markdown, links and help messages (master...MarcoFalke-2015-trivial5) https://github.com/bitcoin/bitcoin/pull/7136
< gmaxwell> I am imagining wumpus all PullBo, a muscled, tanned warrior, with ammo belts around his shoulders, firing automatic weapons bursts into the forrest of pull requests in front of him.
< wumpus> hehehehe certainly feels that way
< wumpus> gmaxwell: final ack on https://github.com/bitcoin/bitcoin/pull/6915 would be nice
< wumpus> https://github.com/bitcoin/bitcoin/pull/6898 has no ACKs at all, not even untested or concept
< wumpus> https://github.com/bitcoin/bitcoin/pull/6872 needs rebase, and BlueMatt has no time to do it until tomorrow
< wumpus> those are the three left with milestone set to 0.12
< BlueMatt> i mean if it needs to happen now i could
< BlueMatt> was just in the middle of other things
< gmaxwell> BlueMatt: this is wumpus closing the 0.12 window; so, not great to wait.
< BlueMatt> argh
< BlueMatt> ok....will do in the next hour or so
< wumpus> if it is technically a bugfix it can go in after the branch split-off, but it saves everyone work to merge it now
< BlueMatt> yea, working on it now
< BlueMatt> fixing whitespace errors and shits
< BlueMatt> (and actually reviewing my code...)
< Luke-Jr> anything for me to rebase?
< wumpus> Luke-Jr: you could help testing https://github.com/bitcoin/bitcoin/pull/6898 :)
< BlueMatt> wumpus: it seems a bit late to be pushing 6898 in?
< BlueMatt> though I would really very much like to see it
< Luke-Jr> wumpus: I'm still mid-code review on that one, and also NACK it without 6357 :/
< wumpus> BlueMatt: that's also my opinion
< wumpus> BlueMatt: one idea was to add it as a 'getblocktemplatebeta' call, so that it is already as beta in 0.12 but if it turns out to have bugs, people can still use the old version
< Luke-Jr> might make more sense as a "beta" boolean parameter to getblocktemplate?
< Luke-Jr> no need to duplicate the RPC side
< * wumpus> hates adding parameters
< Luke-Jr> wumpus: GBT is explicitly designed to be nice about parameters
< Luke-Jr> there's an Object parameter for every GBT call, that can have any variety of keys
< wumpus> Luke-Jr: true, you're passing it as an object? right
< BlueMatt> wumpus: if we want to do a fix for gbt for 0.12, i think its https://github.com/bitcoin/bitcoin/pull/7104
< BlueMatt> phantomcircuit: ^ ?
< Luke-Jr> oh! I missed that one somehow
< gmaxwell> wumpus: make it a config option not another RPC. The reason is that it's burdensome to have to change your other software.
< gmaxwell> and I don't see much use to switching them on the fly.
< phantomcircuit> huh what
< phantomcircuit> oh yeah
< wumpus> "Reduce latency of switching to new block. I'm not really sure this is a good idea." hehe, that sounds even more unconvincing than "not tested on mainnet at all"
< Luke-Jr> gmaxwell: switching on the fly can be automatic degrading
< wumpus> gmaxwell: right...
< phantomcircuit> wumpus, i've actually tested it and it does what it's supposed to do
< BlueMatt> wumpus: well i dunno if it'll break existing pool software, maybe it should be optional
< Luke-Jr> phantomcircuit: does it, with multiple poolservers connected?
< gmaxwell> Luke-Jr: yea it could but I think it's not worth the other costs.
< Luke-Jr> phantomcircuit: seems like it might be better to just do the empty block on longpoll connections
< phantomcircuit> Luke-Jr, gbt takes 500-3000ms
< Luke-Jr> gmaxwell: a GBT parameter with a config default would be pretty trivial
< phantomcircuit> returning an empty block reduces that significantly
< wumpus> gmaxwell: yes an option makes more sense, only for e.g. comparison testing you'd want to be able to call both, and in that case you could run two bitcoinds
< BlueMatt> wumpus: but its definitely the smallest thing we can do that'll fix a bunch of the latency issues for gbt
< gmaxwell> wumpus: heh. I laughed at that too, but we shouldn't punish patches for being super frank. :)
< Luke-Jr> phantomcircuit: obviously; I don't see how that's related to my suggestion :p
< phantomcircuit> Luke-Jr, oh with multiple pool servers no it doesn't
< gmaxwell> Luke-Jr: would still require updating software. Come one, for BIP66 I recall having to pull teeth to get a new libblkmaker from you. :)
< BlueMatt> just a gbt option that says "I want no txn, DO AS I SAY" would probably be sufficient if we got pool software updated
< phantomcircuit> Luke-Jr, i couldn't figure out any way to support that without adding a full round trip though
< phantomcircuit> BlueMatt, no it's not because that would only work if you already knew there was a new block
< Luke-Jr> gmaxwell: it's strictly better to have param-with-config-default rather than config-only :p
< phantomcircuit> and most often you dont
< BlueMatt> phantomcircuit: huh? dont most pools know this because p2p told them?
< Luke-Jr> BlueMatt: that does sound ideal actually.
< BlueMatt> did we merge the pull-up?
< BlueMatt> no, we'd need https://github.com/bitcoin/bitcoin/pull/7037 too
< Luke-Jr> phantomcircuit: GBT is longpolled..
< phantomcircuit> BlueMatt, i dont think we should make that the default setup...
< BlueMatt> so https://github.com/bitcoin/bitcoin/pull/7037 plus a "I want no txn" option would be my vote
< BlueMatt> its a small patch and fixes the issues (mostly)
< Luke-Jr> "I want no txn" option can be set on longpoll requests too
< phantomcircuit> Luke-Jr, so what?
< Luke-Jr> phantomcircuit: so whether you use blocknotify or longpolling for new block notification, you can use "I want no txn"
< phantomcircuit> Luke-Jr, i guess if it was "i want to wait for a new block and then i want it to be zero"
< Luke-Jr> that's what longpolling is.
< phantomcircuit> Luke-Jr, tbh my suggested setup at the moment is "run gbt calls in an infinite loop, you've got cpu cycles to spare right??"
< Luke-Jr> (right now, longpoll will return with changed txn data too, but obviously you'd skip that when this flag is set)
< phantomcircuit> it actually does reduce latency btw
< Luke-Jr> phantomcircuit: that's stupid; you need those CPU cycles for the rest of the mining system
< BlueMatt> Luke-Jr: you dont have a multi-core processor?!
< Luke-Jr> BlueMatt: … yes, and all 16 cores are running poolservers (I think) :P
< BlueMatt> wtf
< BlueMatt> how did you manage to do that?
< gmaxwell> I think an "you can give me no txn" or "I want no txn" option on gbt would be ducky, it's already got lots of flags.
< gmaxwell> BlueMatt: python.
< Luke-Jr> BlueMatt: multiple instances with iptables load balancing
< Luke-Jr> oh, yeah, Python too
< BlueMatt> gmaxwell: fair point
< * Luke-Jr> stabs Python
< GitHub69> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/8f761e87c3fd...6abf6eb7bb77
< GitHub69> bitcoin/master 6e8b07f Suhas Daftuar: Add rounding helper function to util.py
< GitHub69> bitcoin/master 2b31ab9 Suhas Daftuar: Add rpc test for prioritisetransaction
< GitHub69> bitcoin/master 6abf6eb Wladimir J. van der Laan: Merge pull request #7063...
< phantomcircuit> Luke-Jr, the only way i can see making it optional is if long poll is also modified to not return when the mempool changes
< phantomcircuit> and then it would only work for people using long poll
< phantomcircuit> which clealry has the potential to foot gun
< phantomcircuit> and also why the hell do you have multiple pool servers talking to a single bitcoind instance?
< Luke-Jr> phantomcircuit: they all talk to multipel bitcoind instances :P
< phantomcircuit> Luke-Jr, so you've got like 8 pool servers which each talk to the same set of 8 bitcoind instances
< phantomcircuit> ?
< Luke-Jr> phantomcircuit: I don't know the exact setup details; I am speaking hypothetically from a vague understanding.
< phantomcircuit> Luke-Jr, yeah ok it doesn't support that, but im not sure i really much care since that sounds like a bad idea
< Luke-Jr> phantomcircuit: …
< BlueMatt> lol, so all previous tests of #6872 are insane
< Luke-Jr> probably should close https://github.com/bitcoin/bitcoin/pull/6451 since it's past Nov 11
< gmaxwell> Luke-Jr: I specifically decided to not do that because the date could be simply adjusted at any time.
< gmaxwell> Though it should probably be rebased and adjusted to feburary.
< Luke-Jr> if he makes it the upcoming subsidy halving point, I'd probably concept-ACK it. <.<
< gmaxwell> Not that we're going to merge it, but for people who are confused and think there is likely to be some grave emergency, it's not unreasonable to be able to _show_ that we have an emergency thing.
< phantomcircuit> Luke-Jr, ok i'll switch it such that only long poll responses will have empty blocks
< phantomcircuit> and all other responses will be normal
< Luke-Jr> https://github.com/bitcoin/bitcoin/pull/7128 has a bunch of utACKs, so I just rebased it
< wumpus> Luke-Jr: I had to laugh at "BaseParams(CBaseChainParams::MAIN).RPCPort(), BaseParams(CBaseChainParams::TESTNET).RPCPort())" - ut yes it makes sense
< wumpus> maybe break off the line for somewhat easier human parsing
< gmaxwell> FWIW, github lies, I think everything needs rebasing now, but github reports that for nothing.
< Luke-Jr> :/
< Luke-Jr> oh. master doesn't build. :|
< gmaxwell> oh maybe my rebasing kung fu is less bad than I thought.
< BlueMatt> LOL
< wumpus> let's first get master into a working/building state again then
< wumpus> hm it builds fine here
< BlueMatt> yea, builds fine here, too
< BlueMatt> tests also pass fine here...running build-in-crazy-confs-with-all-tests script
< BlueMatt> wumpus: https://github.com/bitcoin/bitcoin/pull/6872 <-- review away
< BlueMatt> wumpus: re: networking in gitian builder doc: I'd REALLY, REALLY prefer to remove all mention of how to get networking to work in the vm and just have a description of how to do it with no networking
< wumpus> BlueMatt: I agree but have you seen the section about running with no networking?
< wumpus> I don't want to force people through that for no good reason!
< Luke-Jr> Q_EMIT clientmodel->numBlocksChanged(pIndex->nHeight, QDateTime::fromTime_t(pIndex->GetBlockTime()), clientmodel->getVerificationProgress(pIndex));
< BlueMatt> wumpus: well we shouldnt tell people to use apt-cacher and should just have instructions to disable the auto-update
< Luke-Jr> this emits a signal for a different object?
< wumpus> with networking it just works, that's enough to build executables, maybe it's somehow cleaner or what to not require it, but I don't want to get it to work
< wumpus> Luke-Jr: eh huh
< BlueMatt> wumpus: hmm? if you just remove the gitian auto-update-apt step it should just work (tm) ?
< Luke-Jr> apparently Qt5 allows this, but not Qt4
< wumpus> if you remove apt-cacher then it will download and redownload the packages time after time from the miror, not very nice. Remember that it's not just the base system, the descriptors themselves also have package requirements
< wumpus> BlueMatt: it's too late to redesign gitian for 0.12
< BlueMatt> argh, ok
< phantomcircuit> Luke-Jr, would you be opposed to making longpoll return only when there's a new block?
< BlueMatt> we should do this for 0.13, though
< wumpus> Luke-Jr: still very uncivil to raise a signal on another object :)
< Luke-Jr> phantomcircuit: yes, that would result in only ever mining empty blocks :x
< wumpus> BlueMatt: for the further future I'd prefer deterministic building without any VMs at all, just a 'blessed' deterministic toolchain
< phantomcircuit> Luke-Jr, well no you would be calling gbt in parallel to the long poll but at a much reduced frequency from my current "lol infinite loop" version
< BlueMatt> wumpus: oh, we need #7022, too
< Luke-Jr> wumpus: so how shall we fix this? a dummy "raise the signal please" method? :p
< wumpus> Luke-Jr: I'll take a look at it..
< Luke-Jr> phantomcircuit: there is literally no reason to ever do a non-longpoll GBT
< Luke-Jr> phantomcircuit: and BFGMiner will in fact not do so, I think
< gmaxwell> builds fine for me on a guiless system.
< wumpus> gmaxwell: yes, only qt4 buildsfail
< Luke-Jr> gmaxwell: lol, of course it builds guiless :P
< wumpus> qt5 or guiless works fine
< wumpus> that's why I don't notice it either, I haven't used qt4 for more than a year
< * Luke-Jr> waits for a usable Qt5 DE :/
< midnightmagic> gonna be waiting a while.
< wumpus> Luke-Jr: qt creator is not qt5?
< phantomcircuit> Luke-Jr, well there is though
< wumpus> oh, what's DE?
< phantomcircuit> Luke-Jr, even with this you need at least two bitcoind instances to get absolute best latency
< Luke-Jr> wumpus: Desktop Environment
< phantomcircuit> one that's long polling and another that's calling gbt in a loop
< phantomcircuit> ie one that returns transaction
< phantomcircuit> otherwise the cs_main lock will add on average 500ms+ of latency to the long poll result
< Luke-Jr> phantomcircuit: when longpollid is a previous block, return an empty one with a longpollid that then gets returned with a full block immediately.
< wumpus> oof he's using Q_EMIT cross-thread
< Luke-Jr> wumpus: that sounds scary. :|
< wumpus> I had no idea that even worked, used QMetaObject::invokeMethod to manually queue messages
< wumpus> which apparently works in qt4, so going to do that here too
< phantomcircuit> Luke-Jr, that's actually the same thing thanks to random distribution of blocks
< phantomcircuit> i guess really it doesn't much matter since you need cs_main for both empty blocks and filling the template
< phantomcircuit> so either way there will be some latency from it
< Luke-Jr> wumpus: in the meantime, I'll work on getting Travis to test Qt4
< wumpus> Luke-Jr: makes sense for as long we still support it
< GitHub93> [bitcoin] luke-jr opened pull request #7142: [WIP] Travis: Test build against system Qt4 (master...travis_qt4) https://github.com/bitcoin/bitcoin/pull/7142
< GitHub181> [bitcoin] laanwj opened pull request #7143: qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodel (master...2015_12_qt4_build) https://github.com/bitcoin/bitcoin/pull/7143
< Luke-Jr> hm, I guess I should rebase mine off that XD
< wumpus> please test it too, I haven't yet :)
< Luke-Jr> yes, of course
< Luke-Jr> phantomcircuit: you active mining testnet? ;)
< * Luke-Jr> wonders what he needs to look for to change in the UI to test this properly
< phantomcircuit> Luke-Jr, i believe that im currently 100% of testnet actually
< Luke-Jr> phantomcircuit: as long as there's new blocks..
< Luke-Jr> wumpus: qt/clientmodel.cpp:257:56: error: macro "Q_ARG" requires 2 arguments, but only 1 given
< wumpus> ninja-edit fail, try again
< wumpus> --with-incompatible-bdb-and-just-shut-up
< Luke-Jr> apparently the one node my client found is not giving me blocks. anyone have a working testnet node I can peer with?
< Luke-Jr> hmm, 7 peers now and no syncing :/
< phantomcircuit> Luke-Jr, huh my nodes all have 125 connections...
< Luke-Jr> looks like syncing is just broken :|
< phantomcircuit> Luke-Jr, i dont think so
< phantomcircuit> Luke-Jr, pm'd you one
< Luke-Jr> phantomcircuit: it didn't work to add yours. I had to restart my node and add you first :\
< phantomcircuit> Luke-Jr, yeah you have to wait for the other requests to timeout
< phantomcircuit> iirc it's approximately forever
< Luke-Jr> I waited a while
< phantomcircuit> it's like ten minutes or something
< Luke-Jr> ew
< phantomcircuit> there's someone running bitcoinseeder and sybil attacking testnet
< phantomcircuit> seems to be doing a pretty decent job too
< phantomcircuit> shrug
< Luke-Jr> wumpus: looks good
< Luke-Jr> going to bed, I'll finish up in 8 hours, night
< wumpus> night
< BlueMatt> wumpus: we need #7022, too
< BlueMatt> oh, and #6872 is ready
< GitHub47> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/6abf6eb7bb77...9afbd96919af
< GitHub47> bitcoin/master 50947ef Alex Morcos: Change default block priority size to 0...
< GitHub47> bitcoin/master 9afbd96 Wladimir J. van der Laan: Merge pull request #7022...
< GitHub77> [bitcoin] laanwj closed pull request #7022: Change default block priority size to 0 (master...defaultPrioritySize) https://github.com/bitcoin/bitcoin/pull/7022
< GitHub85> [bitcoin] laanwj pushed 9 new commits to master: https://github.com/bitcoin/bitcoin/compare/9afbd96919af...2ef5ffa59afa
< GitHub85> bitcoin/master 0c9959a Matt Corallo: Add failing test checking timelocked-txn removal during reorg
< GitHub85> bitcoin/master 9b060e5 Matt Corallo: Fix removal of time-locked transactions during reorg
< GitHub85> bitcoin/master b0a064c Matt Corallo: Fix comment in removeForReorg
< GitHub180> [bitcoin] laanwj closed pull request #6915: [Mempool] Improve removal of invalid transactions after reorgs (master...fix-reorg-handling) https://github.com/bitcoin/bitcoin/pull/6915
< GitHub117> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/2ef5ffa59afa...a60538bc456c
< GitHub117> bitcoin/master 6da12df Wladimir J. van der Laan: qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodel...
< GitHub117> bitcoin/master a60538b Wladimir J. van der Laan: Merge pull request #7143...
< GitHub146> [bitcoin] laanwj closed pull request #7143: qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodel (master...2015_12_qt4_build) https://github.com/bitcoin/bitcoin/pull/7143
< GitHub161> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/a60538bc456c...c0c08c7c68d0
< GitHub161> bitcoin/master aabc897 Wladimir J. van der Laan: rpc: Don't translate warning messages...
< GitHub161> bitcoin/master c0c08c7 Wladimir J. van der Laan: Merge pull request #7141...
< GitHub63> [bitcoin] laanwj closed pull request #7141: rpc: Don't translate warning messages (master...2015_12_warnings_translations) https://github.com/bitcoin/bitcoin/pull/7141
< GitHub159> [bitcoin] laanwj pushed 1 new commit to master: https://github.com/bitcoin/bitcoin/commit/bc1f4275705a6aae03ce439cd317ec4166075c08
< GitHub159> bitcoin/master bc1f427 Wladimir J. van der Laan: qt: periodic translations update
< GitHub167> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/bc1f4275705a...16f4a6e0fe26
< GitHub167> bitcoin/master cfdc662 Suhas Daftuar: Explicitly set chain limits in replace-by-fee test
< GitHub167> bitcoin/master 16f4a6e Wladimir J. van der Laan: Merge pull request #7137...
< GitHub145> [bitcoin] laanwj closed pull request #7137: Tests: Explicitly set chain limits in replace-by-fee test (master...fix-rbf-test) https://github.com/bitcoin/bitcoin/pull/7137
< wumpus> #6898 and #6872 need rebasing again, sorry for that, but this is what is bound to happen if so many merges wait until the last day
< MarcoFalke> wumpus try $ for i in {1..100}; do src/test/test_bitcoin --log_level=ALL --run_test=scheduler_tests;done
< MarcoFalke> Does this run fine?
< wumpus> MarcoFalke: no time to check at the moment, but I'm ok with disabling the scheduler tests if people are experiencing issues with them
< jonasschnelli> would it make sense to auto-choose a higher nDefaultDbCache in case bitcoind/qt detects more available ram?
< wumpus> (if so many people can reproduce them it doesn't mean much whether I can or not anyway...)
< wumpus> jonasschnelli: *up to a limit*
< jonasschnelli> I think for most modern server systems 100MB (current default) is very low.
< wumpus> jonasschnelli: e.g. scale down for small systems, scale up a bit for large systems, but please don't make an application use X% of ram indiscriminately.That's awful and rude.
< jonasschnelli> Hmm... right... maybe its fine if the user just tweaks the -dbache manually.
< jonasschnelli> sipa asked about adding a option in Qt ("provide X MB of ram for bitcoin-qt")...
< wumpus> e.g. say you buy more ram because your system is slow/runs out of memory, next boot some background applications start claiming it all, and it's like nothing changed
< jonasschnelli> hah. right.
< wumpus> jonasschnelli: usually such a thing is done by having multiple system profiles, and allowing the user to choose between them (and having a custom option for advanced users)
< wumpus> jonasschnelli: it could auto-select one based on some information gathered from the system
< jonasschnelli> Yes. That would be nice...
< wumpus> just make clear what the compromise is: sync is somewhat slower, but less RAM usage, sync is faster, but lots of RAM waste
< jonasschnelli> Is changing the cache size during runtime possible? (CCoinsViewDB), flushing, deleting pcoinsdbview and recreating it?
< wumpus> hm or maybe an option to reduce the dbcache after the initial sync?
< jonasschnelli> wumpus: this is a very good point. A big cache size mainly helps for IBD performance...
< wumpus> right now it's not possible to change the dbcache size during run time. I don't think it would be very hard to add if necesary, at least for the coinsviewcache
< wumpus> (dbcache is divided up between some caches, I don't know if they're all easy to resize/reconfigure)
< sipa> the leveldb cache may be harder to change
< jonasschnelli> sipa, LOCK, flush CCoinsViewDB, delete CCoinsViewDB, new CCoinsViewDB, UNLOCK?
< sipa> hell no
< wumpus> you don't need to delte it, you could just add a method to change the limit?
< jonasschnelli> :-)
< sipa> don't delete the cache!
< sipa> but you'll need to recalculate how much to assign to leveldb etc
< wumpus> which flushes if the new size is smaller thant he current size, if it is a strict increase then even that is not needed
< wumpus> yes, you need to recompute those
< wumpus> for leveldb it does seem you have to close and reopen the database to change the cache size
< GitHub180> [bitcoin] laanwj closed pull request #7063: [Tests] Add prioritisetransaction RPC test (master...add-prioritisetransaction-rpctest) https://github.com/bitcoin/bitcoin/pull/7063
< sipa> now it would be useful if someone would benchmark how much leveldb cache is optimal :)
< wumpus> right, it's very possible for there to be diminishing returns there sooner than for ccoinsviewcache
< sipa> the numbers that are in there now are only based on very simple (and outdated) benchmarks
< phantomcircuit> sipa, im guessing "more"
< wumpus> I would be surprised if it makes much of a difference at all
< tulip> I'm having a quick shot at testing it now.
< wumpus> ccoinsview cache is somewhat wasteful in memory but it's so much more effective, I don't think increasing leveldb cache can compete
< wumpus> (if it competes for the same bytes of memory)
< wumpus> and I'm even more in doubt about nBlockTreeDBCache's effectiveness
< wumpus> from the viewpoint of runtime, the block tree db is a write-only database
< wumpus> oh we take care of that // block tree db cache shouldn't be larger than 2 MiB
< GitHub68> [bitcoin] laanwj opened pull request #7144: test: Disable scheduler test manythreads (master...2015_12_disable_schedulertest) https://github.com/bitcoin/bitcoin/pull/7144
< jgarzik> What are the hurdles blocking relay of new blocks in pruned mode?
< tulip> would almost be nice to have a short, but intense "bench" chain of a few hundred blocks for testing configuration changes.
< phantomcircuit> jgarzik, not having NODE_NETWORK set is iirc the only one really
< tulip> problem with the main chain is that there's a bunch of empty which doesn't really represent the current load.
< jgarzik> My VPS has reached its space limit, and I want to continue contributing usefully to the network ;p
< phantomcircuit> do we have an rpc call that will essentially walk the entire utxo and pull it into cache? (yes i have all the memory)
< phantomcircuit> gettxoutsetinfo seems to walk but avoid the cache layer
< GitHub54> [bitcoin] jtimon opened pull request #7145: Mempool: Improve mempool's concurrency (master...mempool-estimator) https://github.com/bitcoin/bitcoin/pull/7145
< jtimon> morcos: sipa BlueMatt I hope that if we can't agree on https://github.com/jtimon/bitcoin/commit/3c30cea7245a2fd44bbd9cf8844c6730855f63e4 , at least we can agree on #7145
< jgarzik> phantomcircuit, I think it's more there's a grey area about how nodes will behave if a remote peer only has a subset of the full chain - sometimes they can respond to block requests, sometimes not.
< jgarzik> phantomcircuit, older nodes that don't getheaders might get stuck in IBD?
< jtimon> and if #7145 cannot be accepted for some reason, there's probably no point in me participating on any mempool/policy encapsulation anymore, and I will be able to stop distracting other devs and myself with it
< phantomcircuit> jgarzik, older peers would definitely get stuck
< phantomcircuit> hmm it seems the only way to "prime" the cache view is to reindex...
< GitHub54> [bitcoin] paveljanik opened pull request #7146: Name union to prevent compiler warning (master...20151201_prevector_name_union) https://github.com/bitcoin/bitcoin/pull/7146
< jgarzik> hmmm. !NODE_NETWORK should have no problem relaying blocks... they just won't get asked for them.
< * jgarzik> goes to test
< phantomcircuit> jgarzik, correct
< phantomcircuit> (probably)
< sdaftuar> jgarzik: the headers announcements PR should mean that pruned nodes can relay blocks just fine now
< sdaftuar> including if there's a reorg that isn't more than 8 blocks
< jgarzik> sdaftuar, for keeping !node_network you mean? Because otherwise that doesn't fix older nodes that would get stuck
< jgarzik> I wonder if we need NODE_RELAY
< sdaftuar> i'm specifically talking about relaying new blocks, not helping other nodes sync
< sdaftuar> ah are you asking what it would take to let pruned nodes serve up historical blocks?
< jgarzik> No just looking at all the angles of pruning with fresh eyes
< jgarzik> even with !node_network and just relaying new blocks, I presume a block locator can still be returned at a pruned boundary-and-beyond
< sipa> yes, locators are built from the block index
< sipa> they don't need the actual blocks
< sdaftuar> so i think 0.9 and earlier nodes will download blocks in a reorg from a pruned peer fine via their getblocks mechanism
< sdaftuar> we patched the getblocks response so that it won't return inv's for blocks that aren't on disk
< sdaftuar> 0.10 and 0.11 nodes will indeed not be able to download reorgs from pruned peers
< sdaftuar> 0.12 and later nodes should work fine for downloading reorgs from pruned peers, via the direct-fetch mechanism on headers messages
< sipa> will 0.10 and 0.11 get disconnected if they try?
< sdaftuar> they won't even try
< jgarzik> Sounds like pruned nodes should only announce blocks to >= 0.12 peers
< sipa> we still need granulatiy in the service flags
< sdaftuar> well there's not much harm in inv'ing the tip to 0.11 and earlier peers is there?
< sipa> as even 0.12 just won't connect to non-network nodes
< sipa> sdaftuar: it may hide problems, i wouldn't
< jgarzik> thus the proposed NODE_RELAY
< sipa> sdaftuar: people may think that it works fine, until it doesn't due to reorg
< sdaftuar> hmm... we merged that change a long time ago (to relay the tip)
< sipa> oh well
< jgarzik> pruning defaults to off so nearly nobody uses it
< jgarzik> plenty of freedom to change
< sdaftuar> it's not too late i suppose to change it so that in 0.12, pruning nodes only relay if headers announcements are on?
< sipa> sdaftuar: that does seem reasonable
< sdaftuar> 0.11 didn't have relay on for pruning at all, so no expectations yet about how it should work i'd guess
< jgarzik> nod
< sdaftuar> it does needlessly harm 0.9 and 0.8 nodes... but probably not many of those left
< sipa> sdaftuar: what if there is a +8 deep reorg?
< sdaftuar> then we revert to inv
< phantomcircuit> Luke-Jr, fyi switching to longpoll significantly increased my latency
< phantomcircuit> by like 4 seconds
< sipa> in the test framework is there anything i need to do to call a new RPC?
< sipa> JSONRPC error: Method not found
< sipa> sounds like bitcoind actually doesn't have it?
< sipa> (this is for getblockheader)
< GitHub55> [bitcoin] jtimon reopened pull request #7115: Mempool: Decouple CBlockPolicyEstimator from CTxMemPool (fix #6134) (master...6134-nits) https://github.com/bitcoin/bitcoin/pull/7115
< wumpus> sipa: no, should be nothing you have to do
< sipa> wumpus: i used a wrong variable name
< wumpus> okay
< GitHub38> [bitcoin] MarcoFalke opened pull request #7147: Univalue: Pull subtree (master...MarcoFalke-2015-univalueSync) https://github.com/bitcoin/bitcoin/pull/7147
< gmaxwell> jgarzik: pruned nodes have relayed fine at the tip in master, though if there are reorgs they won't advertise them; with later changes they should also handle reorgs but I don't know if anyone has really tried that. I kept a node behind a pruned node for a while a month or so ago until moving on to test other things.
< jgarzik> Ideal goal is a lightweight router mode that contributes usefully to the network (subjective definition, I know)
< gmaxwell> well we have that now, fortunately (I think), we can't yet signal it explicitly-- though for blocks at the top we don't have to-- it'll just work; though I think it's probably good to finish hammering out what a pruned node is before we define a service flag as signifying the minimum it must be willing to do.
< GitHub29> [bitcoin] jtimon closed pull request #7115: Mempool: Decouple CBlockPolicyEstimator from CTxMemPool (fix #6134) (master...6134-nits) https://github.com/bitcoin/bitcoin/pull/7115
< GitHub119> [bitcoin] jtimon closed pull request #7145: Mempool: Improve mempool's concurrency (master...mempool-estimator) https://github.com/bitcoin/bitcoin/pull/7145
< GitHub13> [bitcoin] MarcoFalke opened pull request #7148: [WIP] Run extended nightly builds in travis (master...travis/nightly) https://github.com/bitcoin/bitcoin/pull/7148
< GitHub22> [bitcoin] MarcoFalke closed pull request #7084: mempool: Replace maxFeeRate of 10000*minRelayTxFee with maxTxFee (master...MarcoFalke-2015-mempoolMaxTxFee) https://github.com/bitcoin/bitcoin/pull/7084
< GitHub90> [bitcoin] sipa pushed 7 new commits to master: https://github.com/bitcoin/bitcoin/compare/16f4a6e0fe26...4077ad20d03f
< GitHub90> bitcoin/master c49d5bc Alex Morcos: Store the total sig op count of a tx....
< GitHub90> bitcoin/master f3fe836 Alex Morcos: Add a score index to the mempool....
< GitHub90> bitcoin/master 7230187 Alex Morcos: Add TxPriority class and comparator
< GitHub194> [bitcoin] sipa closed pull request #6898: Rewrite CreateNewBlock (master...fasterCNB) https://github.com/bitcoin/bitcoin/pull/6898
< GitHub151> [bitcoin] MarcoFalke reopened pull request #7084: mempool: Replace maxFeeRate of 10000*minRelayTxFee with maxTxFee (master...MarcoFalke-2015-mempoolMaxTxFee) https://github.com/bitcoin/bitcoin/pull/7084
< morcos> sipa: woohoo thanks! now i can start changing it again. :)
< Luke-Jr> sigh, so I guess I'm going to need to strongly recommend miners not upgrade to 0.12?
< morcos> Luke-Jr: or you could still advocate for 6357 to be merged... but honestly i don't think it makes much difference, have you looked how different it is to only use original in-chain inputs?
< morcos> For instance if you are not sending chains of txs, then there is no difference
< morcos> if your tx has at least a significant part of its inputs already in the chain, then it'll still increase in priority and eventually get mined
< morcos> (or course assuming its not evicted before that)
< Luke-Jr> morcos: hm, that's a point.. and I guess the bad policy default (priority size = 0) can be overridden still
< Luke-Jr> 6357 appears to have been auto-closed by bad GitHub logic.. are you able to reopen it?
< morcos> yes i really don't think its that bad
< morcos> i assume i could, it might need rebasing, but if you really want it, why don't you just take the commits. i'd prefer to have you come around to the view that 7008 (lower bound priority) is really good enogh especially with the tradeoff with complexity
< Luke-Jr> 7022 is pretty bad :/
< Luke-Jr> morcos: "complexity" as in CPU time is a consideration, but not "complexity" as in a few more lines of code since I'm going to need to maintain that code regardless of whether it's in Core or not.
< sipa> Luke-Jr: i really don't believe the existing priority system is worth maintaining; it is a burden on performance and maintainance
< Luke-Jr> in practice, it's more complexity in LOC/maintenance to have it NOT in master
< sipa> that's your view
< morcos> Luke-Jr: the complexity i'm concerned with is complexity of correctness
< sipa> i have no problem with creating a mechanism that takes coins value/age into account for prioritization, however
< Luke-Jr> sipa: that's my view, as the guy maintaining the mining stuff..
< sipa> Luke-Jr: i know that's your view; i respectfully disagree, and i'm not alone
< morcos> sipa: i love it how even you have your irrational pet projects. :)
< sipa> morcos: if everything in bitcoin was rational, nobody would have started using it
< Luke-Jr> sipa: your disagreement appears to be about a cost that I bear specifically.
< jgarzik> It's a feature specifically -for- miners. What do -most- miners want? Can't make a specifically-for-mining feature that miners don't use :)
< Luke-Jr> unless I have misunderstood that, I ask that my evaluation of my own costs be respected with a slightly higher weight :/
< Luke-Jr> jgarzik: majority of miners have no business dictating what minority of miners do. and lots of miners *do* use the priority space.
< morcos> Luke-Jr: priority is irrepairably broken with 0.12 and limited mempools that don't respect it
< Luke-Jr> the miners who have disabled it, have done so because of the performance issues that are now fixed
< morcos> when we somehow decided to not address that or failed to decide to address it
< morcos> i think we put ourselves clearly on the path to removing priority
< Luke-Jr> morcos: I thought we had decided to address it, but nothing got done :p
< Luke-Jr> morcos: but if that's a serious issue, then it puts us back to "miners should not upgrade to 0.12" :/
< morcos> that will be my first pull for 0.13, because its going to make so much easier to do everythign after. and i'll get to steal a bunch of deleted code lines that otherwise jgarzik woudl have gotten credit for :)
< sipa> 0.12 will work with priority fine as a miner, if you have a sufficiently large mempool
< Luke-Jr> after what?
< jgarzik> heh
< Luke-Jr> sipa: that seems like a reasonable expectation of miners IMO
< morcos> Luke-Jr: working with the rest of the mempool/mining code will be much easier when priority is gone
< sipa> but yes, it is my view (and i think of most other developers) that the priority as a separate sorting criterion will go away
< Luke-Jr> morcos: priority will never be gone
< morcos> it could theoretically be implemented by a quite complex companion program which just selectively applied feeDeltas i suppose
< Luke-Jr> morcos: it shouldn't need to be
< Luke-Jr> it should be as simple as it is now, or simpler.
< Luke-Jr> anything else is harmful to Bitcoin
< jgarzik> hyperbole
< jgarzik> Operative questions to me: (1) Do most CNB consumers care about this or just luke? (2) Is there a way to have cake & eat it too - perform a second pass for priority exclusively in the mining code for any stragglers that failed the first pass, applying some local map filter?
< jgarzik> with the goal of #2 being avoiding all the current complexity that the consensus of devs agrees is there
< Luke-Jr> do I need to go make a big deal about this on reddit etc to prove (1)?
< Luke-Jr> (most people right now don't know anything about this discussion and won't understand it without explaining the details.)
< jgarzik> a CNB consumer = a CNB user = a miner
< jgarzik> It sounds like the ideal solution is a post-pass filter for applying some site local policy
< jgarzik> maybe a pre-pass filter for spam filtering
< jgarzik> (though 99% of that happens via IsStandard)
< sipa> jgarzik: so the scoring for CNB is just a single sort function now, that could be overridden to be anything
< sipa> jgarzik: priority is more complicated because it needs re-evaluation
< sipa> so anything that doesn't need re-evaluation would be trivial to do
< jgarzik> nod - post-pass - picks up stragglers fee didnt'
< morcos> sdaftuar and i have been sitting here trying to figure out if there would be a nice way to add back (for 0.13) a way to fill a portion of the block with an alternate metric
< morcos> but the main thing i keep coming back to is non fee based metrics are broken for other purposes
< morcos> relay
< morcos> mempool limiting
< morcos> so how much benefit is there to be able to mine based on a metric if you can't ensure that txs with a high score will even propogate
< morcos> and by fee based, i mean including feeDelta
< Luke-Jr> morcos: you can't ensure anything with propagate ever
< morcos> we've certainly worked to make that still work, although to tell you the truth, i don't think we fixed pre-existing bugs for feeDelta not influencing ATMP
< morcos> also sdaftuar just pointed out feeDelta for trimming hasn't been merged yet, that should be tagged for 0.12
< morcos> should we also fix it so feeDelta applies for ATMP? seems like yes. that'll make it easier for people to experiment with whether using feeDeltas can get them close enough to achieving the policy they want
< morcos> but that would mean relaying based of feeDelta too
< sipa> i think that's reasonable
< sdaftuar> i can add a commit to 7062 to address that
< GitHub68> [bitcoin] luke-jr opened pull request #7149: Bugfix: Correctly calculate priority when inputs are mined after dependent transactions enter the memory pool (master...bugfix_priority) https://github.com/bitcoin/bitcoin/pull/7149
< Luke-Jr> morcos: ^
< Luke-Jr> sipa: re release notes "Unlike earlier versions, unconfirmed but non-conflicting transactions will never get a negative confirmation count." afaik that never could happen in earlier versions..?
< GitHub39> [bitcoin] pstratem opened pull request #7150: Print size of pcoinsTip cache in AcceptToMemoryPool (master...2015-12-1-printcachesize) https://github.com/bitcoin/bitcoin/pull/7150
< sipa> Luke-Jr: by conflicting i mean conflicting with the chain
< Luke-Jr> sipa: I'm aware..
< sipa> earlier, conflicting with the mempool was enough to get -1 confirms
< Luke-Jr> ah
< Luke-Jr> was that actually possible? O.o
< sipa> maybe it was very hard to reach that
< sipa> as the wallet tried to get its transactions in the mempool at startup
< Luke-Jr> I wonder if this should be considerd a bugfix and backported
< sipa> i agree the explanation there is confusing
< Luke-Jr> maybe with a min(-1) on the count
< sipa> it's mostly needed because of mempool eviction
< sipa> so i wouldn't consider it a bugfix pre-0.12
< Luke-Jr> k
< Luke-Jr> 7096 has me confused about whether it is a fix, part fix, or what :|
< jtimon> ping #6625
< GitHub150> [bitcoin] luke-jr opened pull request #7151: Revert default block priority size to 50k (master...revert_priodef) https://github.com/bitcoin/bitcoin/pull/7151
< gmaxwell> Luke-Jr: On the priority stuff, why not make it work so that it can run using an external policy server that adjusts the transaction score (feerate) using the rpc?
< gmaxwell> Luke-Jr: then that gets policy beyond the basic behavior out of bitcoind, and probably fixes all the performance concerns too.
< Luke-Jr> gmaxwell: that makes policy unnecessarily and gratuitously complicated to implement.
< Luke-Jr> and doesn't address the mempool side
< gmaxwell> But it's good because it makes it infinitely configurable without turning everyone into a bitcoind hacker.
< Luke-Jr> gmaxwell: I'm already working on an infinitely-configurable change that doesn't gratuitously complicate things.. but it takes time :/
< gmaxwell> The eviction uses the modified score (feerate), no? so it's only ingress thats not addressed.
< gmaxwell> also the process I described is inherently safe, inside bitcoind if a miner configures things (esp by hacking code) they risk making their daemon crash.
< gmaxwell> And can't do things like so anti-spam analysis or what not because its in the critical path.
< Luke-Jr> gmaxwell: none of this is possible for 0.12
< gmaxwell> an external daemon would work with git master right now.
< jgarzik> for ingress, pass firstseen rejected TXs to external as well