< bitcoin-git> [bitcoin] TheBlueMatt opened pull request #10279: Add a CChainState class to validation.cpp to take another step towards clarifying internal interfaces (master...2016-12-cconsensus) https://github.com/bitcoin/bitcoin/pull/10279
< BlueMatt> jtimon: ^ this is rather much in your wheelhouse
< achow101> gmaxwell: any update with publishing the alert key?
< bitcoin-git> [bitcoin] jimmysong opened pull request #10280: [test] Unit test amount.h/amount.cpp (master...test_amount) https://github.com/bitcoin/bitcoin/pull/10280
< bitcoin-git> [bitcoin] laanwj opened pull request #10281: doc: Add RPC interface guidelines (master...2017_04_rpc_if_guidelines) https://github.com/bitcoin/bitcoin/pull/10281
< bitcoin-git> [bitcoin] laanwj closed pull request #9930: Trivial: Correct indentation and bracing (master...fix-indent) https://github.com/bitcoin/bitcoin/pull/9930
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/9c94fb6c3257...8254a8ae213b
< bitcoin-git> bitcoin/master 1b14449 Jimmy Song: [test] Add Unit Test for GetListenPort...
< bitcoin-git> bitcoin/master 8254a8a Wladimir J. van der Laan: Merge #10278: [test] Add Unit Test for GetListenPort...
< bitcoin-git> [bitcoin] laanwj closed pull request #10278: [test] Add Unit Test for GetListenPort (master...test_listenport) https://github.com/bitcoin/bitcoin/pull/10278
< bitcoin-git> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/8254a8ae213b...8979f4569e0e
< bitcoin-git> bitcoin/master 4f3ac7d Chris Gavin: Remove unused variable from `macdeployqtplus` script.
< bitcoin-git> bitcoin/master e8babc4 Chris Gavin: Use `with` in `macdeployqtplus` script.
< bitcoin-git> bitcoin/master 8979f45 Wladimir J. van der Laan: Merge #10273: [scripts] Minor improvements to `macdeployqtplus` script....
< bitcoin-git> [bitcoin] laanwj closed pull request #10273: [scripts] Minor improvements to `macdeployqtplus` script. (master...macdeployqtplus) https://github.com/bitcoin/bitcoin/pull/10273
< MarcoFalke> wumpus: I am not convinced that we need to implement every function twice. (Once in the code and a second time in the unit tests; Then check for equality)
< MarcoFalke> (re 10278)
< MarcoFalke> Also, the SoftSetArg has effect on all test that run after it
<@wumpus> MarcoFalke: this is just a very simple function to test
<@wumpus> the test fully checks the behavior of GetListenPort, though
<@wumpus> feel free to suggest other ways to test GetListenPort, or do you mean no unit test should exist for it at all?
< MarcoFalke> I mean it is a 1:1 copy of the implementation
<@wumpus> yes, it doesn't reset the argument afterward, probaly should
< MarcoFalke> I more think of unit test to cover corner cases
<@wumpus> it is, but I wouldn't know how to test this otherwise
<@wumpus> it's just a silly little function that only does one thing
<@wumpus> so the only way to test it is to do that silly little thing too
<@wumpus> you could argue it is useless, I don't know, maybe it'll catch an error if someone changes the GetListenPort implementation
< MarcoFalke> Hmm, I suspect pretty much everything else breaks if the implementation is changed.
< MarcoFalke> I don't care too much about this very function, but I am worried there will be pulls coming up for literally any function.
<@wumpus> possibly. But the point of the unit test is to check that function, and it does that.
<@wumpus> yes, feel free to nudge him in the direction of writing more useful tests
<@wumpus> just trying to encourage him a bit, it's good to have a new contributor that cares about testing
< MarcoFalke> Yes, getting that merged was probably a good way to motivate more contributions
< * MarcoFalke> off
<@wumpus> right, he has admitted this is part of his learning process
<@wumpus> later
<@wumpus> oh wow TIL github has a "reviews -> awaiting review from you" selection for PRs
<@wumpus> that could be useful, at least if someone had tagged me as reviewr for anything :)
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/8979f4569e0e...bd9ec0ef1ea7
< bitcoin-git> bitcoin/master b508424 Wladimir J. van der Laan: contrib: github-merge improvements...
< bitcoin-git> bitcoin/master bd9ec0e Wladimir J. van der Laan: Merge #9670: contrib: github-merge improvements...
< bitcoin-git> [bitcoin] laanwj closed pull request #9670: contrib: github-merge improvements (master...2017_01_ghmerge_update) https://github.com/bitcoin/bitcoin/pull/9670
< mryandao> hi, i'm looking at core's source and just wondering if I've got this right.
< mryandao> when a block is accepted, individual transactions that come with the blocks dont get verified?
< kallewoof> They do get verified
< sipa> correct, with the footnote that acceptance does not imply it's valid
< sipa> tx validation happens when a chain of blocks becomes the new longest chain, and we try to "activate" it
< kallewoof> Isn't the CheckTransaction for loop in CheckBlock verifying them?
< kallewoof> Ahh, ok.
< sipa> ok, yes, but that's isn't what most people would call verifying transactions
< sipa> CheckTransaction only does some basic sanity checking
< mryandao> yeah CheckTransaction is just checking is a transaction is malformed
< mryandao> so signature validation is only done for transactions that are to be accepted into mempool?
< sipa> also when a chain is activated
< sipa> via ConnectBlock
< mryandao> cool, thanks.
< bitcoin-git> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/bd9ec0ef1ea7...6fdb31916589
< bitcoin-git> bitcoin/master 321bbc2 Pieter Wuille: fix ubsan: bitcoin-tx: not initialize context before IsFullyValid
< bitcoin-git> bitcoin/master 1d31093 Pieter Wuille: fix tsan: utiltime race on nMockTime
< bitcoin-git> bitcoin/master 6fdb319 Wladimir J. van der Laan: Merge #9743: Fix several potential issues found by sanitizers...
< bitcoin-git> [bitcoin] laanwj closed pull request #9743: Fix several potential issues found by sanitizers (master...fsanitize) https://github.com/bitcoin/bitcoin/pull/9743
< bitcoin-git> [bitcoin] fanquake closed pull request #9363: Reduce fingerprinting attacks (master...MinChainWorkBlocktxns) https://github.com/bitcoin/bitcoin/pull/9363
< bitcoin-git> [bitcoin] practicalswift closed pull request #9545: Add final where appropriate (master...add-overrides-where-appropriate) https://github.com/bitcoin/bitcoin/pull/9545
< bitcoin-git> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/6fdb31916589...cf5782508a3f
< bitcoin-git> bitcoin/master 82b7dc3 Russell Yanofsky: [wallet] Add GetLegacyBalance method to simplify getbalance RPC...
< bitcoin-git> bitcoin/master 02d9f50 Russell Yanofsky: [wallet] Remove unneeded legacy getbalance code
< bitcoin-git> bitcoin/master cf57825 Wladimir J. van der Laan: Merge #9614: [wallet] [refactor] Simplify getbalance implementation...
< bitcoin-git> [bitcoin] laanwj closed pull request #9614: [wallet] [refactor] Simplify getbalance implementation (master...pr/getbalance-cleanup) https://github.com/bitcoin/bitcoin/pull/9614
< bitcoin-git> [bitcoin] luke-jr opened pull request #10282: Expire bitcoind & bitcoin-qt 7-8 years after its last change (master...timebomb) https://github.com/bitcoin/bitcoin/pull/10282
< achow101> gmaxwell: any update on publishing the alert key?
< bitcoin-git> [bitcoin] morcos opened pull request #10283: Cleanup: reduce to one GetMinimumFee call signature (master...oneGetMinimumFee) https://github.com/bitcoin/bitcoin/pull/10283
< bitcoin-git> [bitcoin] morcos opened pull request #10284: Always log debug information for fee calculation in CreateTransaction (master...debugEstimates) https://github.com/bitcoin/bitcoin/pull/10284
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/cf5782508a3f...47535d7c3ec7
< bitcoin-git> bitcoin/master dcb69fd Jimmy Song: [test] Unit test amount.h/amount.cpp...
< bitcoin-git> bitcoin/master 47535d7 MarcoFalke: Merge #10280: [test] Unit test amount.h/amount.cpp...
< bitcoin-git> [bitcoin] MarcoFalke closed pull request #10280: [test] Unit test amount.h/amount.cpp (master...test_amount) https://github.com/bitcoin/bitcoin/pull/10280
< sipa> great, our CCoinsCaching benchmark converts a CMutableTransaction to a CTransaction in its inner loop...
< sipa> i expect that's the majority of the time it measures
< BlueMatt> lol
< BlueMatt> thanks C++ magic type conversion