< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/ebfd65379811...e6033e00b164
< bitcoin-git> bitcoin/master 4b87973 practicalswift: [rpc] Remove auth cookie on shutdown...
< bitcoin-git> bitcoin/master e6033e0 Wladimir J. van der Laan: Merge #10139: [rpc] Remove auth cookie on shutdown...
< bitcoin-git> [bitcoin] laanwj closed pull request #10139: [rpc] Remove auth cookie on shutdown (master...delete-auth-cookies) https://github.com/bitcoin/bitcoin/pull/10139
< bitcoin-git> [bitcoin] laanwj pushed 1 new commit to 0.14: https://github.com/bitcoin/bitcoin/commit/f15268db3bf1a8c4ea410f4f63c6187b45e06ded
< bitcoin-git> bitcoin/0.14 f15268d practicalswift: [rpc] Remove auth cookie on shutdown...
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/e6033e00b164...a2cd0b0eecfe
< bitcoin-git> bitcoin/master 6d5dd60 Thomas Snider: No need to use OpenSSL malloc/free
< bitcoin-git> bitcoin/master a2cd0b0 Wladimir J. van der Laan: Merge #10058: No need to use OpenSSL malloc/free...
< bitcoin-git> [bitcoin] laanwj closed pull request #10058: No need to use OpenSSL malloc/free (master...tjps_ssl_mutex) https://github.com/bitcoin/bitcoin/pull/10058
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/a2cd0b0eecfe...cb598cfba1cb
< bitcoin-git> bitcoin/master 7482781 Pieter Wuille: Allow non-power-of-2 signature cache sizes
< bitcoin-git> bitcoin/master cb598cf Wladimir J. van der Laan: Merge #9533: Allow non-power-of-2 signature cache sizes...
< bitcoin-git> [bitcoin] laanwj closed pull request #9533: Allow non-power-of-2 signature cache sizes (master...anysigcachesize) https://github.com/bitcoin/bitcoin/pull/9533
< rubensayshi> is there a way to restrict a node to only accept incoming connections from local network?
< sipa> you can bind to localhost
< sipa> or use a firewall :)
< rubensayshi> yea, guess I'll firewall it
< emucode> hi, I would like to learn how to write unit tests, can you give me some hints?
< emucode> what commands available in test framework could be use for UT for BIP148?
< sipa> 'commands' ?
< sipa> the unit tests can access all functions that are exposed by modules in the software to be tested
< bitcoin-git> [bitcoin] ryanofsky opened pull request #10142: Run bitcoin_test-qt under minimal QPA platform (master...pr/qtmin) https://github.com/bitcoin/bitcoin/pull/10142
< btcdrak> emucode: the unit tests are in src/tests, where as the functional tests are in qa/rpc
< bitcoin-git> [bitcoin] ryanofsky closed pull request #10117: Fix "make check" on systems with qt and libxcb but no active DISPLAY (master...pr/noqapp) https://github.com/bitcoin/bitcoin/pull/10117
< emucode> btcdrak: I would like to write unit test, that creates a block, we assume that current date is 2016-09-01, and in this blog it sets on or off BIP9 flag, and segwit flag, and see if that block would be rejected or accepted
< emucode> I didn't yet write UTs for btc. Which other existing tests I should study to learn that?
< emucode> *in this block
< wumpus> emucode: would be better to use a functional test for that than a unit test. Unit tests are meant to test single function/classes in isolation
< wumpus> emucode: as for existing tests, there's a test/functional/segwit.py and test/functional/bip9-softforks.py
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/cb598cfba1cb...471ed00fcd3b
< bitcoin-git> bitcoin/master 3bde556 John Newbery: Add -debugexclude option to switch off logging for specified components
< bitcoin-git> bitcoin/master 471ed00 Wladimir J. van der Laan: Merge #10123: Allow debug logs to be excluded from specified component...
< bitcoin-git> [bitcoin] laanwj closed pull request #10123: Allow debug logs to be excluded from specified component (master...debugexclude) https://github.com/bitcoin/bitcoin/pull/10123
< luke-jr> what prevents a 0-value output with 0-length sPK from being pruned prematurely from the UTXO set?
< sipa> go add it to to CScript::,×IsProvablyUnsoendable
< luke-jr> sipa: ? it's *not* unspendable, but CCoins stuff assumes IsNull TxOut is deleted
< sipa> luke-jr: such a scriptPubKey is unspendable anyway
< luke-jr> why? scriptSig=OP_TRUE
< sipa> so treating it as non-existiant is fine
< sipa> hmm
< sipa> luke-jr: CTxOut::IsNull requires amount == -1
< instagibbs> luke-jr, both scritpubkey evaluation has to happen too, right?
< luke-jr> sipa: aha
< instagibbs> oh nvm
< sipa> luke-jr: you had me worried for a minute
< luke-jr> sorry, oversight of that detail
< luke-jr> also figured 0.8 was long enough ago that ti wouldn't matter anyay
< bitcoin-git> [bitcoin] jnewbery opened pull request #10143: [net] Allow disconnectnode RPC to be called with node id (master...disconnect_node_by_id) https://github.com/bitcoin/bitcoin/pull/10143
< bitcoin-git> [bitcoin] sdaftuar opened pull request #10144: Prioritisetransaction wasn't always updating ancestor fee (master...2017-04-fix-mempool-modified-ancestor-fees) https://github.com/bitcoin/bitcoin/pull/10144
< instagibbs> not that this matters much post-mempool persistaence, but it seems that during a reindex wallet transactions will fail to be reaccepted because they're all non-final, with chainActive.Height() being 0. Is this intended?
< gmaxwell> instagibbs: since it retries I dunno that its a problem.
< instagibbs> mm true. Just shows as missing balance until then.
< instagibbs> gmaxwell, where is the rebroadcast logic set?
< gmaxwell> instagibbs: Resendwallettransactions.
< instagibbs> ok, one and the same, the first invocation is just useless
< bitcoin-git> [bitcoin] theuni closed pull request #10143: [net] Allow disconnectnode RPC to be called with node id (master...disconnect_node_by_id) https://github.com/bitcoin/bitcoin/pull/10143
< instagibbs> Ok, the mempool attempt for resend fix also fixes this bug as well.
< bitcoin-git> [bitcoin] theuni reopened pull request #10143: [net] Allow disconnectnode RPC to be called with node id (master...disconnect_node_by_id) https://github.com/bitcoin/bitcoin/pull/10143
< bitcoin-git> [bitcoin] JeremyRubin opened pull request #10145: Separate Contextual checks and handling & switch on enum in net_processing.cpp (master...netprocessing_enum_rebased) https://github.com/bitcoin/bitcoin/pull/10145