< 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
< 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
< 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