Skip to content
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

Merged
merged 6 commits into from
Sep 21, 2022
Merged

More swap wip #238

merged 6 commits into from
Sep 21, 2022

Conversation

bubafistah
Copy link

Address parsing, tx constructing wip, etc.
Based on https://github.com/cryptozoidberg/boolberry

@bubafistah bubafistah changed the base branch from main to dev September 20, 2022 16:10

if (dst_entr.addr.is_swap_addr) {
// Zero key for swap txs
// TODO Should probably do all address math only when neccessary
Copy link

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 ?

Copy link
Author

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)
Copy link

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

Copy link

@Snider Snider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fank oooo <3

@Snider Snider assigned Snider and bubafistah and unassigned Snider Sep 20, 2022
@Snider
Copy link

Snider commented Sep 20, 2022

are you able to merge @bubafistah ? if not its time you get super cow powers.

@bubafistah bubafistah merged commit b3f28db into letheanVPN:dev Sep 21, 2022
@Snider
Copy link

Snider commented Sep 21, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants