-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: model interface after MnNetInfo
and support switching impls, add new ProTx version, introduce DEPLOYMENT_EXTADDR
params
#6665
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: develop
Are you sure you want to change the base?
Conversation
MnNetInfo
and support switching impls, add new ProTx version, introduce DEPLOYMENT_EXTADDR
paramsMnNetInfo
and support switching impls, add new ProTx version, introduce DEPLOYMENT_EXTADDR
params
return strprintf("internal error"); // This shouldn't be possible | ||
} | ||
} else { | ||
return strprintf("invalid address"); |
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.
at this moment addresses should be fully validated, is it possible situation to get here invalid address?
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 should be unlikely but I'm not comfortable removing the check (extended comment here)
… featureset 98749a7 feat: define BIP 9 fork `DEPLOYMENT_V23` for new version featureset (Kittywhiskers Van Gogh) Pull request description: ## Motivation Should handle the deployment needs for [dash#6662](#6662) and [dash#6665](#6665) as they're expected to be shipped in the same major version. ## Breaking Changes None expected. ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)** - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation **(note: N/A)** - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 98749a7 PastaPastaPasta: utACK 98749a7 Tree-SHA512: b61302a0bcf236f06661a4a53f1d7b3ab0f65659c1c9ab2fcb782457a25eb1e6bdc942647dca6a4e22686e0c7cc83405e099e1fa790cf007d2bee3eedc456d5f
Also, ProRegTx allows an empty netInfo, ProUpServTx does not, so we should check that ProUpServTx::netInfo isn't empty.
Additional Information
Depends on feat: define BIP 9 fork
DEPLOYMENT_V23
for new version featureset #6669Depends on feat: introduce type-flexible
NetInfoEntry
to allow non-CService
entries, use inMnNetInfo
#6629Dependency for feat: introduce basic extended addresses implementation, stop using
platform{HTTP,P2P}Port
#6666Breaking Changes
None expected.
Checklist