-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
More swap wip #238
More swap wip #238
Conversation
|
||
if (dst_entr.addr.is_swap_addr) { | ||
// Zero key for swap txs | ||
// TODO Should probably do all address math only when neccessary |
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.
Could we do an impossible key, like 000000000000000000000000000000000000000
?
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.
Not sure, for now will just implement boolberry logic. Will have some free time by the end of the week, then i will give some more precise answer.
@@ -17,6 +18,46 @@ TEST(swap_address, swap_addr_extra_userdata_entry_from_addr) | |||
ASSERT_TRUE(entry.is_checksum_valid()); | |||
} | |||
|
|||
TEST(swap_address, swap_parse_addr_from_str) |
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.
Yay, code with a test, we are like adults now... my word, what happened :P
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.
fank oooo <3
are you able to merge @bubafistah ? if not its time you get super cow powers. |
@bubafistah, well, I'm going to get out of your way; time for you to spread your wings and be the blockchain lead ( I'm still here to make you'll smile and review changes) Need me to do anything, ask, and it won't be a problem. |
Address parsing, tx constructing wip, etc.
Based on https://github.com/cryptozoidberg/boolberry