Comments (2)
we temporarily used this patch for the node not to immediately crash, and ran lighning-cli dev-forget-channel
to remove the broken channels
diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c
index ead4f76a2..d39058dba 100644
--- a/lightningd/peer_control.c
+++ b/lightningd/peer_control.c
@@ -1406,7 +1406,10 @@ static void peer_connected_hook_final(struct peer_connected_hook_payload *payloa
log_debug(channel->log, "Peer has reconnected, state %s: connecting subd",
channel_state_name(channel));
- connect_activate_subd(ld, channel);
+ if (strcmp(channel_state_name(channel), "CHANNELD_AWAITING_LOCKIN") != 0
+ && strcmp(channel_state_name(channel), "CHANNELD_SHUTTING_DOWN") != 0) {
+ connect_activate_subd(ld, channel);
+ }
}
}
@@ -1799,6 +1802,9 @@ void peer_spoke(struct lightningd *ld, const u8 *msg)
log_debug(channel->log,
"Reestablish on %s channel: using channeld to reply",
channel_state_name(channel));
+ if (strcmp(channel_state_name(channel), "AWAITING_UNILATERAL") != 0) {
+ return;
+ }
if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) != 0) {
log_broken(channel->log,
"Failed to create socketpair: %s",
from lightning.
Open CLN bounty on this:
https://community.sphinx.chat/p/clt2n32tu2rjujq1jn6g/bounties/2158/2
from lightning.
Related Issues (20)
- Testing wallet generation, restoration with BIP39 give me a Wallet sanity check failed error HOT 1
- Verify
- The assets are not yet shown in my wallet
- Issue
- Issue
- Core Lightning DOES NOT support sending payments HOT 1
- plugin-sql crashes after payed hold invoices expired
- Using fetchinvoice on a Phoenix Bolt12 offer crashes CLN HOT 10
- pytest on Windows requires higher version of python-bitcoinlib HOT 1
- nix build on recent master fails
- renepay fell over HOT 1
- bkpr - get entries by payment id
- CI Complaint about spend_tag in test_onchain_their_unilateral_out[True] HOT 1
- renepay crash on `linearize_channel`
- Fix and enable github action for `Publish Python distributions to PyPI and TestPyPI`
- Bad commit sig in splicing (CI fail)
- Lock values in documentation examples
- `getroutes`: amounts with wrong fee HOT 2
- `askrene-reserve`: "guide_must_be: Assertion `actual == c' failed" HOT 1
- `askrene-inform-channel`: maximum_msat minimum_msat mismatch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning.