-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backports 0.18 pr18 #4638
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
Backports 0.18 pr18 #4638
Conversation
|
This pull request has conflicts, please rebase. |
4569f42 to
8d9527c
Compare
10757d5 to
03ef14e
Compare
|
This Pull Request may conflict if the Pull Requests below are merged first. #4643 |
706ed24 to
fbddb83
Compare
|
I've tried to recreate the test failure but i continually have it passing on linux64. I'm not sure whats causing CI to freak out at the moment over |
src/wallet/rpcdump.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.
both of these references should be left aligned
fbddb83 to
18c5815
Compare
|
This pull request has conflicts, please rebase. |
18c5815 to
514a0d7
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 likely be changed since we don't have witness
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.
same
UdjinM6
left a comment
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.
|
This pull request has conflicts, please rebase. |
514a0d7 to
9928292
Compare
9503d8a to
f22f947
Compare
|
I'm just going to repeat: pls see https://github.com/UdjinM6/dash/commits/pr4638 🤷♂️ |
|
I totally thought I had cherry picked it before I pushed my bad |
…as default e3e1a56 [test] functional: set cwd of nodes to tmpdir (Sjors Provoost) Pull request description: Any process launched by bitcoind will have `self.datadir` as its `cwd`. Tree-SHA512: 0b311643bb96c7dc2f693774620173243b3add40bf373284695af2f0071823b23485289fd2ffe152b7f63e0bfe989b16720077cfc2ce33905f9b8e7f2630f3c0
…ght, currentblocktx fa178a6 [rpc] mining: Omit uninitialized currentblockweight, currentblocktx (MarcoFalke) Pull request description: Previously we'd report "0", which could be mistaken for a valid number. E.g. the number of transactions is 0 or the block weight is 0, whatever that means. Tree-SHA512: ee94ab203a329e272211b726f4c23edec4b09c650ec363b77fd59ad9264165d73064f78ebb9e11b5c2c543b73c157752410a307655560531c7d5444d203aa0ea
e45a168 to
43870c7
Compare
|
Squashed changes to make review easier |
UdjinM6
left a comment
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.
ACK
…ate keys are disabled f4b00b7 Import public keys in order (Andrew Chow) 9e1551b Test pubkey import to keypool (Andrew Chow) 513719c Add option to importmulti add an imported pubkey to the keypool (Andrew Chow) 9b81fd1 Fetch keys from keypool when private keys are disabled (Andrew Chow) 99cccb9 Add a method to add a pubkey to the keypool (Andrew Chow) Pull request description: If the wallet has private keys disabled, allow importing public keys into the keypool. A `keypool` option has been added to `importmulti` in order to signal that the keys should be added to the keypool. Tree-SHA512: e88ea7bf726c13031aa739389a0c2662e6b22a4f9a4dc45b042418c692a950d98f170e0db80eb59e9c9063cda8765eaa85b2927d1790b9625744f7a87bad5fc8
…ption 4701239 [Docs] Small updates to getrawtransaction description (Amiti Uttarwar) Pull request description: As per review comments on bitcoin#15159 Tree-SHA512: 0bbbe956b47d177f7e67c5ab2048287783327d9e07a679d64d79aee3ea8633e769f75b59d3dbce517924ba5d64d6c44f26bf49e16d40612463e460ad1a238129
0164b0f build: Remove WINVER pre define in Makefile.leveldb.inlcude (Chun Kuan Lee) d0522ec Drop defunct Windows compat fixes (Ben Woosley) d8a2992 windows: Call SetProcessDEPPolicy directly (Chun Kuan Lee) 1bd9ffd windows: Set _WIN32_WINNT to 0x0601 (Windows 7) (Chun Kuan Lee) Pull request description: The current minimum support Windows version is Vista. So set it to 0x0600 https://github.com/mirror/mingw-w64/blob/5a88def8ad862ef8f4e5f2e69661bfb2d07f1ce2/mingw-w64-headers/include/sdkddkver.h#L19 Tree-SHA512: 38e2afc79426ae547131c8ad3db2e0a7f54a95512f341cfa0c06e4b2fe79521ae67d2795ef96b0192e683e4f1ba6183c010d7b4b8d6b3e68b9bf48c374c59e7d
43870c7 to
0d59e4d
Compare
UdjinM6
left a comment
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.
re-ACK
| self.options.tmpdir = os.path.join(self.options.tmpdir, 'hd') | ||
| self.options.cachedir = os.path.join(self.options.cachedir, 'hd') | ||
| self._initialize_chain(extra_args=self.extra_args[0]) | ||
| self.set_cache_mocktime() |
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.
15415 why are these changes included
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.
This was a workaround for the hd/non-hd wallets conflict (cache is created with non-hd). 15415 fixed it, so this hack is no longer need.
| @@ -1,17 +1,19 @@ | |||
| // Copyright (c) 2009-2010 Satoshi Nakamoto | |||
| // Copyright (c) 2009-2015 The Bitcoin Core developers | |||
| // Copyright (c) 2009-2018 The Bitcoin Core developers | |||
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.
nit should've bumped to 2019
|
|
||
| def mine_chain(self): | ||
| self.log.info('Create some old blocks') | ||
| for _ in range(0, 200): |
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.
not sure why we changed this logic
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.
Have to bump mocktime on all nodes because otherwise other nodes will ban us for relaying blocks from the future.
| if (fHDEnabled) { | ||
| obj.pushKV("keypoolsize_hd_internal", (int64_t)(pwallet->KeypoolCountInternalKeys())); | ||
| } | ||
| obj.pushKV("keypoolsize_hd_internal", (int64_t)(pwallet->KeypoolCountInternalKeys())); |
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.
why'd we get rid of this check?
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.
With 14075 we can use importmulti to import pubkeys via desc option into internal keypool even for non-HD/empty wallets. Another option would be to can go with if (pwallet->CanSupportFeature(FEATURE_HD)) { (like in btc) here and require users to upgrade their wallets for this to work correctly.
PastaPastaPasta
left a comment
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.
utACK for merging via merge commit
Still experiencing build issues so again, i do apologize if the pr is bad. There are some parts of the codebase i haven't dealt with before so apologies for any trivial mistakes that normally would not be present.