Skip to content

Simple tooling fixes#650

Merged
rustyrussell merged 2 commits into
lightning:masterfrom
rustyrussell:guilt/tooling-fixes
Aug 6, 2019
Merged

Simple tooling fixes#650
rustyrussell merged 2 commits into
lightning:masterfrom
rustyrussell:guilt/tooling-fixes

Conversation

@rustyrussell
Copy link
Copy Markdown
Collaborator

The first two are in #631 already, but the third one is new: @ZmnSCPxj points out in #643 that describing TLVs using ordered lists causes them to be merged on formatting, so we should use unordered lists (which is also logically consistent).

@rustyrussell rustyrussell added the Meeting Discussion Raise at next meeting label Jul 19, 2019
@niftynei niftynei removed the Meeting Discussion Raise at next meeting label Jul 22, 2019
The format for TLV types looked pretty, but @ZmnSCPxj points out that
successive ordered lists in markdown get merged into one megalist.

If we allow ordered or unordered lists, we're a bit more futureproof
against formatting changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
In practice, using '...*type' is the clearest and simplest way to specify
the common case of "the rest of the TLV is an array of 'type'", rather
than some arbitrary expression with a made-up length field.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the guilt/tooling-fixes branch from 80cef74 to d08b26f Compare July 30, 2019 07:33
@t-bast t-bast added the Meeting Discussion Raise at next meeting label Aug 5, 2019
Copy link
Copy Markdown
Collaborator

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

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

LGTM

@rustyrussell
Copy link
Copy Markdown
Collaborator Author

@rustyrussell rustyrussell merged commit d498d2a into lightning:master Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Meeting Discussion Raise at next meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants