-
Notifications
You must be signed in to change notification settings - Fork 2
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
Test init networks TLV #13
base: master
Are you sure you want to change the base?
Commits on Nov 14, 2019
-
Specify that resolution of amount is msat
When the `p` multiplier is used, the amount MUST be divisible by 10 since the resolution used internally is millisatoshi. This addresses but does not close lightning#692.
Configuration menu - View commit details
-
Copy full SHA for a5b3818 - Browse repository at this point
Copy the full SHA a5b3818View commit details
Commits on Nov 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for efd16b9 - Browse repository at this point
Copy the full SHA efd16b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a0a7fd - Browse repository at this point
Copy the full SHA 3a0a7fdView commit details -
Tabs or spaces ? Spaces seems to largely beat tabs in this files (and more globally in the repo).
Configuration menu - View commit details
-
Copy full SHA for b84d09e - Browse repository at this point
Copy the full SHA b84d09eView commit details
Commits on Nov 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5f57ee3 - Browse repository at this point
Copy the full SHA 5f57ee3View commit details
Commits on Nov 25, 2019
-
BOLT 9: flatten feature fields.
We simply specify, in each case, where they will appear ("Context"). Because `globalfeatures` is already in use, we fold that into the renamed `localfeatures` field to unify them (now called `features`), but dissuade further use. Note also: we REQUIRE minimal `features` field in channel_announcement, since otherwise both sides of channel will not agree and not be able to create their signatures! Consider these theoretical future features: `opt_dlog_chan`: a new channel type which uses a new discrete log HTLC type, but can't support traditional HTLC: * `init`: presents as odd (optional) or even (if traditional channels not supported) * `node_announcement`: the same as above, so you can seek suitable peers. * `channel_announcement`: presents as even (compulsory), since users need to use the new HTLCs. `opt_wumbochan`: a node which allows channels > 2^24 satoshis: * `init`: presents as odd (optional), or maybe even (if you only want giant channels) * `node_announcement`: the same as above, so you can seek suitable peers. * `channel_announcement`: not present, since size of channel indicates capacity. `opt_wumbohtlc`: a channel which allows HTLCs > 2^32 millisatoshis: * `init`: presents as odd (optional), or even (compulsory) * `node_announcement`: the same as above, so you can seek suitable peers. * `channel_announcement`: odd (optional) since you can use the channel without understanding what this option means. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Co-Authored-By: Bastien Teinturier <31281497+t-bast@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 206084c - Browse repository at this point
Copy the full SHA 206084cView commit details -
BOLT 7: always propagate announcements with unknown features.
The feature fields refer to the properties of the channel/node, not the message itself, so we can still propagate them (and should, to avoid splitting the network). If we want to make an incompatible announcement message, we'll use a different type, or insert an even TLV type. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 6502e30 - Browse repository at this point
Copy the full SHA 6502e30View commit details -
BOLT 11: use the same features for BOLT11 invoices as for others.
A bit less dense, but avoids a separate feature space. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8e69306 - Browse repository at this point
Copy the full SHA 8e69306View commit details
Commits on Dec 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0fb66ca - Browse repository at this point
Copy the full SHA 0fb66caView commit details
Commits on Dec 13, 2019
-
BOLT 4: don't allow a "fee" for the final node.
I recently made a cut & paste bug with the protocol tests, and paid an HTLC of amount 100M msat, but with only a 1M msat `amt_to_forward` in the hop_data. To my surprise, it was accepted. This is because we allow overpaying the routing fee (considered 0 for the final hop). This doesn't make sense for the final hop: anything but exact equality implies a bug, or that the previous node took the wrong amount from the payment. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 2422630 - Browse repository at this point
Copy the full SHA 2422630View commit details -
BOLT 9: Add feature bits for payment_secret and basic_mpp.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for b2a3c2f - Browse repository at this point
Copy the full SHA b2a3c2fView commit details -
BOLT 11: Add payment_secret field (compulsory for new invoices).
We also define what the basic_mpp feature means in an invoice, by reference to the next commit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 5776d2a - Browse repository at this point
Copy the full SHA 5776d2aView commit details -
This also defines the TLV format for payment_secret; the two are intertwined. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 4c3d016 - Browse repository at this point
Copy the full SHA 4c3d016View commit details -
BOLT 4/11: require payment_secret for multi-part payments.
This means the BOLT11 invoice must offer it (we already say it must set the field if it offers it), and that the receiving node must require it (again, we already say it must check it if it requires it). Without the payment_secret, MPP payments are especially vulnerable to probing attacks: unlike normal payments (with amounts) they can be detected with 1msat payment probes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 6ad8ee4 - Browse repository at this point
Copy the full SHA 6ad8ee4View commit details
Commits on Dec 16, 2019
-
Merge pull request lightning#712 from rustyrussell/rebased-amp
*Require* payment_secret for multi-part payments
Configuration menu - View commit details
-
Copy full SHA for 138ee87 - Browse repository at this point
Copy the full SHA 138ee87View commit details
Commits on Dec 24, 2019
-
Resolve conflict between BOLT 4&9 re: var_onion_optin context
BOLT 4 explicitly indicates var_onion_optin may appear in a BOLT 11 invoice, however, BOLT 9 only indicates it is available in init and node_announcement contextx. Resolve this conflict in favor of BOLT 4 as there doesn't seem to be much reason to *not* allow it in BOLT 11 invoices.
Configuration menu - View commit details
-
Copy full SHA for 44c5fa1 - Browse repository at this point
Copy the full SHA 44c5fa1View commit details
Commits on Jan 6, 2020
-
Do not allow routing to a node with unkown feature bits set.
This appears to have been an oversight in the flat features spec, and is somewhat implicitly relied on for several new feature bits - if var_onion_optin is set on a node_announcement (its not allowed on a channel_announcement), then trying to route through that node using the pre-tlv formt is somewhat nonsensical, and should be forbidden.
Configuration menu - View commit details
-
Copy full SHA for 5abee4d - Browse repository at this point
Copy the full SHA 5abee4dView commit details
Commits on Jan 8, 2020
-
Merge pull request lightning#723 from TheBlueMatt/master
Resolve two spec oddities regarding new features.
Configuration menu - View commit details
-
Copy full SHA for 5f2c0ef - Browse repository at this point
Copy the full SHA 5f2c0efView commit details -
lightning#711 don't allow a "fee" for the final node. (lightning#718)
Update a requirement that was missed in lightning#711
Configuration menu - View commit details
-
Copy full SHA for f219ee0 - Browse repository at this point
Copy the full SHA f219ee0View commit details
Commits on Jan 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b62c878 - Browse repository at this point
Copy the full SHA b62c878View commit details -
04-onion-routing.md: Fix factual error about
final_expiry_too_soon
. (……lightning#722) As reading of commit 6729755 shows, `final_expiry_too_soon` was 17, not PERM|17. Note that because we folded a previously non-permanent failure into the now-permanent PERM|15 failure code, modifications to payment algorithms may now be needed to specificalyl detect this case, otherwise payment algorithms may give up in some edge cases where blocks are mined while payments are in-transit between sender and receiver.
Configuration menu - View commit details
-
Copy full SHA for 11f6017 - Browse repository at this point
Copy the full SHA 11f6017View commit details
Commits on Jan 21, 2020
-
09+11: require transitive feature dependencies
This commit: - Adds a new Dependencies column to the BOLT 9 feature table populated with existing feature dependencies. - Requires that all valid feature vectors set transitive dependencies. - Requires checking transitive dependencies when validating init messages and payment request. - Removes transitive feature requiremetns from the BOLT 11 writer, now that they are implicit by needing to comply with the BOLT 9 origin requirements.
Configuration menu - View commit details
-
Copy full SHA for 4c638b7 - Browse repository at this point
Copy the full SHA 4c638b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1259f8f - Browse repository at this point
Copy the full SHA 1259f8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53653e5 - Browse repository at this point
Copy the full SHA 53653e5View commit details -
BOLT11: simplify existing writer feature requirements
As a final step, we now can remove several of the BOLT 11 writer's requirements now that it builds on BOLT 9's, particularly: - setting the even bit if a feature is required. - only setting a feature if the node supports a given feature. The lone requirement that remains pertains to setting the `s` value if and only if the `payment_secret` feature is set.
Configuration menu - View commit details
-
Copy full SHA for c3a8e5e - Browse repository at this point
Copy the full SHA c3a8e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for caca437 - Browse repository at this point
Copy the full SHA caca437View commit details -
Configuration menu - View commit details
-
Copy full SHA for 798ff4b - Browse repository at this point
Copy the full SHA 798ff4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f1386 - Browse repository at this point
Copy the full SHA 29f1386View commit details
Commits on Jan 24, 2020
-
BOLT-04: modify Sphinx packet construction to use starting random bytes
In this commit, we modify the existing instructions to create the Sphinx packet to no longer start out with a zero initialize set of 1366 bytes. Instead, we now instruct the sender to use _random_ bytes derived from a CSPRG. This fixes a recently discovered privacy leak that allows an adversarial exit hop to ascertain a lower bound on the true path length. Note that this doesn't affect packet processing, so this is a backwards compatible change. Only clients need to update in order to avoid this privacy leak. After this change is applied, the test vectors as is don't match the spec, as they're created using the original all zero starting bytes. We can either update these with our specified set of random bytes, or leave them as is, as they're fully deterministic as is. An alternative path would be to generate more random bytes from the shared secret as we do elsewhere (the chacha based CSPRNG).
Configuration menu - View commit details
-
Copy full SHA for 8dd0b75 - Browse repository at this point
Copy the full SHA 8dd0b75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1edeb - Browse repository at this point
Copy the full SHA 7c1edebView commit details
Commits on Jan 29, 2020
-
Update 01-messaging.md (lightning#732)
Add missing parenthesis in link.
Configuration menu - View commit details
-
Copy full SHA for 75f46ba - Browse repository at this point
Copy the full SHA 75f46baView commit details -
Merge pull request lightning#700 from Sword-Smith/patch-3
Specify that resolution of amount is msat
Configuration menu - View commit details
-
Copy full SHA for 17df7f2 - Browse repository at this point
Copy the full SHA 17df7f2View commit details
Commits on Jan 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0bb69d3 - Browse repository at this point
Copy the full SHA 0bb69d3View commit details
Commits on Feb 3, 2020
-
BOLT 7: be more aggressive about sending our own gossip.
As more nodes on the network use timestamp_filter to block gossip floods, we've seen some propagation problems. This should avoid it (and is implemented now by c-lightning). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 458b0d3 - Browse repository at this point
Copy the full SHA 458b0d3View commit details
Commits on Feb 14, 2020
-
Fix a typo in
insert_secret
pseudo code (lightning#741)... to make it consistent with the `where_to_put_secret` above.
Jan Xie authoredFeb 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 2afe097 - Browse repository at this point
Copy the full SHA 2afe097View commit details
Commits on Feb 17, 2020
-
Remove reference to DER encoding for public keys in compressed format (…
…lightning#742) ECDSA signatures in Bitcoin are DER-encoded but public keys are not. The compressed format for public keys is for example standardized in Sections 2.3.3 and 2.3.4 of Standards for Efficient Cryptography, SEC 1: Elliptic Curve Cryptography, Certicom Research, Version 2, 2009, https://www.secg.org/sec1-v2.pdf
Configuration menu - View commit details
-
Copy full SHA for fb7102e - Browse repository at this point
Copy the full SHA fb7102eView commit details
Commits on Feb 18, 2020
-
Single-option large channel proposal (lightning#596)
Add option to open large channels (wumbo).
Configuration menu - View commit details
-
Copy full SHA for 3847935 - Browse repository at this point
Copy the full SHA 3847935View commit details -
BOLT 1: add networks to init message. (lightning#682)
Add networks to init message via TLV extension. This prevents accidentally connecting a testnet node to mainnet or the other way around.
Configuration menu - View commit details
-
Copy full SHA for 7b01692 - Browse repository at this point
Copy the full SHA 7b01692View commit details -
Keep
hmac
case consistent (lightning#547)Use `hmac` (lower-case) in packet fields to stay consistent with other fields.
Configuration menu - View commit details
-
Copy full SHA for a2afdfd - Browse repository at this point
Copy the full SHA a2afdfdView commit details -
Clarify numerical comparison of pubkeys (lightning#743)
We are using lexixographic order (which is the same as big-endian when inputs have the same size, such as compressed public keys).
Configuration menu - View commit details
-
Copy full SHA for dcbf858 - Browse repository at this point
Copy the full SHA dcbf858View commit details -
tests: spec for test vectors, and a simple example.
I initially used JSON, but it was not human-writable. The simple DSL is much more human-writable, and readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for eccb27b - Browse repository at this point
Copy the full SHA eccb27bView commit details -
Works with current c-lightning master branch, as long as it's built with --enable-developer. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 077af84 - Browse repository at this point
Copy the full SHA 077af84View commit details -
Very simple successful open. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for d940f77 - Browse repository at this point
Copy the full SHA d940f77View commit details -
Does a simple dust HTLC and a non-dust HTLC. Both fail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8e46a95 - Browse repository at this point
Copy the full SHA 8e46a95View commit details -
tests: add reconnection tests to add-htlc.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 04eb8e3 - Browse repository at this point
Copy the full SHA 04eb8e3View commit details -
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for d67cf5a - Browse repository at this point
Copy the full SHA d67cf5aView commit details -
tests: make to_self_delay different between peers.
This helps for testing that we handle it correctly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 73a04e7 - Browse repository at this point
Copy the full SHA 73a04e7View commit details -
tests/events: split htlc-add and htlc-fail tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8684b8b - Browse repository at this point
Copy the full SHA 8684b8bView commit details -
tests/events: test unknown messages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for abb41ed - Browse repository at this point
Copy the full SHA abb41edView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bfb47 - Browse repository at this point
Copy the full SHA b6bfb47View commit details -
rfc-tests: handle subtype parsing
Preliminary parsing for subtypes. Probably need something on the unpacking side also.
Configuration menu - View commit details
-
Copy full SHA for d250ebe - Browse repository at this point
Copy the full SHA d250ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97eb45a - Browse repository at this point
Copy the full SHA 97eb45aView commit details -
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 20ed1ad - Browse repository at this point
Copy the full SHA 20ed1adView commit details -
Useful for gossip tests, antonym of maybe-send. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 06b9ec3 - Browse repository at this point
Copy the full SHA 06b9ec3View commit details -
protocol tests: handle unpack subtypes
Unpacking and comparison for subtypes.
Configuration menu - View commit details
-
Copy full SHA for 6dfb24b - Browse repository at this point
Copy the full SHA 6dfb24bView commit details -
protcol tests: for c-lightning driver, ensure funds in wallet
make sure that the funds have hit the wallet before continuing node operation
Configuration menu - View commit details
-
Copy full SHA for 20c1304 - Browse repository at this point
Copy the full SHA 20c1304View commit details -
protocol tests: allow implementation specific flags to be passed in
Adds a command flag for command flags. Passed down to the runner on start. Ex: -f max-allowed=0 -f no-fuzz=true
Configuration menu - View commit details
-
Copy full SHA for 6592287 - Browse repository at this point
Copy the full SHA 6592287View commit details -
if the values are empty, match them up
Configuration menu - View commit details
-
Copy full SHA for d33705e - Browse repository at this point
Copy the full SHA d33705eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c74067 - Browse repository at this point
Copy the full SHA 1c74067View commit details -
Configuration menu - View commit details
-
Copy full SHA for afb87dc - Browse repository at this point
Copy the full SHA afb87dcView commit details -
Allow check for field length instead of contents
For dual-funded tests, we need a way to verify that witnesses are the correct length instead of the correct contents. This is a bit 'complicated' because witnesses are in the range of 71-73 bytes long. This patch allows a byte length (or range) to be specified by using `*73` or `*71-73`, as in the case for a range of valid lengths.
Configuration menu - View commit details
-
Copy full SHA for da66e11 - Browse repository at this point
Copy the full SHA da66e11View commit details -
New test runner event, gives the node under test time to confirm that they do in fact have funds in their wallet before proceeding.
Configuration menu - View commit details
-
Copy full SHA for 1a863ac - Browse repository at this point
Copy the full SHA 1a863acView commit details -
Move funding output block broadcast into tests
Allows dual-funding tests to specify a different set of outputs to be used as inputs for the funding transaction
Configuration menu - View commit details
-
Copy full SHA for 3b1a9a0 - Browse repository at this point
Copy the full SHA 3b1a9a0View commit details -
Revert "new event 'wait-funds'"
This reverts commit 09d9c80.
Configuration menu - View commit details
-
Copy full SHA for eebe7ae - Browse repository at this point
Copy the full SHA eebe7aeView commit details -
test-spec.md: update with length options.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 50213ad - Browse repository at this point
Copy the full SHA 50213adView commit details -
tools/test-events.py: handle indention which occurs at EOF.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 5cabd01 - Browse repository at this point
Copy the full SHA 5cabd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b5f5f - Browse repository at this point
Copy the full SHA 00b5f5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a959ecc - Browse repository at this point
Copy the full SHA a959eccView commit details -
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for ad8ff1c - Browse repository at this point
Copy the full SHA ad8ff1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edaa8a - Browse repository at this point
Copy the full SHA 3edaa8aView commit details -
Otherwise combinatorial explosion buries us in gossip alternatives. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for cbdca18 - Browse repository at this point
Copy the full SHA cbdca18View commit details -
handle tlvs in a slightly less hacky way.
We still treat them as blobs of hex, but we don't base it on the suffix. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 487cc61 - Browse repository at this point
Copy the full SHA 487cc61View commit details -
Fix parsing of signature hex fields.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 86926b0 - Browse repository at this point
Copy the full SHA 86926b0View commit details -
Add setup.incl which contains convenience vars.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for e7380c2 - Browse repository at this point
Copy the full SHA e7380c2View commit details -
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 46c4139 - Browse repository at this point
Copy the full SHA 46c4139View commit details -
Basic gossip_timestamp_filter tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 7e39c2c - Browse repository at this point
Copy the full SHA 7e39c2cView commit details -
Basic query_channel_range tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 4f3fe68 - Browse repository at this point
Copy the full SHA 4f3fe68View commit details -
basic query_short_channel_ids tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 0fab8a6 - Browse repository at this point
Copy the full SHA 0fab8a6View commit details -
query_short_channel_ids tests for option_gossip_queries_ex.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 841a4a4 - Browse repository at this point
Copy the full SHA 841a4a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fabde2b - Browse repository at this point
Copy the full SHA fabde2bView commit details -
tests: add tests for option_static_remotekey.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for fd408dc - Browse repository at this point
Copy the full SHA fd408dcView commit details -
featurebits: update feature bit tests
now that we support dual_fund and static_remotekey, we needed to update the init tests
Configuration menu - View commit details
-
Copy full SHA for f99c7ab - Browse repository at this point
Copy the full SHA f99c7abView commit details -
test-events.py: Fix printing of unexpected fields.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for a42c38a - Browse repository at this point
Copy the full SHA a42c38aView commit details -
tools/test-events-clightning: autodetect supported features.
You can still override on cmdline. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 4a9720e - Browse repository at this point
Copy the full SHA 4a9720eView commit details -
tools/test-events-clightning: use modern -dev options
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for a811778 - Browse repository at this point
Copy the full SHA a811778View commit details -
tests: fix option_static_remotekey
Feature bit is now 13 (0x80000), and we include the my_current_per_commitment_point with option_static_remotekey; we just ignore it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 0e98ecb - Browse repository at this point
Copy the full SHA 0e98ecbView commit details -
tools/test-events-clightning.py: fix time so gossip tests work.
They worked for about two weeks after I wrote them! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 5e9c614 - Browse repository at this point
Copy the full SHA 5e9c614View commit details -
tests: Add shutdown for executor
Will be used later for fundchannel process
Configuration menu - View commit details
-
Copy full SHA for 254ad12 - Browse repository at this point
Copy the full SHA 254ad12View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8af700 - Browse repository at this point
Copy the full SHA b8af700View commit details -
tests: add feerate to fundchannel command
Allow for the test to specify the feerate for a fundchannel open
Configuration menu - View commit details
-
Copy full SHA for 01dbfc6 - Browse repository at this point
Copy the full SHA 01dbfc6View commit details -
test: add fundchannel implementation to c-lightning runner
Build out the command for fundchannel, originates open_channel from node under test
Configuration menu - View commit details
-
Copy full SHA for 4b476db - Browse repository at this point
Copy the full SHA 4b476dbView commit details -
test: cleaner shutdown of fundchannel on exit
If we exit before fundchannel has finished, it shows errors; let's swallow the errors if they're happening on/after shutdown
Configuration menu - View commit details
-
Copy full SHA for 3fc25c0 - Browse repository at this point
Copy the full SHA 3fc25c0View commit details -
tests: kill fundchannel on stop
We need to make sure that any fundchannel process is killed by stop, so that we can run multiple fundchannel attempts in the same go Also removes 'shutdown(wait=False)' since it doesn't do anything, really.
Configuration menu - View commit details
-
Copy full SHA for be5ddaa - Browse repository at this point
Copy the full SHA be5ddaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0276fc - Browse repository at this point
Copy the full SHA a0276fcView commit details -
tests: test case for basic opening a channel (opener)
Simple 'open channel' check from the opener's perspective. Uses the 'new' fundchannel impl for c-lightning.
Configuration menu - View commit details
-
Copy full SHA for 647da25 - Browse repository at this point
Copy the full SHA 647da25View commit details -
tests: add capability to dynamically generate/verify sigs
Moving c-lightning over to 'ground' sigs means that it'd be more flexible if the protocol test framework allowed for dynamically generating or verifying sigs based on a hash + private key. Uses ':' notation as a separator so that `htlc_signature` list parsing will still work without modification
Configuration menu - View commit details
-
Copy full SHA for 50de0f7 - Browse repository at this point
Copy the full SHA 50de0f7View commit details -
tests: update signatures to use SIG() notation
missing openchannel, will follow with cleanup
Configuration menu - View commit details
-
Copy full SHA for 6a3237c - Browse repository at this point
Copy the full SHA 6a3237cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc29195 - Browse repository at this point
Copy the full SHA cc29195View commit details -
tools: update c-lightning runner for modern per-network paths.
As changed in commit aab83e729b93d6ce2e2b4702681aaba71462bec8. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for e43238d - Browse repository at this point
Copy the full SHA e43238dView commit details -
tests: update bolt1-01-init "high-numbered" features now 18 and 19 ar…
…e used. Add another 16 bits. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 2049a6e - Browse repository at this point
Copy the full SHA 2049a6eView commit details -
tools: fix test-events-clightning.py funchannel.
NameError: name 'peers' is not defined Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8d5ef1e - Browse repository at this point
Copy the full SHA 8d5ef1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a01332 - Browse repository at this point
Copy the full SHA 7a01332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58d9b9f - Browse repository at this point
Copy the full SHA 58d9b9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c90a8 - Browse repository at this point
Copy the full SHA a6c90a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d73824a - Browse repository at this point
Copy the full SHA d73824aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ff22bc - Browse repository at this point
Copy the full SHA 6ff22bcView commit details -
BOLT 1: add networks to init message.
This has been discussed for forever, but now we have TLVs the correct encoding seems obvious. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 46fdceb - Browse repository at this point
Copy the full SHA 46fdcebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf9e63 - Browse repository at this point
Copy the full SHA 6bf9e63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f3d9f - Browse repository at this point
Copy the full SHA 92f3d9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f2f6d - Browse repository at this point
Copy the full SHA 66f2f6dView commit details