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

BOLT 1: make remote_addr definition machine readable. #990

Merged
merged 1 commit into from
May 18, 2022

Conversation

rustyrussell
Copy link
Collaborator

@rustyrussell rustyrussell commented May 17, 2022

It had a blank line and invalid format for tools/extract-formats.py. This meant that the python package omitted it!

And move the format information into the requirements section
(and fix spelling: node_announement -> node_announcement

Diff for extract-formats.py before and after:

--- /tmp/before	2022-05-17 10:47:01.583086352 +0930
+++ /tmp/after	2022-05-17 10:51:59.166850111 +0930
@@ -6,6 +6,8 @@
 msgdata,init,tlvs,init_tlvs,
 tlvtype,init_tlvs,networks,1
 tlvdata,init_tlvs,networks,chains,chain_hash,...
+tlvtype,init_tlvs,remote_addr,3
+tlvdata,init_tlvs,remote_addr,data,byte,...
 msgtype,error,17
 msgdata,error,channel_id,channel_id,
 msgdata,error,len,u16,

Signed-off-by: Rusty Russell [email protected]

@rustyrussell rustyrussell added the spelling These changes may be merged without additional sign off from the weekly meeting label May 17, 2022
@m-schmoock
Copy link
Collaborator

Diff for extract-formats.py before and after:

It will name the structure just data

tlvtype,init_tlvs,remote_addr,3
tlvdata,init_tlvs,remote_addr,data,byte,...

If thats okay, I can ack

@m-schmoock m-schmoock self-assigned this May 17, 2022
@m-schmoock
Copy link
Collaborator

Seems like I still can't push into Rusty's branch. We need to wait for him...

It had a blank line and invalid format for tools/extract-formats.py.

And move the format information into the requirements section
(and fix spelling: `node_announement` -> `node_announcement`

Diff for extract-formats.py before and after:

```diff
--- /tmp/before	2022-05-17 10:47:01.583086352 +0930
+++ /tmp/after	2022-05-17 10:51:59.166850111 +0930
@@ -6,6 +6,8 @@
 msgdata,init,tlvs,init_tlvs,
 tlvtype,init_tlvs,networks,1
 tlvdata,init_tlvs,networks,chains,chain_hash,...
+tlvtype,init_tlvs,remote_addr,3
+tlvdata,init_tlvs,remote_addr,data,byte,...
 msgtype,error,17
 msgdata,error,channel_id,channel_id,
 msgdata,error,len,u16,
```

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell
Copy link
Collaborator Author

Diff for extract-formats.py before and after:

It will name the structure just data

tlvtype,init_tlvs,remote_addr,3
tlvdata,init_tlvs,remote_addr,data,byte,...

If thats okay, I can ack

Fixed, description, thanks! (I changed it at the last moment, after I generated that diff!)

Copy link
Collaborator

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

ACK f1c797d

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK f1c797d

@rustyrussell
Copy link
Collaborator Author

OK, applying under the "spelling and typos" rule.

@rustyrussell rustyrussell merged commit 105c2e5 into lightning:master May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spelling These changes may be merged without additional sign off from the weekly meeting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants