-
Notifications
You must be signed in to change notification settings - Fork 266
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
Extended Queries: use TLV format for optional data #1072
Extended Queries: use TLV format for optional data #1072
Commits on Jul 12, 2019
-
Extended Queries: use TLV format for optional data
Optional query extensions now use TLV instead of a custom format. Flags are encoded as varint instead of bytes as originally proposed. With the current proposal they will all fit on a single byte, but will be much easier to extends this way.
Configuration menu - View commit details
-
Copy full SHA for 1342621 - Browse repository at this point
Copy the full SHA 1342621View commit details
Commits on Jul 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bdd0322 - Browse repository at this point
Copy the full SHA bdd0322View commit details -
Move query message TLVs to their own namespace
We add one new class for each TLV type, with specific TLV types, and encapsulate codecs.
Configuration menu - View commit details
-
Copy full SHA for 3581e36 - Browse repository at this point
Copy the full SHA 3581e36View commit details
Commits on Jul 26, 2019
-
Optional TLVs are represented as a list, not an optional list
TLVs that extend regular LN messages can be represented as a TlvStream and not an Option[TlvStream] since we don't need to explicitely terminate the stream (either by preprending its length or using a specific terminator) as we do in Onion TLVs. No TLVs simply means that the TLV stream is empty.
Configuration menu - View commit details
-
Copy full SHA for 1b0160c - Browse repository at this point
Copy the full SHA 1b0160cView commit details -
Checksums in ReplyChannelRange now have the same encoding as short channel ids and timestamps: one byte for the encoding type (uncompressed or zlib) followed by encoded data.
Configuration menu - View commit details
-
Copy full SHA for 6deaaa3 - Browse repository at this point
Copy the full SHA 6deaaa3View commit details
Commits on Jul 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ecd8a2b - Browse repository at this point
Copy the full SHA ecd8a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 787fd01 - Browse repository at this point
Copy the full SHA 787fd01View commit details -
TLV Stream: Implement a generic "get" method for TLV fields
If a have a TLV stream of type MyTLV which is a subtype of TLV, and MyTLV1 and MYTLV2 are both subtypes of MyTLV then we can use stream.get[MyTLV1] to get the TLV record of type MYTLV1 (if any) in our TLV stream.
Configuration menu - View commit details
-
Copy full SHA for 8dfdf09 - Browse repository at this point
Copy the full SHA 8dfdf09View commit details
Commits on Aug 6, 2019
-
Extended range queries: Implement latest BOLT changes
Checksums are just transmitted as a raw array, with optional compression as it would be useless here.
Configuration menu - View commit details
-
Copy full SHA for 247355b - Browse repository at this point
Copy the full SHA 247355bView commit details
Commits on Aug 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f3f213f - Browse repository at this point
Copy the full SHA f3f213fView commit details
Commits on Aug 22, 2019
-
Use extended range queries on regtest and testnet
We will use them on mainnet as soon as lightning/bolts#557 has been merged.
Configuration menu - View commit details
-
Copy full SHA for d644e4b - Browse repository at this point
Copy the full SHA d644e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddcf007 - Browse repository at this point
Copy the full SHA ddcf007View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0c2dbc - Browse repository at this point
Copy the full SHA b0c2dbcView commit details -
Router: rework handling of ReplyChannelRange
We remove the ugly and inefficient zipWithIndex we had before
Configuration menu - View commit details
-
Copy full SHA for c212d9b - Browse repository at this point
Copy the full SHA c212d9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b485308 - Browse repository at this point
Copy the full SHA b485308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94362f1 - Browse repository at this point
Copy the full SHA 94362f1View commit details