Skip to content
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

Change address v2 #246

Merged
merged 10 commits into from
Nov 13, 2023
Merged

Change address v2 #246

merged 10 commits into from
Nov 13, 2023

Conversation

Duddino
Copy link
Member

@Duddino Duddino commented Nov 2, 2023

Abstract

(This is a rewrite of #221)
Add proper change address, deriving them using m/44'/119'/0'/1/${nAccount} (or equivalent for testnet/hardware wallets).
All "internal" addresses, i.e. addresses that are not presented to the user, should derive this way.

Testing

  • Test send and receiving and that balance is correct
  • (Advanced) Check that the explorer returns the correct bip32 path

Copy link

netlify bot commented Nov 2, 2023

Deploy Preview for cheery-moxie-4f1121 ready!

Name Link
🔨 Latest commit 0563adc
🔍 Latest deploy log https://app.netlify.com/sites/cheery-moxie-4f1121/deploys/6551e540958de30008268a55
😎 Deploy Preview https://deploy-preview-246--cheery-moxie-4f1121.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Duddino Duddino marked this pull request as draft November 2, 2023 11:21
@Duddino Duddino marked this pull request as ready for review November 2, 2023 14:23
@panleone panleone added the Enhancement New feature or request label Nov 2, 2023
@JSKitty JSKitty added Awaiting Review This PR and/or issue is awaiting reviews before continuing. Review Reward: 10 PIV Reviewers of this Pull Request will receive a 10 PIV reward labels Nov 4, 2023
Liquid369
Liquid369 previously approved these changes Nov 6, 2023
Copy link

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK 9ed971d
Balance fine in large testnet wallet, send/recv is fine and path shown is correct

Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good apart for two things

scripts/wallet.js Outdated Show resolved Hide resolved
scripts/wallet.js Outdated Show resolved Hide resolved
Copy link
Member

@JSKitty JSKitty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK 0563adc, explorer looks good, External and Internal (change) chains working well, various TXs tested with various change amounts, Legacy Wallets are working fine as well (could not find any legacy regressions).

Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK 0563adc

@JSKitty JSKitty merged commit 60d7cd1 into PIVX-Labs:master Nov 13, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Review This PR and/or issue is awaiting reviews before continuing. Enhancement New feature or request Review Reward: 10 PIV Reviewers of this Pull Request will receive a 10 PIV reward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants