Skip to content

New API for ping generation #437

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

Merged
merged 1 commit into from
Jan 5, 2020
Merged

New API for ping generation #437

merged 1 commit into from
Jan 5, 2020

Conversation

Aleru
Copy link

@Aleru Aleru commented Jan 5, 2020

Sweet, I think i got it fingers crossed :)

thanks for the help @TheBlueMatt @ariard I learned a lot.

Copy link

@ariard ariard left a comment

Choose a reason for hiding this comment

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

ACK edb5575 modulo whitespace nit.

Cool work!

@@ -115,6 +115,8 @@ struct Peer {
pending_read_is_header: bool,

sync_status: InitSyncTracker,

awaiting_pong: bool,
Copy link

Choose a reason for hiding this comment

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

nit: You have a whitespace beginning of the line there ?

You can add exec git diff-index --check --cached $against -- in the default .git/hooks/pre-commit to avoid this in the future.

Copy link
Author

Choose a reason for hiding this comment

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

sweet thanks, I will make a note of that.

I will go ahead and update it then rebase and push back

Copy link
Author

@Aleru Aleru Jan 5, 2020

Choose a reason for hiding this comment

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

I think I will see about making some changes to my text editor so it removes whitespace on the save as well.

Yeah I am using git diff and I can see the whitespaces :P

its kind of cool it highlights it in bright red on my command line (same w/ removing lines)

New API for generating pings
@Aleru
Copy link
Author

Aleru commented Jan 5, 2020

Okay when i run git diff it shows no whitespaces afaik :D

@TheBlueMatt TheBlueMatt merged commit a3064d9 into lightningdevkit:master Jan 5, 2020
@TheBlueMatt TheBlueMatt mentioned this pull request Jan 6, 2020
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.

3 participants