-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add function to validate DSTX message #4713
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
Add function to validate DSTX message #4713
Conversation
|
This pull request has conflicts, please rebase. |
|
still needs rebase |
|
I am not sure what went wrong. I created this branch from develop (and felt I had done a pull before that). I can create a new PR |
|
You'll need to fetch latest develop. something like Then |
4e7b296 to
af377ea
Compare
UdjinM6
left a comment
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.
LGTM, utACK
PastaPastaPasta
left a comment
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.
utACK for squash merge
* Add function to validate DSTX message * Addressed review comment: Remove text left due to merge * Apply suggestions from code review * Update src/net_processing.cpp Co-authored-by: UdjinM6 <[email protected]>
* Add function to validate DSTX message * Addressed review comment: Remove text left due to merge * Apply suggestions from code review * Update src/net_processing.cpp Co-authored-by: UdjinM6 <[email protected]>
This PR is part of addressing issue 4078 - Test DSTX validation during propogation #4078 (#4078)
A function ValidateDSTX() has been added that essentially captures the existing code to validate a DSTX message. A unit test can be created to call this method in order for testing DSTX validation