< luke-jr> would be nice if it let us set labels as well, but apparently not
< gmaxwell> or sort orders.
< GitHub73> [bitcoin] kazcw closed pull request #7991: Save 7% total memory usage by using pointers as keys in mapNextTx (master...memusage) https://github.com/bitcoin/bitcoin/pull/7991
< gmaxwell> I wonder why that was just closed?
< cfields> sdaftuar: coverage data updated, much more accurate now
< cfields> i'm actually really impressed by our coverage
< GitHub35> [bitcoin] TheBlueMatt opened pull request #7992: Extend #7956 with one more test. (master...16-5-7956-update) https://github.com/bitcoin/bitcoin/pull/7992
< NicolasDorier> cfields: hey unfair ! I worked quite a lot on it as well :o(
< cfields> NicolasDorier: ?
< NicolasDorier> on the test coverage :p
< cfields> NicolasDorier: oh. did you post somewhere? Sorry if I missed something and stomped on your work!
< cfields> NicolasDorier: oh haha. I didn't improve the test coverage, that was all you guys :)
< cfields> i just made a report :)
< NicolasDorier> btw how did you made the report ? can I do it easily as well with some guru command line ?
< cfields> NicolasDorier: it was pretty manual this time around. I had to fix up a good bit of stuff
< cfields> NicolasDorier: goal is to get it automated and upstreamed so that Travis can generate them for each pull
< NicolasDorier> this would be awesome
< NicolasDorier> would help quite a lot
< cfields> it currently won't compile without patches, that was interesting. We rely on undefined-ish compiler optimizations in CCoinsViewCache, need to figure out the cleanest way to fix that.
< cfields> *compile for accurate coverage reporting
< Chris_Stewart_5> Where can test coverage be viewed?
< cfields> Chris_Stewart_5: it's specific to the segwit PR, though
< Chris_Stewart_5> cfields: Cool, is there something to setup test coverage on the master branch?
< Chris_Stewart_5> to track test coverage on the master branch*
< cfields> Chris_Stewart_5: not yet, but I'll start pushing up the changes necessary
< Chris_Stewart_5> Seems like the branch coverage is oddly low
< NicolasDorier> I added 2 tests to segwit to squash for testing the two untested branch. Interestingly, it catched one NBitcoin bug :p
< GitHub4> [bitcoin] laanwj closed pull request #7956: test: Add more thorough test for dbwrapper iterators (master...2016_04_dbwrapper_iterator_tess) https://github.com/bitcoin/bitcoin/pull/7956
< GitHub64> [bitcoin] MarcoFalke pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/03cf6e867502...88b77c7da0a6
< GitHub64> bitcoin/master fa17f93 MarcoFalke: [qa] smartfees: Properly use ordered dict
< GitHub64> bitcoin/master 43bbcd0 Pavel Janík: [qa] Fix typos in doc and comments
< GitHub64> bitcoin/master 88b77c7 MarcoFalke: Merge #7980: [qa] smartfees: Properly use ordered dict...
< GitHub92> [bitcoin] MarcoFalke closed pull request #7980: [qa] smartfees: Properly use ordered dict (master...Mf1604-qaOrderedDict) https://github.com/bitcoin/bitcoin/pull/7980
< Chris_Stewart_5> Is this the correct syntax to run a specific test in a test suite? test_bitcoin --run_test=script_tests/script_json_test
< Chris_Stewart_5> Doesn't seem to find the test
< sipa> $ ./src/test/test_bitcoin --run_test=script_tests/script_json_test
< sipa> runs fine for me
< Chris_Stewart_5> thanks sipa
< GitHub171> [bitcoin] fanquake opened pull request #7993: [depends] Update FreeType, ccache, ZeroMQ (master...depends-no-sourceforge) https://github.com/bitcoin/bitcoin/pull/7993
< Chris_Stewart_5> sipa: I'm trying to add OP_CSV tests to script_tests, do I need to adjust a some sort of flag to have our script_test framework parse CHECKSEQUENCEVERIFY correctly?
< Chris_Stewart_5> Currently getting a script parse error
< instagibbs> Chris_Stewart_5, link to code? Worst case it's an noop
< Chris_Stewart_5> instagibbs: Actually is OP_CSV not merged into master yet? https://github.com/bitcoin/bitcoin/blob/a6a860796a44a2805a58391a009ba22752f64e32/src/script/script.cpp#L134
< instagibbs> it's still named NOP3 in most parts afaik
< instagibbs> once activated I think more renaming will occur
< GitHub190> [bitcoin] Christewart opened pull request #7994: Add op csv tests to script_tests.json (master...add_op_csv_tests) https://github.com/bitcoin/bitcoin/pull/7994
< Chris_Stewart_5> Curious, is there a site to see how much of the network supports a soft fork?
< Chris_Stewart_5> sipa: how often do you regenerate that png?
< sipa> every hour
< JackH> we need 95% to activate CSV right?
< sipa> yes
< sipa> https://github.com/bitcoin/bitcoin/blob/master/doc/bips.md <- does not list BIP68/112/113 ?
< GitHub199> [bitcoin] laanwj opened pull request #7995: main: Make version bits GUI warning clearer to translators (master...2016_05_minor_message_change) https://github.com/bitcoin/bitcoin/pull/7995
< btcdrak> paveljanik: every month
< paveljanik> yes 8(
< luke-jr> seems we should do 0.12.2 with updated OpenSSL and GBT fix
< * luke-jr> coughs at only sipa reviewing https://github.com/bitcoin/bitcoin/pull/7935
< paveljanik> luke-jr, good topic for Thu meeting...
< wallet42> with a custom aes implementation and libsecp256k1 as sign/verification is there a plan for a release which wont depend on openssl?
< sipa> hopefully :)
< sipa> the last dependency is the PRNG for key generation
< wallet42> i have a crypto question
< wallet42> my local /dev/urandom produces about 12 MB/s
< wallet42> cat /dev/urandom | pv > /dev/null
< GitHub103> [bitcoin] kazcw opened pull request #7997: replace mapNextTx with slimmer setSpends (master...setSpends) https://github.com/bitcoin/bitcoin/pull/7997
< wallet42> PASSWORD=$(xxd -l 16 -p /dev/urandom); openssl enc -aes-128-ctr -k $PASSWORD < /dev/zero | pv > /dev/null
< wallet42> produces about 1.6 GB/s
< wallet42> is this "safe" ?
< wallet42> if i want to wipe my hard drive for instance
< wallet42> talking about a _faster_ PRNG
< gmaxwell> The openssl output has a header, so it will not be totally random.
< sipa> i'd just write /dev/urandom
< sipa> if you're paranoid
< sipa> overwrite it 2 times
< wallet42> i use /dev/urandom as initializer but my SSD can write 900 MB/s, why settle for 12 MB/s
< wallet42> is there a crypto reason this is a bad PRNG?
< gmaxwell> wallet42: note that on modern disks (esp for SSD), there really is no safe way to overwrite the whole disk.
< sipa> i think there is typical advice not to use aes-ctr for very large messages without rekeying
< gmaxwell> there is a 'secure erase' available from hdparm which is specified to erase more than you can normally access, but it's anyone's guess at how effective it actually is.
< gmaxwell> sipa: I think any single disk that exists is small enough where that issue doesn't matter.
< sipa> aes-ctr is by definition a bad prng, as it produces a permutation, not a random function
< sipa> also, the argument is unlikely to matter here
< gmaxwell> But if your goal is to not have it clear you overwrote it with openssl that command won't work due to the header.
< sipa> you don't need a perfectly random function, just something unoredictable is enough
< gmaxwell> doing that then overwriting with zeros would.
< wallet42> would a sha256(password+nonce) be better than aes-ctr?
< gmaxwell> it would be much slower.
< sipa> it would be a random function, though
< sipa> or at least, indistinguishable from one
< wallet42> ok so sha256's randomness is better than aes-ctr
< sipa> in theory
< sipa> i don't think the distuishability matters here at all
< wallet42> how can i bench libsecp256k1
< sipa> it has a bench binary
< wallet42> ah --enable-benchmark
< wallet42> sorry
< sipa> oh right, it's not standard anymore
< wallet42> 80us = 12,500 op/s ?
< wallet42> shit :D
< sipa> per thread
< wallet42> <3 sipa, (no homo)
< wallet42> boringssl does only 2,800 op/s for Ed25519 verify
< sipa> there are some non-merged optimizations that are make it a few % faster stoll
< sipa> *still