< bitcoin-git> [bitcoin] kallewoof opened pull request #10303: [bench] Include ms/blk stats in Connect* benchmarks. (master...bench-add-per-block-stats) https://github.com/bitcoin/bitcoin/pull/10303
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/80c3a734298e...8d6d43e9338a
< bitcoin-git> bitcoin/master b297426 Pieter Wuille: Add -stopatheight for benchmarking
< bitcoin-git> bitcoin/master 8d6d43e Wladimir J. van der Laan: Merge #10290: Add -stopatheight for benchmarking...
< bitcoin-git> [bitcoin] laanwj closed pull request #10290: Add -stopatheight for benchmarking (master...shutdown_at_height) https://github.com/bitcoin/bitcoin/pull/10290
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/8d6d43e9338a...9c33ffd38764
< bitcoin-git> bitcoin/master 0ff9320 jonnynewbs: refactor TxToJSON() and ScriptPubKeyToJSON()
< bitcoin-git> bitcoin/master 9c33ffd Wladimir J. van der Laan: Merge #8824: Refactor TxToJSON() and ScriptPubKeyToJSON()...
<@wumpus> gmaxwell: sipa: I'm just worried that taking up the concern of doing proper seeding in bitcoin core itself, without anyone else looking at it or using it, will result in a worse outcome for us. Allthe platform specific stuff is a hell to maintain, and it forces us to stay up to date in developments in that area
<@wumpus> a person can't be a specialist in everything, and neither can a project, I think
< gmaxwell> someone else writing it doesn't magically make it good however, it can just be a way to launder bad code.
< wumpus> yes, that is true too
< gmaxwell> the openssl code smells pretty bad. (in particular, IIRC if it's unable to open any strong random device it keeps on going)-- but it does at least have the benefit of being widely used. I too am not keep on platform specfifc code, we don't want to have a case where someone runs on BeOS and doesn't get randomness at all because /dev/urandom is symlinked ot /dev/zero and how were we so stupid as t
< gmaxwell> o not know this and account for it. :P
< wumpus> but someone else cooporating on it outside the context of bitcoin core (which is pretty narrow) isn't necessarily bad
< gmaxwell> The challenge we have for doing a general RNG library which you suggested before (we tried) is that our needs are pretty different and addressing it in the general case is really really hard. In particular, other applications have strong performance requirements that necessitates lockfree state management, while at the same time handling forced RNG reseeding across forks. The approaches people
< gmaxwell> have come up with for this are ugly and pretty platform specific. And these are both properties that we don't need.
< wumpus> yes, defending openssl in that regard is pretty pointless
< gmaxwell> (they're handling the fork transisition stuff using things like special page flags that cause tagged pages to get zeroed on fork ... and other similar functionality that is different on every OS that implements something like it)
< wumpus> "In particular, other applications have strong performance requirements that necessitates lockfree state management" then we explicitly exclude those
< wumpus> the kind of thing I'm thinking of it other wallets
< gmaxwell> ('there' in this case referring to other people attempting general RNG code.)
< wumpus> usually need low-frequency, but very good entropy
< gmaxwell> okay we could do something that would perhaps mostly only be used by other bitcoin things.
< gmaxwell> (or cryptocurrency rather)
< wumpus> yup other cryptocurrency and things that need strong keys
< wumpus> it's a growing space at least
< wumpus> indeed I don't care the least about satisfying any need for randomness for any project in existence
< wumpus> but improving wallets in general would already be a nice aim
< gmaxwell> well one thing that was suggested was just doing initial seed generation as a library, which is basically all you need for most wallet keygen things, and has the least concern.
< wumpus> yup
< wumpus> then we agree I guess :)
< gmaxwell> okay, thats a fine scope.
< wumpus> I sometimes wonder what gpg's key generation does
< wumpus> this is the only non-wallet example of a long term key, not easy to replace, potential disaster if compromised, that I can think of right now
< kallewoof> Maybe bitcoin could use libgcrypt (GnuPG uses it for keys, I think; it has a bunch of random things) instead of OpenSSL. Though it seems to be LGPL. Some parts of it are dual MPL-compat though, like random-drbg.c
< kallewoof> "a bunch of random things" = "a bunch of things related to RNG"
< kallewoof> Uh, meant MIT, not MPL
< bitcoin-git> [bitcoin] kallewoof opened pull request #10304: [rpc] Allow a txid param in getrawmempool (master...getrawmempool-include-txid) https://github.com/bitcoin/bitcoin/pull/10304
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/9c33ffd38764...492d22f92919
< bitcoin-git> bitcoin/master 85f950a Jimmy Song: [test] Add tests for getconnectioncount, getnettotals and ping...
< bitcoin-git> bitcoin/master 492d22f MarcoFalke: Merge #10264: [test] Add tests for getconnectioncount, getnettotals and ping...
< bitcoin-git> [bitcoin] MarcoFalke closed pull request #10264: [test] Add tests for getconnectioncount, getnettotals and ping (master...test_netrpccalls) https://github.com/bitcoin/bitcoin/pull/10264
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/492d22f92919...e2b99b13131b
< bitcoin-git> bitcoin/master 7c58863 Gregory Sanders: [Wallet] unset change position when there is no change on exact match
< bitcoin-git> bitcoin/master e2b99b1 Wladimir J. van der Laan: Merge #10294: [Wallet] unset change position when there is no change...
< bitcoin-git> [bitcoin] laanwj closed pull request #10294: [Wallet] unset change position when there is no change (master...fixchangepos) https://github.com/bitcoin/bitcoin/pull/10294
< bitcoin-git> [bitcoin] TheBlueMatt opened pull request #10305: Fix potential NPD introduced in b297426c (master...2017-05-fix-10290-npd) https://github.com/bitcoin/bitcoin/pull/10305
< BlueMatt> should #10294 not get backported?
< gribble> https://github.com/bitcoin/bitcoin/issues/10294 | [Wallet] unset change position when there is no change by instagibbs · Pull Request #10294 · bitcoin/bitcoin · GitHub
< BlueMatt> (are we backporting for a theoretical 0.14.2?)
< instagibbs> definitely should be if there is a 0.14.2
< instagibbs> imo
< sipa> agree
< jl2012> is the blockchain database of 0.9 compatible with 0.13?
< sipa> yes
< sipa> 0.8.0 through 0.14.1 should have compatible chainstates
< sipa> (forward and backward)
< jl2012> thanks
< sipa> actually, op_return pruning was added in between somewhere, if you downgrade, the startup check may complain
< gmaxwell> uh, no.
< gmaxwell> chainstate obfscuation was introduced around 0.11.x
< sipa> oh!
< gmaxwell> (maybe in 0.12.0?)
< sipa> indeed, 0.12.0
< jl2012> ok. So my case is: I have a working 0.9 node, and I want to minimize the time to IBD a 0.13 node . Should I just copy the blocks folder?
< sipa> copy the blocks folder and the chainstate
< sipa> copy the chainstate first, while the node is offline
< sipa> the blocks dir can be copied later (and the node can have run in between)
< jl2012> but I have to keep it online
< jl2012> so it will corrupt?
< luke-jr> could try lsyncd I guess
< bitcoin-git> [bitcoin] tjps closed pull request #10182: [scheduler] Switched CScheduler to C++11 threading primitives (master...tjps_scheduler) https://github.com/bitcoin/bitcoin/pull/10182
< SopaXorzTaker> sipa, what's this bounty? http://permalink.gmane.org/gmane.comp.bitcoin.devel/3089
< BlueMatt> cfields: lol, so I've now got a long branch with a bunch of scripted diffs that make CBlockIndexes outside of validation (and mostly outside of CChainState) all const :p
< BlueMatt> guess that stuff /is/ useful :p
< SopaXorzTaker> (on-topic to core dev)
< cfields> :)
< BlueMatt> also, yay, const access to validation outside of validation!
< sipa> SopaXorzTaker: why do you ask me?
< BlueMatt> crazy, yo
< sipa> SopaXorzTaker: ask the person who sent that mail
< bitcoin-git> [bitcoin] jnewbery opened pull request #10307: [tests] allow zmq test to be run in out-of-tree builds (master...fix_zmq_test_out_of_tree) https://github.com/bitcoin/bitcoin/pull/10307
< BlueMatt> cfields: re: 10189: instead of TRAVIS_COMMIT_RANGE might it make sense to go back until the nearest merge commit?
< cfields> BlueMatt: why? I believe TRAVIS_COMMIT_RANGE includes the merge commit it creates
< BlueMatt> well i meant eg for private repo runs
< BlueMatt> it'd be nice, but i guess doesn't matter /that/ much
< BlueMatt> it just feels weird that it would only be tested on prs
< cfields> BlueMatt: ah, I hadn't even considered non-PRs. Yes.
< cfields> BlueMatt: can probably diff to branch point
< SopaXorzTaker> the addresses belong to gmaxwell and jgarzik, and one more
< SopaXorzTaker> let's extort them, muhahah
< SopaXorzTaker> (offtoipic end)
< BlueMatt> cfields: i guess doesnt matter for first version in pr
< BlueMatt> cfields: hmmm, I cant run the script locally
< cfields> BlueMatt: Well, actually, it may break for simple pushes (not sure, I have those disabled). I assume TRAVIS_COMMIT_RANGE is empty for those.
< BlueMatt> I get "bash: !b}: event not found"
< SopaXorzTaker> ROLL, ROT, SWAP
< cfields> BlueMatt: got a branch I can look at?
< BlueMatt> cfields: I'm literally just running the command manually
< SopaXorzTaker> that's a lifetime of a TX script in a nutshell
< BlueMatt> that line fails
< BlueMatt> SopaXorzTaker: thanks, but lets keep this on-topic :) people often read scrollback and its very rude when there is a bunch of chatter that is off-topic in the scrollback that people have to spend time reading later
< SopaXorzTaker> +
< cfields> BlueMatt: hmm, unsure. Does it object to the sed syntax?
< BlueMatt> cfields: yes, I assume its the last part of the sed line (that is the only place with a !b)
< BlueMatt> but its bash complaining, not sed
< cfields> BlueMatt: i'm not sure why it would matter in a script, but it sounds like history expansion's kicking in. Does using ' ' instead fix it?
< BlueMatt> using ' ' where?
< * BlueMatt> is not fluent in sed
< cfields> BlueMatt: sec
< cfields> yea, i can reproduce when running the sed script by hand. Must be some interactive/non-interactive difference
< BlueMatt> oh strange
< BlueMatt> ah, heh
< BlueMatt> s'pose i should have tried that
< cfields> I'll fix that and add a quick change to make it only run on PRs
< BlueMatt> thanks
< bitcoin-git> [bitcoin] tjps opened pull request #10308: [wallet] Securely erase potentially sensitive keys/values (master...tjps_secure_erase) https://github.com/bitcoin/bitcoin/pull/10308
< cfields> pushed (we'll see if travis likes those)
< bitcoin-git> [bitcoin] CryptAxe opened pull request #10309: Trivial: remove extra character from comment (master...typoquestion) https://github.com/bitcoin/bitcoin/pull/10309
< bitcoin-git> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/e2b99b13131b...ab1f1d324691
< bitcoin-git> bitcoin/master 3503716 CryptAxe: Trivial: remove extra character from comment
< bitcoin-git> bitcoin/master ab1f1d3 Pieter Wuille: Merge #10309: Trivial: remove extra character from comment...
< bitcoin-git> [bitcoin] sipa closed pull request #10309: Trivial: remove extra character from comment (master...typoquestion) https://github.com/bitcoin/bitcoin/pull/10309
< bitcoin-git> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/ab1f1d324691...c45da32047ca
< bitcoin-git> bitcoin/master 70d3945 Matt Corallo: Fix potential NPD introduced in b297426c...
< bitcoin-git> bitcoin/master c45da32 Pieter Wuille: Merge #10305: Fix potential NPD introduced in b297426c...
< bitcoin-git> [bitcoin] sipa closed pull request #10305: Fix potential NPD introduced in b297426c (master...2017-05-fix-10290-npd) https://github.com/bitcoin/bitcoin/pull/10305
< bitcoin-git> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/c45da32047ca...e4bbd3d230f2
< bitcoin-git> bitcoin/master 4fbae77 Marcos Mayorga: Improved efficiency in COutPoint constructors
< bitcoin-git> bitcoin/master e4bbd3d Pieter Wuille: Merge #10292: Improved efficiency in COutPoint constructors...
< bitcoin-git> [bitcoin] sipa closed pull request #10292: Improved efficiency in COutPoint constructors (master...master) https://github.com/bitcoin/bitcoin/pull/10292