This should be merged after the BIP68 softfork enforces.
EDIT: BIP68 has long since activated so miners are running min 0.12.1 and therefore will mine v2 txs. Also there are sufficient nodes on the network relaying v2 txs
This should be merged after the BIP68 softfork enforces.
EDIT: BIP68 has long since activated so miners are running min 0.12.1 and therefore will mine v2 txs. Also there are sufficient nodes on the network relaying v2 txs
After bumping the default tx version to 2, we should also have some test to test v1 transactions.
Needs rebase (but probably only after it is eligible for merge in the first place)
Does this need mention in the release notes?
What is the status of this?
Needs rebased.
utACK. I think this is fine now!
ugh, thats a lot of work. thanks @btcdrak
I reviewed everything so far except the changes in test/data
technically the mempool_tests change was a bug in the test, here's a fix b095828 if you want it that means you don't need to add the version.
OK I've gone through test/data for as long as I can stand it. utACK
Travis failure:
2016-12-07 22:53:39,532 - ERROR - Output data mismatch for txcreate2.hex (format hex)
2016-12-07 22:53:44,125 - ERROR - Output data mismatch for txcreate2.json (format json)
2016-12-07 22:54:44,785 - ERROR - FAILED TESTCASES: [Parses a transation with no inputs and a single output script, Parses a transation with no inputs and a single output script (output in json)]
I'm able to recreate locally, this is merged on top of master:
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS check-local
Running test/bitcoin-util-test.py...
2016-12-08 18:40:39,202 - ERROR - Output data mismatch for txcreate2.hex (format hex)
2016-12-08 18:40:39,207 - ERROR - Output data mismatch for txcreate2.json (format json)
2016-12-08 18:40:39,307 - ERROR - FAILED TESTCASES: [Parses a transation with no inputs and a single output script, Parses a transation with no inputs and a single output script (output in json)]
make[3]: *** [check-local] Error 1
make[3]: *** Waiting for unfinished jobs....
I'm not able to replicate locally.
Sorry, couldn't resist: some typo collector should grab "transation".
I reverted the addition of b095828 because Travis was playing up. We can do that in a separate PR.
Without this change, the tests would be affected by default
tx version increases.
Hello. Going through this PR, I noticed that a couple of files now seem to not be used. Is this intentional? It doesn't seem so.
I'm happy to file a PR and fix this. Just want to make sure I'm on the right path first. :) A txcreatesignv2.json test would probably be good too. I can write that.
Thanks.