-
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 optional #899
Commits on Sep 11, 2018
-
Extended query messages are allow peers to exchange short channel id and timestamps, and to query either announcement + updates or just updates: - query_channel_range_ex is used asked to ask for a list of (short channel ids + timestamp) - reply_channel_range_ex will return a list of (short channel ids + timestamp) - query_short_channel_ids_ex is used to ask for channel updates and optionaly the matching channel announcement - query_short_channel_ids_end_ex is sent when an extended query has been completed
Configuration menu - View commit details
-
Copy full SHA for 6e2d30f - Browse repository at this point
Copy the full SHA 6e2d30fView commit details -
Add a feature bit for extended channel range queries
Last feature bit is currently 7, we use bit 15 to not interfere with new features being added to the LN spec.
Configuration menu - View commit details
-
Copy full SHA for 14e7255 - Browse repository at this point
Copy the full SHA 14e7255View commit details
Commits on Sep 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 90a0393 - Browse repository at this point
Copy the full SHA 90a0393View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada3bbb - Browse repository at this point
Copy the full SHA ada3bbbView commit details
Commits on Sep 16, 2018
-
Correctly handle multiple channel_range_replies
The scheme we use to keep tracks of channel queries with each peer would forget about missing data when several channel_range_replies are sent back for a single channel_range_queries.
Configuration menu - View commit details
-
Copy full SHA for 6cedaeb - Browse repository at this point
Copy the full SHA 6cedaebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f9025f - Browse repository at this point
Copy the full SHA 1f9025fView commit details
Commits on Sep 17, 2018
-
RoutingSync: remove peer entry properly
* Remove peer entry on our sync map only when we've received a `reply_short_channel_ids_end` message. * Make routing sync test more explicit
Configuration menu - View commit details
-
Copy full SHA for b5f53ce - Browse repository at this point
Copy the full SHA b5f53ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c45bb - Browse repository at this point
Copy the full SHA 03c45bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4b554 - Browse repository at this point
Copy the full SHA 5a4b554View commit details -
Configuration menu - View commit details
-
Copy full SHA for 837dd97 - Browse repository at this point
Copy the full SHA 837dd97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 338cf7d - Browse repository at this point
Copy the full SHA 338cf7dView commit details
Commits on Sep 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0da9136 - Browse repository at this point
Copy the full SHA 0da9136View commit details
Commits on Sep 19, 2018
-
Router: clean our sync state when we (re)connect to a peer
We must clean up leftovers for the previous session and start the sync process again.
Configuration menu - View commit details
-
Copy full SHA for f7b3409 - Browse repository at this point
Copy the full SHA f7b3409View commit details -
Configuration menu - View commit details
-
Copy full SHA for e740523 - Browse repository at this point
Copy the full SHA e740523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f0c81 - Browse repository at this point
Copy the full SHA 19f0c81View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebcd58c - Browse repository at this point
Copy the full SHA ebcd58cView commit details -
Router: reset sync state on reconnection
When we're reconnected to a peer we will start a new sync process and should reset our sync state with that peer.
Configuration menu - View commit details
-
Copy full SHA for c345b2f - Browse repository at this point
Copy the full SHA c345b2fView commit details -
Revert "Routing: don't request their channel ids if we don't want a r…
…outing table dump" This reverts commit 19f0c81.
Configuration menu - View commit details
-
Copy full SHA for 830f963 - Browse repository at this point
Copy the full SHA 830f963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 668f172 - Browse repository at this point
Copy the full SHA 668f172View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e47d5f - Browse repository at this point
Copy the full SHA 3e47d5fView commit details
Commits on Sep 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 28383fa - Browse repository at this point
Copy the full SHA 28383faView commit details
Commits on Sep 21, 2018
-
add extended query flag to our log message
It will tell us if sender requests channel announcements and updates or just updates
Configuration menu - View commit details
-
Copy full SHA for da012f9 - Browse repository at this point
Copy the full SHA da012f9View commit details
Commits on Sep 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2744613 - Browse repository at this point
Copy the full SHA 2744613View commit details
Commits on Oct 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e70043d - Browse repository at this point
Copy the full SHA e70043dView commit details
Commits on Oct 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 71a4542 - Browse repository at this point
Copy the full SHA 71a4542View commit details
Commits on Oct 23, 2018
-
Configuration menu - View commit details
-
Copy full SHA for da25696 - Browse repository at this point
Copy the full SHA da25696View commit details
Commits on Oct 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eb44823 - Browse repository at this point
Copy the full SHA eb44823View commit details -
Configuration menu - View commit details
-
Copy full SHA for f22728c - Browse repository at this point
Copy the full SHA f22728cView commit details
Commits on Oct 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4f513c4 - Browse repository at this point
Copy the full SHA 4f513c4View commit details
Commits on Nov 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7e74e14 - Browse repository at this point
Copy the full SHA 7e74e14View commit details
Commits on Dec 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7367313 - Browse repository at this point
Copy the full SHA 7367313View commit details
Commits on Dec 3, 2018
-
Extended channel queries: clean up
Use more descriptive names and specifiy what is specific to our own prototypes and what is proposed for BOLT 1.1
Configuration menu - View commit details
-
Copy full SHA for a263200 - Browse repository at this point
Copy the full SHA a263200View commit details
Commits on Dec 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cbb951c - Browse repository at this point
Copy the full SHA cbb951cView commit details
Commits on Jan 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 515461f - Browse repository at this point
Copy the full SHA 515461fView commit details
Commits on Jan 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9e9c3c8 - Browse repository at this point
Copy the full SHA 9e9c3c8View commit details
Commits on Jan 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 22455c0 - Browse repository at this point
Copy the full SHA 22455c0View commit details
Commits on Jan 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for aa6c930 - Browse repository at this point
Copy the full SHA aa6c930View commit details
Commits on Jan 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e17ef25 - Browse repository at this point
Copy the full SHA e17ef25View commit details
Commits on Jan 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 928d165 - Browse repository at this point
Copy the full SHA 928d165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffabe9 - Browse repository at this point
Copy the full SHA 5ffabe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a16d3d7 - Browse repository at this point
Copy the full SHA a16d3d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a41ce5 - Browse repository at this point
Copy the full SHA 6a41ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 430823a - Browse repository at this point
Copy the full SHA 430823aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdbaf5d - Browse repository at this point
Copy the full SHA fdbaf5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21359e2 - Browse repository at this point
Copy the full SHA 21359e2View commit details
Commits on Jan 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 919bad7 - Browse repository at this point
Copy the full SHA 919bad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27c21a9 - Browse repository at this point
Copy the full SHA 27c21a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba1f15 - Browse repository at this point
Copy the full SHA 3ba1f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 428fd0a - Browse repository at this point
Copy the full SHA 428fd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 366507e - Browse repository at this point
Copy the full SHA 366507eView commit details
Commits on Jan 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7685c7d - Browse repository at this point
Copy the full SHA 7685c7dView commit details
Commits on Jan 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0d9f285 - Browse repository at this point
Copy the full SHA 0d9f285View commit details -
Configuration menu - View commit details
-
Copy full SHA for de866e2 - Browse repository at this point
Copy the full SHA de866e2View commit details
Commits on Feb 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c04af36 - Browse repository at this point
Copy the full SHA c04af36View commit details
Commits on Mar 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 304f12d - Browse repository at this point
Copy the full SHA 304f12dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c068b93 - Browse repository at this point
Copy the full SHA c068b93View commit details
Commits on Mar 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for deb0708 - Browse repository at this point
Copy the full SHA deb0708View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d72600 - Browse repository at this point
Copy the full SHA 7d72600View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a1d19 - Browse repository at this point
Copy the full SHA d3a1d19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81023a2 - Browse repository at this point
Copy the full SHA 81023a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 564c1c5 - Browse repository at this point
Copy the full SHA 564c1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bbbebb - Browse repository at this point
Copy the full SHA 5bbbebbView commit details
Commits on Mar 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7b40799 - Browse repository at this point
Copy the full SHA 7b40799View commit details -
It is not needed since old implementations will just ignore additional fields.
Configuration menu - View commit details
-
Copy full SHA for 4ba355e - Browse repository at this point
Copy the full SHA 4ba355eView commit details
Commits on Mar 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4a2eb07 - Browse repository at this point
Copy the full SHA 4a2eb07View commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7a6acd9 - Browse repository at this point
Copy the full SHA 7a6acd9View commit details
Commits on Mar 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 94711a8 - Browse repository at this point
Copy the full SHA 94711a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 149deb7 - Browse repository at this point
Copy the full SHA 149deb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a18ec55 - Browse repository at this point
Copy the full SHA a18ec55View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a18be - Browse repository at this point
Copy the full SHA f2a18beView commit details
Commits on Mar 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 79d9aa0 - Browse repository at this point
Copy the full SHA 79d9aa0View commit details
Commits on Mar 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9ebfb5f - Browse repository at this point
Copy the full SHA 9ebfb5fView commit details
Commits on Mar 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0ace8da - Browse repository at this point
Copy the full SHA 0ace8daView commit details -
Configuration menu - View commit details
-
Copy full SHA for faa9a8c - Browse repository at this point
Copy the full SHA faa9a8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b488701 - Browse repository at this point
Copy the full SHA b488701View commit details
Commits on Apr 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ffa6183 - Browse repository at this point
Copy the full SHA ffa6183View commit details
Commits on Apr 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 96e1c87 - Browse repository at this point
Copy the full SHA 96e1c87View commit details
Commits on Apr 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3cf840e - Browse repository at this point
Copy the full SHA 3cf840eView commit details
Commits on May 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b282581 - Browse repository at this point
Copy the full SHA b282581View commit details
Commits on May 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 640144b - Browse repository at this point
Copy the full SHA 640144bView commit details
Commits on Jun 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c97cfc5 - Browse repository at this point
Copy the full SHA c97cfc5View commit details
Commits on Jun 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ddcf2d4 - Browse repository at this point
Copy the full SHA ddcf2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3033696 - Browse repository at this point
Copy the full SHA 3033696View commit details
Commits on Jul 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5a1a58a - Browse repository at this point
Copy the full SHA 5a1a58aView commit details
Commits on Jul 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1240166 - Browse repository at this point
Copy the full SHA 1240166View commit details
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c4eb812 - Browse repository at this point
Copy the full SHA c4eb812View commit details
Commits on Jul 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3db77b4 - Browse repository at this point
Copy the full SHA 3db77b4View commit details
Commits on Aug 12, 2019
-
Update list of commands in eclair-cli help (#1091)
* Add missing API endpoints to eclair-cli help
Configuration menu - View commit details
-
Copy full SHA for a60048d - Browse repository at this point
Copy the full SHA a60048dView commit details -
* Fix README style warnings * Add documentation links to the wiki * Update build instructions.
Configuration menu - View commit details
-
Copy full SHA for 7582402 - Browse repository at this point
Copy the full SHA 7582402View commit details -
* Type all amounts used in eclair * Add eclair.MilliSatoshi class * Use bitcoin-lib 0.14 * Add specialized codecs for Satoshi/MilliSatoshi * Rename 'toSatoshi' to 'truncateToSatoshi' to highlight it's a precision-losing conversion
Configuration menu - View commit details
-
Copy full SHA for f53b770 - Browse repository at this point
Copy the full SHA f53b770View commit details
Commits on Aug 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8be2227 - Browse repository at this point
Copy the full SHA 8be2227View commit details
Commits on Aug 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d321a21 - Browse repository at this point
Copy the full SHA d321a21View commit details -
Extended Queries: use TLV format for optional data (#1072)
* 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. * Move query message TLVs to their own namespace We add one new class for each TLV type, with specific TLV types, and encapsulate codecs. * 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. * Update to match BOLT PR 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. * 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. * Extended range queries: Implement latest BOLT changes Checksums are just transmitted as a raw array, with optional compression as it would be useless here. * Use extended range queries on regtest and testnet We will use them on mainnet as soon as lightning/bolts#557 has been merged. * Address review comments * Router: rework handling of ReplyChannelRange We remove the ugly and inefficient zipWithIndex we had before * NodeParams: move fee base check to its proper place * Router: minor cleanup
Configuration menu - View commit details
-
Copy full SHA for 0780fc2 - Browse repository at this point
Copy the full SHA 0780fc2View commit details
Commits on Aug 26, 2019
-
Channel range queries: send back node announcements (#1108)
* Channel Range Queries: send back node announcements if requested This PR adds support for sending back node announcements when replying to channel range queries: - when explicitly requested (bit is set in the optional query flag) - when query flags are not used and a channel announcement is sent (as per the BOLTs) A new configuration option `request-node-announcements` has been added in the `router` section. If set to true, we will request node announcements when we receive a channel id (through channel range queries) that we don't know of. This is a setting that we will probably turn off on mobile devices. * Increase tests timeouts There is now more work to do. * Test query sync with and without node announcements * Router: minor fix * Router: rework query handling
Configuration menu - View commit details
-
Copy full SHA for 92d9f2a - Browse repository at this point
Copy the full SHA 92d9f2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8b41c9 - Browse repository at this point
Copy the full SHA c8b41c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d404e5d - Browse repository at this point
Copy the full SHA d404e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9947887 - Browse repository at this point
Copy the full SHA 9947887View commit details -
Configuration menu - View commit details
-
Copy full SHA for e43d884 - Browse repository at this point
Copy the full SHA e43d884View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea11036 - Browse repository at this point
Copy the full SHA ea11036View commit details
Commits on Aug 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 217a8f7 - Browse repository at this point
Copy the full SHA 217a8f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d070d3 - Browse repository at this point
Copy the full SHA 5d070d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f283d - Browse repository at this point
Copy the full SHA d3f283dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b937ac7 - Browse repository at this point
Copy the full SHA b937ac7View commit details
Commits on Aug 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 57abd93 - Browse repository at this point
Copy the full SHA 57abd93View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2b1506 - Browse repository at this point
Copy the full SHA b2b1506View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd86b06 - Browse repository at this point
Copy the full SHA bd86b06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 361460d - Browse repository at this point
Copy the full SHA 361460dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f2048 - Browse repository at this point
Copy the full SHA 69f2048View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3682d - Browse repository at this point
Copy the full SHA fd3682dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd90287 - Browse repository at this point
Copy the full SHA cd90287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 310b9ba - Browse repository at this point
Copy the full SHA 310b9baView commit details