-
Couldn't load subscription status.
- Fork 394
Support HD derivation of master blinding key #232
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
base: elements-0.14.1
Are you sure you want to change the base?
Conversation
|
what's the status on this? perhaps it can be a backport now? |
|
Huh I thought I had done this long ago. I'll rebase it. |
b06494b to
bc15198
Compare
|
rebased and changed to |
|
Also note that this key will also by lost if the user doesn't update post-encrypting their wallet and their wallet.dat is lost. |
|
This needs porting to master |
…let loaded 0237d95 qt: Add Load PSBT functionaliy with nowallet (Prateek Sancheti) Pull request description: This PR provides a fix to the issue mentioned in ElementsProject#232. Currently, the **_Load PSBT_** functionality works well in case a wallet is loaded but does nothing when a wallet isn't loaded. If a function cannot work without a wallet being loaded, it is disabled by default (It is unclickable as shown in the image). For e.g. One cannot `Close Wallet` or `Backup Wallet` or `Sign Messages` without a wallet being loaded. And hence they are disabled. But if you notice, `Load PSBT` options are not disabled by default even when a wallet isn't loaded. >  As mentioned by hebasto in the issue description : ``` <hebasto> achow101: does "File" -> "Load PSBT from {file|clipboard}" make any sense when no wallet is loaded? <achow101> hebasto: yes, for finalize and sending ``` This means **_Load PSBT_** should be working just as similar whether wallets are being loaded or not. After making the required changes to the code, The **_Load PSBT_** works as expected even with no wallet loaded and the PSBT is finalized. | Master | PR | |-------------|---------------| |  |  | Close ElementsProject#232 ACKs for top commit: achow101: re-ACK 0237d95 hebasto: ACK 0237d95, tested on Linux Mint 20.2 (Qt 5.12.8). Tree-SHA512: 8d928c5bfd3c2b286ddcacd0b367c872de8bc3d3d9d82280faeadc60d738b86af328c060b5763ade364c9b386b23f95580c2eb1147b16373fbb713170c100350
For new wallets.
The key is generated as a hardcoded path
m/0'/2'. Considerations:Therefore I used a special fixed derivation path that will not collide with normal wallet usage, and have the raw key stored in public like before. Steps to recover the blinding keys exactly mirrors the process of the regular keys: Store the
wallet.datbefore and after crypting.