-
Notifications
You must be signed in to change notification settings - Fork 207
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
decred: Add used address history. #1941
Merged
OmarHatem28
merged 15 commits into
cake-tech:decred-updated-main
from
JoeGruffins:updateaddresses
Feb 5, 2025
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
29f729c
decred: Update pubspec.
JoeGruffins a0c89b0
decred testnet
itswisdomagain 769c48b
decred: Add used address history.
JoeGruffins 1064916
decred: Remove default node list.
JoeGruffins d66b6a4
populate transaction history before sync begins
itswisdomagain c19e43a
decred: Add some awaits.
JoeGruffins eaa0ac0
decred: Fix send all.
JoeGruffins e628b66
decred: Add clang export to build script.
JoeGruffins daee02d
decred: Update logo colors.
JoeGruffins 64367a7
Merge branch 'decred-updated-main' into updateaddresses
OmarHatem28 ddd7b65
cleanup cw_decred.dart
itswisdomagain 82bffe4
make decred wallet addresses selectable in receive page
itswisdomagain d79f11d
decred: Always set default addr when used.
JoeGruffins 3b5d3f8
decred: Add back default node list.
JoeGruffins 6fc6d99
decred: Allow creating addresses manually.
JoeGruffins 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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
- | ||
uri: | ||
is_default: true | ||
- | ||
uri: dcrd.sethforprivacy.com:9108 | ||
useSSL: true |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
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.
why was this and it's usage, removed? merge conflict?
This comment was marked as off-topic.
Sorry, something went wrong.
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.
Oh wait, my bad. The node list was not used. It is only for default nodes correct? The wallet has a list of seeders that it uses to find nodes. This is hardcoded in dcrwallet -> libwallet
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.
actually imported from our coin daemon https://github.com/decred/dcrd/blob/172eeb5fe1493e1d5cff6dc304c94de5befd0d21/chaincfg/mainnetparams.go#L576-L581
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.
it adds the nodes that will show in the app, I know that the wallet has a list that it will go through, but if we decided to host our node or the user wanted to add his node, he still will be able to connect through it right?
that's why we have the node_list.yml, so we can keep it organized if we want to add a new node that the users can connect to
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.
Users can add persistent peers currently, which would be one node to connect to.
We can add it back if you want but its much better to leave finding peers to the wallet software by default. The wallet verifies all headers so there is no need for trust here.
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.
These are results from one seeder https://mainnet-seed-1.decred.org/api/addrs
If someone sets a persistent peer, it can no longer use any of those peers, it only connects to the set one.