forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 pr20 #4675
Merged
PastaPastaPasta
merged 9 commits into
dashpay:develop
from
Munkybooty:backports-0.18-pr20
Mar 11, 2022
Merged
Backports 0.18 pr20 #4675
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c23ba61
Merge #13968: [wallet] couple of walletcreatefundedpsbt fixes
laanwj cabaeaa
Merge #13381: RPC: creates possibility to preserve labels on importpr…
jonasschnelli 5d6e256
Merge #15057: [rpc] Correct reconsiderblock help text, add test
laanwj 67c41a3
Merge #15059: test: Add basic test for BIP34
laanwj 91a8867
Merge #15108: [tests] tidy up wallet_importmulti.py
ce4fc11
Merge #15122: [RPC] Expand help text for importmulti changes
laanwj 7788f0d
Merge #15248: rpc: Compile on GCC4.8
ab8ef17
fix 13381/15108 - no embedded
UdjinM6 ec162d7
3880 follow-up (fix 10583 backport)
UdjinM6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
RPC importprivkey: new label behavior | ||
------------------------------------- | ||
|
||
Previously, `importprivkey` automatically added the default empty label | ||
("") to all addresses associated with the imported private key. Now it | ||
defaults to using any existing label for those addresses. For example: | ||
|
||
- Old behavior: you import a watch-only address with the label "cold | ||
wallet". Later, you import the corresponding private key using the | ||
default settings. The address's label is changed from "cold wallet" | ||
to "". | ||
|
||
- New behavior: you import a watch-only address with the label "cold | ||
wallet". Later, you import the corresponding private key using the | ||
default settings. The address's label remains "cold wallet". | ||
|
||
In both the previous and current case, if you directly specify a label | ||
during the import, that label will override whatever previous label the | ||
addresses may have had. Also in both cases, if none of the addresses | ||
previously had a label, they will still receive the default empty label | ||
(""). Examples: | ||
|
||
- You import a watch-only address with the label "temporary". Later you | ||
import the corresponding private key with the label "final". The | ||
address's label will be changed to "final". | ||
|
||
- You use the default settings to import a private key for an address that | ||
was not previously in the wallet. Its addresses will receive the default | ||
empty label (""). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
13968: I'm not sure we want just this. Why is this just this?
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.
iirc, the remainder of the pr deals entirely with rbf