-
Notifications
You must be signed in to change notification settings - Fork 1.2k
rpc|test: Introduce "mnauth" RPC command to override masternode authentications #3930
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
Conversation
8e734be to
db1bb93
Compare
|
Code looks good but... why?
Can you expand on this a bit pls? |
Im working on the
I mean, actually i like having such a restriction but we could go with 1. if thats not a real concern (im not sure, just felt better to have it restricted..)? I guess the data should be cached then but it would make testing easier. Anyway, i don't like 2. and 3. because it wouldn't be a "full" test thats why i then took 4. |
|
Ok, so you want to use |
Hm, not really. Maybe i just don't get how you think that would help but what i basically need is that the connected node has a verified protx hash assigned. This branch is still WIP but See xdustinface@aea5dd7, xdustinface@03e9edb. Its already implemented with the fake mnauth in xdustinface@c287a46 but im totally open to drop the implementation and this PR if you come up with something else which makes more sense, let me know your thoughts :) |
|
How about xdustinface@aea5dd7#r45968519 ? |
|
@UdjinM6 Got it now with |
e1c11b3 to
a5860b0
Compare
Co-authored-by: UdjinM6 <[email protected]>
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.
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.
one nit, otherwise utACK
Co-authored-by: PastaPastaPasta <[email protected]>
514cc80
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.
re-utACK
(tweaked PR title a bit)
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
…ntications (dashpay#3930) * rpc: Introduce "mnauth" RPC command to fake masternode authentications * test: Test "mnauth" RPC command * test: Add rpc_mnauth.py to BASE_SCRIPTS * Update src/rpc/misc.cpp Co-authored-by: UdjinM6 <[email protected]> * Update test/functional/rpc_mnauth.py Co-authored-by: PastaPastaPasta <[email protected]> Co-authored-by: UdjinM6 <[email protected]> Co-authored-by: PastaPastaPasta <[email protected]>
Allows to fake verified MN P2P connections. Something i need for an other test. If someone has a better idea how to archive this, let me know :)
Based on #3929