-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backport missing PRs from Bitcoin 0.14 - Part 9 #1859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport missing PRs from Bitcoin 0.14 - Part 9 #1859
Conversation
6dc7623 to
1a31f52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should drop src/test/data/txcreatemultisig3.json, src/test/data/txcreateoutpubkey2.json, src/test/data/txcreatescript3.json (due to "type": "witness_v0_*")
src/chainparams.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transactions per second
src/chainparams.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should say // * estimated number of transactions per second after that timestamp
src/test/data/txcreatemultisig4.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be dashified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be dashified
src/test/data/txcreatescript4.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be dashified
src/wallet/rpcwallet.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing whitespaces
src/chainparams.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should say // * estimated number of transactions per second after that timestamp
src/rpc/client.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rpc/client.cpp:139:28: warning: missing field 'paramName' initializer [-Wmissing-field-initializers]
{ "setbip69enabled", 0 },
^
src/consensus/params.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nMinerConfirmationWindow was not a typo :) should s/retargetting/retargeting/ instead
src/qt/sendcoinsdialog.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably do the same to "+tr
This is needed because Dashs chainparams start BIP34 on block 1 and the removal of IsSuperMajority results in the checks to trigger immediately in tests. Also update miner_tests nonces
fe7e593 Fix use-after-free in CTxMemPool::removeConflicts() (Suhas Daftuar)
54ee3fc RPC help updated (Michael Rotarius)
faaf3ca travis: make distdir before make (MarcoFalke)
…r warning db904db Deprecate non-txindex getrawtransaction and better warning (Pieter Wuille)
…hain RPC 918d1fb Return height of last block pruned by pruneblockchain RPC (Russell Yanofsky)
…and update it df36371 Update estimated transaction count data (Pieter Wuille) e356d9a Shorten variable names and switch to tx/s (Pieter Wuille) 6dd8116 Remove SIGCHECK_VERIFICATION_FACTOR (Pieter Wuille) 3641141 Move tx estimation data out of CCheckPointData (Pieter Wuille) a4bac66 [MOVEONLY] Move progress estimation out of checkpoints (Pieter Wuille)
…entRejects dfbe0d5 Add unstored orphans with rejected parents to recentRejects (Alex Morcos)
…nsaction'. 453bda6 Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'. (Chris Moore)
Missed in original backport of assumevalid
95bab82 Remove unused Python imports (practicalswift)
82e8baa Avoid boost dynamic_bitset in rest_getutxos (Pieter Wuille) 99f001e Fix memory leak in multiUserAuthorized (Pieter Wuille) 5a0b7e4 Fix memory leak in net_tests (Pieter Wuille) 6b03bfb Fix memory leak in wallet tests (Pieter Wuille) f94f3e0 Avoid integer overflows in scriptnum tests (Pieter Wuille) 843c560 Avoid unaligned access in crypto i/o (Pieter Wuille)
b371732 Re-enable a blank v1 Tx JSON test (Douglas Roark)
fa29736 test: Include tx data in EXTRA_DIST (MarcoFalke)
Additionally, accept a "now" timestamp, to allow avoiding rescans for keys which are known never to have been used. Note that the behavior when "now" is specified is slightly different than the previous behavior when no timestamp was specified at all. Previously, when no timestamp was specified, it would avoid rescanning during the importmulti call, but set the key's nCreateTime value to 1, which would not prevent future block reads in later ScanForWalletTransactions calls. With this change, passing a "now" timestamp will set the key's nCreateTime to the current block time instead of 1. Fixes bitcoin#9491
Needed by fundrawtransaction tests which rely on the ordering not being changed.
818ddff to
32c43f6
Compare
|
Pushed review fixes. The dash-tx test files that needed Dashification were all SegWit related so I removed them. I also pushed updates to the BIP34/BIP65/BIP66 heights in chainparams.cpp. I found these heights by running the code in https://github.com/codablock/dash/tree/find_bips_heights (if you want to verify this, run the code until all headers are synced and check the logs). I also verified correctness by running full syncs in mainnet and testnet. |
|
👍 , will test. PS. I still see |
32c43f6 to
a2a05f1
Compare
|
Yepp, txcreateoutpubkey2 and txcreateoutpubkey3 shouldn't be in the list and also the files should have been removed. Squashed this into the segwit removal commit and force pushed. |
|
ok, |
a2a05f1 to
e119956
Compare
|
Argh, sorry about that...I should (and will) go to bed now. Pushed squashed commit again. |
e119956 to
b97eecc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slightly tested ACK
Continuation of #1770
We are nearly done with 0.14. After this one I'll create a (hopefully) final PR for 0.14 with bitcoin#8391 (need to figure out the correct BIP heights for Dash) and other PRs I skipped so far.UPDATE: I splitted up the PR into 2 as it got too big, so this one is not the last one.