-
Notifications
You must be signed in to change notification settings - Fork 14
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
Minor adjustments for the tests and codestyle #1066
Conversation
Signed-off-by: Dmitry Saveliev <[email protected]>
I think it's not coincidental that the test passes, since the scripts used in the test have a sigop cost of 0 anyway. It doesn't hurt to add the parameter, but Bitcoin doesn't have it, so maybe we should keep everything as it is? |
Although this PR is quite small, I think we should separate the fix to the |
Not quite, Line 122 in c85d170
which goes further to CTxMemPoolEntry unit-e/src/test/test_unite.cpp Line 169 in c85d170
which finally affects indexed_transaction_set Line 100 in c85d170
and finally affects the TX order. So, here we have a green test just because of fee based on nWeight , which match to the value, calculated inside of indexed_transaction_set :Line 265 in 365cf0d
|
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 b42886c
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 b42886c
During the #1062 a couple of minor problems was found:
GetVirtualTransactionSize
must have asigOpCost
as an argument. Right now this test passes just by coincidence.p2p_fingerprint.py
we need to take unspent coins before the substituted subchain.Signed-off-by: Dmitry Saveliev [email protected]