-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve fee and change logic #565
Conversation
8a542ac
to
61b815e
Compare
61b815e
to
aecbf8a
Compare
…ad of script_address in script case
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.
darn, i wish i could have beaten you to a failing test, but this should fix
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.
wait hold on, i discovered something with a test that doesnt add up to my understanding!
okay, heres what
|
|
non-outgoing transactions return all zeros... but we know this has not been the case in real wallets. leaving some open questions what conditions cause TransactionMetadata.total_value_spent() to change?
what conditions cause TransactionMetadata.value_outgoing() to change?
what conditions cause TransactionMetadata.total_change_returned() to change?
i have not figured out where the latter is written |
The last one is written by transactions.rs |
why does outgoing require parameters? |
The parameters specify the human-readable part of the address encoding, which we need to check if the address string we sent to is derivable from our keys |
Still in progress...some tests are now failing.