r/lightningnetwork Feb 08 '25

⚡Explore the Awesome Lightning Network Wiki! Discover a curated collection of Lightning-related projects, tools, and resources—all in one place!⚡

Thumbnail reddit.com
5 Upvotes

r/lightningnetwork 14h ago

Can Lightning + Nostr make P2P Bitcoin harder to regulate through a single company?

6 Upvotes

Peach's announcement yesterday raises an interesting Lightning question.

Peach is temporarily changing its escrow model while dealing with regulatory uncertainty.

What I'm more interested in is the architecture.

A P2P market can have buyers and sellers trading directly, but if one company still controls critical coordination or escrow infrastructure, that company remains a pressure point.

Mostro takes a different approach: Nostr for coordination, Lightning for the Bitcoin side of trades, and independent coordinators running an open protocol.

That doesn't magically remove trust or regulation. But it potentially makes the infrastructure replaceable rather than tying the whole market to one operator.

I explored the Peach situation and compared the two approaches here:

https://davidebtc186.substack.com/p/peach-bitcoin-just-hit-a-regulatory

Curious what Lightning people think: is this one of the more interesting use cases for Lightning + Nostr beyond payments/social?


r/lightningnetwork 3d ago

La solución para la red lightning. Bitcoin va a llegar a 1 M

2 Upvotes

Causas de la inseguridad en Lightning Network

1. Channel jamming (saturación de canales)

Un atacante abre dos canales en posiciones opuestas de una ruta, envía HTLCs que nunca resuelve, y bloquea los 483 slots HTLC por canal disponibles en los nodos intermedios, o bien ocupa toda la liquidez de un canal con un único HTLC de monto alto. El costo para el atacante es cero: los HTLCs caducan y los fondos retornan. La víctima pierde tiempo de enrutamiento, fees de oportunidad, y reputación como nodo.

El límite de 483 slots HTLC por canal implica que un atacante con solo dos canales puede bloquear más de 10,000 slots honestos en la red simultáneamente, sin pagar fees.

Estado de mitigaciones (2026): El sistema de HTLC endorsement/accountability (BLIP-04) ya está implementado de forma experimental en Eclair (PR #2716, 2025) y LDK. Con este mecanismo, un nodo que ejecuta jamming acumula mala reputación, y sus HTLCs futuros reciben acceso reducido a slots y liquidez reservados para peers de alta reputación. La variante más reciente ("accountability") transfiere la decisión de reenvío al nodo downstream, que tiene información asimétrica mejor sobre su cliente.

Lo que sigue sin despliegue en producción: la propuesta de John Law (2025) de upfront fees + hold fees con "burnable outputs", que haría que el atacante pague un costo real por cada HTLC que mantiene abierto, escalando con el tiempo de retención. Esto convertiría el jamming en económicamente irracional, pero aún está en fase de propuesta.

Conclusión: el jamming es el vector abierto más grave de Lightning Network en 2026. Las mitigaciones reducen su escala, pero no lo eliminan.

2. Replacement cycling y pinning attacks

El ataque (CVE-2023-40231 al 40234) explota Replace-By-Fee: cuando un nodo routing necesita reclamar su HTLC-timeout on-chain, el atacante cicla su transacción HTLC-preimage en y fuera del mempool del nodo víctima mediante reemplazos RBF, impidiendo que éste obtenga el preimage. El objetivo es que la transacción de preimage del atacante se confirme en el bloque de los mineros mientras el nodo víctima mantiene una transacción de timeout incompatible en su mempool local. Si el ciclo se mantiene por suficientes bloques, el atacante retiene los fondos de ambos lados del HTLC.

A pesar de las mitigaciones adoptadas por las implementaciones principales de Lightning (rebroadcasting agresivo, fee escalation), el ataque sigue siendo práctico para atacantes avanzados.

En octubre 2025, Riard divulgó una variante adicional donde el atacante pina una transacción de la víctima y mina selectivamente la versión de mayor fee; este escenario requiere condiciones raras y es difícil de sostener sin ser detectado.

El costo del ataque escala con el valor del HTLC atacado: para micro-pagos (<$50), el beneficio potencial no justifica el costo acumulado de las transacciones de reemplazo. Para HTLCs grandes, el ataque es económicamente racional.

3. Dependencia de estar online y riesgo de watchtowers

Lightning usa un modelo de penalización: cada estado de canal revocado requiere guardar una "revocation secret". Si la contraparte publica un estado antiguo fraudulento, el nodo afectado tiene hasta el CSV timelock (típicamente 144-2016 bloques) para responder con una "justice transaction". Un nodo offline no puede hacerlo.

A marzo de 2026, todos los canales de Lightning dependen del modelo de penalización basado en revocation secrets, lo que crea el problema del "toxic waste": la necesidad de preservar revocation secrets de cada estado previo, que se acumula indefinidamente y complica los backups móviles, las watchtowers y los servicios de recuperación.

LN-Symmetry (Eltoo) resolvería esto permitiendo que cualquier estado posterior reemplace al anterior sin necesidad de justice transactions; bajo ese esquema, transmitir un estado viejo simplemente no surte efecto. Sin embargo, Eltoo requiere un cambio en el protocolo de Bitcoin (BIP446+BIP448, en Draft BIP status en 2026) que aún no ha sido activado.

Riesgo residual de watchtowers: las watchtowers altruistas son vulnerables a DoS (spam gratuito); las comerciales introducen un costo continuo y un punto de falla centralizado. Si todos los watchtowers de un usuario fallan durante el tiempo de disputa, sus fondos quedan expuestos.

4. Riesgos de routing: privacidad y nodos maliciosos

Probing de balances: usando pagos falsos (que siempre fallan sin costo para el atacante) y búsqueda binaria sobre los mensajes de error de fallo, un adversario puede inferir el balance exacto de cualquier canal. La privacidad de los balances mejora la privacidad pero perjudica la eficiencia del routing, creando un tradeoff estructural.

HTLC correlation: en el modelo HTLC actual, el mismo payment hash viaja visible por todos los nodos de la ruta. Un adversario que controla dos nodos no-adyacentes puede correlacionar pagos del mismo flujo.

Estado de mitigaciones (2026): BOLT12 con blinded paths (rutas ciegas) está implementado en CLN y LDK. El receptor construye y encripta los últimos hops de la ruta; ni el sender ni los nodos intermedios aprenden la identidad real del receptor. Es la mejora de privacidad más significativa del protocolo desde el onion routing original.

Los PTLCs (Point Time-Locked Contracts, que reemplazarían HTLCs por claves de curva elíptica únicas por hop) resolverían la correlación de pagos, pero no están desplegados en producción en ninguna implementación en 2026. Requieren Schnorr adaptor signatures y una actualización de las especificaciones BOLT aún pendiente.

5. Custodia parcial en LSPs

Los LSPs no son custodios en sentido estricto (no controlan las keys del usuario), pero tienen visibilidad completa de todos los pagos que pasan por sus canales: montos, hashes de pago y timing. Para un wallet móvil con un único LSP, esto destruye la privacidad del enrutamiento onion, porque el LSP actúa como intermediario único con visibilidad total. Además, un LSP offline implica que el usuario no puede enviar ni recibir pagos Lightning hasta resolver el canal.

Las wallets custodiales (Wallet of Satoshi, etc.) van más lejos: el proveedor tiene custodia directa de los fondos. En 2026, la mayoría de usuarios de Lightning usan wallets custodiales o semi-custodiales, lo que invierte el modelo de seguridad de Bitcoin.

6. Límites de capacidad y transferencias de alto valor

El canal promedio en la red pública tiene ~0.12–0.14 BTC de capacidad en 2026. La probabilidad de éxito de un pago multi-hop sigue la fórmula de Pickhardt (2021):

P(hop) = (capacidad - monto + 1) / (capacidad + 1)
P(ruta) = P(hop₁) × P(hop₂) × P(hopₙ)

Para un canal de 1,000,000 sat de capacidad, un pago de 500,000 sat tiene ~50% de probabilidad de éxito por hop. En una ruta de 3 hops, el éxito total es de apenas 12.5%. Este decaimiento exponencial es la razón matemática por la que los pagos grandes fallan de forma desproporcionada.

Para pagos por encima de $10,000 en rutas aleatorias de la red pública, la tasa de fallo es prácticamente total, incluso con MPP (Multipath Payments). La transferencia de $1 millón citada a veces como caso de éxito usó canales directos pre-acordados entre instituciones, no routing público.

Wumbo channels (sin límite de capacidad, disponibles desde LND v0.11) existen, pero la mayoría de canales de la red no son wumbo, y la concentración de capacidad en un Gini coefficient ~0.97 implica que la liquidez útil está concentrada en pocos nodos institucionales.

Solución propuesta: Three-Layer Hybrid Payment Stack (THPS)

La arquitectura converge en un motor de decisión automático que selecciona la capa de liquidación en función de cuatro parámetros evaluados en tiempo real: monto (M), existencia de canal directo con el receptor, urgencia declarada, y feerate actual del mempool. No es un menú de opciones para el usuario: es una decisión opaca del wallet que el usuario puede revisar pero no necesita gestionar.

El motor de decisión (Decision Engine)

función seleccionar_capa(M, canal_directo, urgente, feerate_mempool):
  si M < UMBRAL_MICRO ($200):
    retornar CAPA_1_LIGHTNING
  si M < UMBRAL_MEDIO ($2,000):
    si canal_directo:
      retornar CAPA_1_LIGHTNING
    si lightning_mpp_viable(M):          # test probabilístico de rutas
      retornar CAPA_1_LIGHTNING
    si ark_disponible(receptor):
      retornar CAPA_2_ARK
    retornar CAPA_1_LIGHTNING_CON_AVISO  # alta probabilidad de reintento
  si M < UMBRAL_ALTO ($50,000):
    si canal_directo_wumbo:
      retornar CAPA_1_LIGHTNING
    si ark_disponible(receptor):
      retornar CAPA_2_ARK
    retornar CAPA_3_ONCHAIN
  retornar CAPA_3_ONCHAIN

Los umbrales no son fijos: son configurables por el usuario y ajustables según el estado actual de la red (feerate de mempool alto → subir umbral_alto; red Lightning congestionada → bajar umbral_medio).

Capa 1: Lightning Network (M < $200, o canal directo disponible)

Configuración técnica mínima necesaria para que sea segura:

  • LSP no-custodial con JIT channels (el usuario retiene sus keys siempre)
  • BOLT12 con blinded paths activo (privacidad del receptor)
  • HTLC endorsement/accountability habilitado en el LSP (defensa contra jamming)
  • Watchtowers redundantes (mínimo 2: una altruista + una comercial)
  • Trampoline routing para pathfinding en wallets móviles (delega conocimiento de la red al nodo trampoline, mejora rutas)

Capa 2: Ark Protocol (M $200–$2,000 sin canal directo; fallback de Lightning)

Ark transfiere VTXOs (virtual transaction outputs) off-chain sin routing dependiente de liquidez de canal. No hay HTLCs en vuelo multi-hop: la transferencia es una permutación de ownership de VTXOs coordinada por el ASP (Ark Server Provider) en rondas periódicas.

Estado de producción verificado (2026):

  • Arkade (Ark Labs) procesó sus primeros pagos mainnet en Baltic Honeybadger (agosto 2025) y abrió públicamente en octubre 2025. Second lanzó Bark en mainnet Bitcoin el 9 de junio de 2026, con SDK público, integración con Umbrel y plugin para BTCPay Server.
  • Ark en 2025-2026 es nativo e interoperable con Lightning: puede enviar y recibir pagos Lightning desde un balance Ark sin necesidad de gestionar canales.

Limitación crítica de Ark (debe declararse explícitamente): En 2026, Ark sigue en fase de adopción temprana. La variante sin covenants (que es la única desplegable sin soft fork) requiere que el ASP esté online para transferencias instantáneas; sin cooperación del ASP, el usuario puede recuperar sus fondos esperando el timeout de la ronda on-chain, pero no puede gastar off-chain. El trust en el ASP es 1-of-n (el ASP no puede robar fondos pero puede censurar pagos). Ark debe tratarse como componente maduro-temprano, no como infraestructura de producción hardened equivalente a L1.

Capa 3: Bitcoin L1 (M > $2,000 sin canal directo; M > $50,000 siempre)

Transacción on-chain desde hardware wallet o cold storage. Seguridad máxima, latencia de 10–60 min para 1-6 confirmaciones. Es el único mecanismo que elimina completamente todos los vectores de ataque de Lightning.

Cómo resuelve cada riesgo

Riesgo Mitigación en THPS Capa(s) donde aplica
Channel jamming Para M < $200 (Capa 1): el valor del HTLC es menor que el costo del ataque sostenido; HTLC endorsement reduce el impacto. Para M > $200 (Capa 2/3): Ark y L1 no usan HTLCs en tránsito multi-hop, eliminando el vector. L1 (Capa 1), Ark (Capa 2), L1 (Capa 3)
Replacement cycling Para Capa 1: el valor bajo del HTLC hace el ataque económicamente irracional; rebroadcasting + fee escalation como defensa activa. Para Capa 2 (Ark): las VTXOs no se liquidan vía HTLC multi-hop, el vector no aplica en el mismo modelo. Para Capa 3 (L1): el ataque apunta a HTLCs, no a transacciones simples, el vector no aplica. Reduce exposición en L1; elimina en Ark y L1
Watchtower / online Capa 1: watchtowers redundantes (altruista + comercial); el valor en Capa 1 es bajo, el riesgo máximo es limitado. Capa 2 (Ark): las VTXOs no dependen del modelo de penalización de Lightning; el usuario puede recuperar fondos on-chain sin watchtower. Capa 3 (L1): sin dependencia de estar online post-confirmación. Reducido en L1; eliminado en Ark y L1
Privacidad / probing Capa 1: BOLT12 con blinded paths oculta identidad del receptor. Trampoline routing reduce el footprint de gossip del nodo. PTLCs (cuando estén disponibles) eliminarán la correlación de hashes. Capa 2 (Ark): pagos off-chain dentro de rondas tienen mejor privacidad estructural que routing multi-hop. Mejorado en L1; estructuralmente mejor en Ark
LSP / custodia Arquitectura exige LSP no-custodial en Capa 1. Para montos que suben a Capa 2/3, se evita el routing mediante LSP único. La hot wallet en Capa 1 contiene solo el monto de gasto diario. Mitigado en L1 por diseño
Capacidad / alto valor El motor de decisión derivaba proactivamente a Ark o L1 antes de que el monto supere la zona de alta tasa de fallo de Lightning (>$200–$2,000 sin canal directo). MPP se usa solo dentro del rango donde la probabilidad de éxito es razonablemente alta. Ark y L1 eliminan el problema estructuralmente

Causas sin mitigación completa en este stack:

  • El jamming en Capa 1 no está completamente resuelto porque upfront fees aún no están en producción. La solución parcial (HTLC endorsement + montos bajos) es suficiente para micro-transacciones pero no para un routing node de alto volumen.
  • La correlación de pagos (HTLC hash) no se resuelve hasta que PTLCs estén desplegados. En el ínterin, BOLT12 mejora la privacidad del receptor pero no la correlación inter-hop.
  • El trust en el ASP de Ark no se elimina completamente sin covenants (soft fork pendiente). Es un trade-off explícito de la Capa 2.

Aplicación a los casos de uso

Caso 1: Compra de una lata de Coca-Cola (~$2)

Motor de decisión → Capa 1 (Lightning)

  • M = $2 << umbral_micro ($200) → Lightning automático
  • El wallet del usuario tiene un canal con su LSP no-custodial con $50–$100 de liquidez saliente (suficiente para esta compra y las siguientes sin abrir nuevo canal)
  • El merchant usa BOLT12: el usuario escanea un QR estático y el wallet negocia automáticamente un invoice único via blinded path
  • El HTLC de $2 se resuelve en <500ms
  • Costo de jamming o cycling para un HTLC de $2: el atacante necesitaría mantener el ataque por múltiples bloques; el costo de las transacciones de reemplazo supera el valor del HTLC de inmediato. El attack surface es trivial.
  • Comisión: ~1–5 sats (~$0.0001–$0.0005). Economicamente óptimo.
  • ¿Se reintroduce el problema original (costo on-chain inviable)? No. El pago es completamente off-chain. No hay transacción on-chain asociada a esta compra individual.

Caso 2: Transferencia de 1 BTC (~$65,000 en agosto 2026)

Motor de decisión → Capa 3 (L1)

  • M = ~$65,000 >> umbral_alto ($50,000) → L1 automático, independientemente de si existe canal directo
  • El wallet inicia una transacción on-chain desde la hot wallet hacia la dirección destino (o hacia cold storage)
  • Feerate estimado: 2–10 sat/vbyte, costo de transacción ~$1–$5 (despreciable sobre $65,000)
  • Confirmación: 1 bloque (~10 min) para alta seguridad; 3–6 bloques para seguridad estándar

¿Por qué no Lightning para este caso?

  1. La red pública no puede rutear 1 BTC con probabilidad aceptable (no existen rutas multi-hop con suficiente liquidez; el canal promedio es 0.14 BTC)
  2. El riesgo de replacement cycling para un HTLC de $65,000 es económicamente significativo para un atacante sofisticado
  3. Mantener $65,000 en una hot wallet Lightning implica exposición continua a los vectores de ataque de Capa 1 durante toda la vida del canal

¿Por qué no Ark para este caso?

Ark en 2026 es una plataforma de adopción temprana con trust en el ASP. Para una transferencia de este valor, la garantía de seguridad de L1 es la única opciones prudente. Si el monto fuera $5,000–$10,000 y el usuario requiriera velocidad, Ark sería una alternativa intermedia viable con trust explícito en el ASP.

Limitaciones y trabajo futuro

Limitaciones actuales de THPS:

  1. La Capa 2 (Ark) es experimental en producción. Bark y Arkade existen en mainnet pero con volumen bajo, ASPs centralizados, y especificaciones aún en evolución. El THPS trata Ark como fallback mejorado, no como capa principal.
  2. PTLCs ausentes: la privacidad de pagos en Capa 1 sigue siendo incompleta. La correlación de payment hashes entre hops es un vector real hasta que PTLCs se desplieguen. No hay fecha estimada.
  3. LN-Symmetry (Eltoo) no activado: el riesgo de watchtower para Capa 1 no desaparece hasta que el modelo de penalización sea reemplazado. Requiere BIP446/BIP448 y el proceso de soft fork completo.
  4. Upfront fees sin desplegar: la mitigación definitiva para channel jamming (hacer costoso el ataque) sigue siendo experimental. HTLC endorsement reduce el impacto pero no lo elimina.
  5. Interoperabilidad Ark-Lightning: la conexión entre Capa 1 y Capa 2 (submarine swaps o integración directa) añade complejidad y un hop de confianza adicional. En 2026, wallets como Bark tienen integración Lightning nativa, pero no todos los wallets del ecosistema la soportan.

Trabajo futuro que cambiaría el stack:

Desarrollo Impacto en THPS
PTLCs en producción Elimina correlación de hashes en Capa 1; mejora privacidad drásticamente
LN-Symmetry (soft fork activado) Simplifica watchtowers en Capa 1; habilita channel factories y reduce riesgo de backup
Ark con covenants (soft fork) Elimina trust en ASP; sube el umbral del THPS que envía a Capa 2
Upfront/hold fees en producción Hace el jamming en Capa 1 económicamente irracional incluso para montos medios
Splicing generalizado Reduce la necesidad de cambiar de canal frecuentemente; mejora capital efficiency en Capa 1

La arquitectura propuesta es viable hoy con componentes existentes en producción o en adopción temprana verificada. Su valor no está en ningún componente individual (todos conocidos), sino en el motor de decisión automático que selecciona la capa correcta sin requerir conocimiento técnico del usuario, cubriendo los dos extremos del problema: la Coca-Cola y la transferencia de alto valor.


r/lightningnetwork 4d ago

CLN operators: would you install the binary-only security release or wait for the source?

3 Upvotes

The current Core Lightning security situation creates a pretty unusual decision for node operators.

CLN received a wave of AI-generated vulnerability reports, and several reportedly turned out to describe real issues.

The interesting part is how the fixes are being disclosed.

Instead of releasing the patched binaries and source together, the plan is to give operators signed binaries first while keeping the source patches and technical vulnerability details private for 14 days.

The reasoning makes sense: publishing a security patch can also reveal the vulnerability.

Diff the old and new code and you can start asking:

What validation was added?

Which message is suddenly rejected?

Which boundary check changed?

Which old behavior is the developer trying to prevent?

With AI, that kind of patch analysis can potentially happen much faster.

But it puts CLN operators in an unusual position.

For those 14 days, you can verify that the binary came from the expected developers, but you can't yet fully inspect the security changes or reproduce the patched build from the complete published source.

The alternative, if you don't want to install the binary-only release, is also interesting: CLN's guidance points operators toward --offline rather than simply shutting the node down.

That reduces Lightning peer exposure while allowing the node to continue watching Bitcoin for relevant on-chain activity.

So I'm curious what actual Lightning node operators here would do:

1. Verify the signatures and install the patched binaries immediately?

or

2. Run --offline and wait the 14 days until the source is public?

I wrote a longer analysis of the disclosure strategy, patch diffing, AI vulnerability reports and the "don't trust, verify" problem here:

https://davidebtc186.substack.com/p/found-and-fixed-before-its-public

I'm especially interested in what people running CLN in production think about the trade-off.


r/lightningnetwork 6d ago

The Modern Bitcoin Fountain is here

17 Upvotes

https://getfountainofyouth.net

Everyone have heard about the famous btc faucet from 2012 well its back but more modern thanks to lightning integration. Its still really early but i would love everyone's feedback both good and bad. In the future I hope it could be self sustainable. I dont care about profits. I just wanted a faucet that didnt steal my email or needed passwords, and a clean ui without ads. Apparently that didnt exist so I made my own. I will be posting the source code on github aswell soon enough

Just enter your lightning adress and immediately receive btc. Zero ads Zero Tracking Zero Bullshit

Update:V1.1 is now live. -payouts scale with the pot, bigger pot bigger payouts -A donation button to people who want the fountain to remain flowing, grants no boosted jackpot odds and no more daily pours than usual 1. -added a terms of service,FAQ and policy tab at the bottom .

And I want to thank you all for a very susscesful launch day. Never in my wildest dreams could I guess that more than a 150users would try it out and get payed free sats

Maintenance is now complete and the lighting infrastructure fully on the cloud and the spring has been refilled with 10k sats


r/lightningnetwork 6d ago

Core Lightning Alert - Your node is vulnerable, take it offline until a fix is published.

5 Upvotes

Reference: https://stacker.news/items/1555439

Disable Core Lightning network connections with configuration option: --offline

It is recommended to use --offline, and do NOT disable the daemon. Because this will prevent justice transactions if your channel partner performs a malicious force-close onchain.

As always, please ensure you GPG-Verify the updated release, when it is made available!


r/lightningnetwork 6d ago

If you run LND behind BTCPay Server, a critical exploit drained nodes this month via stolen macaroon files. Update to 2.4.2 now if you haven't. Full story on how it connects to the Coldcard fallout.

2 Upvotes

Attackers exploited a vulnerability in BTCPay Server that let an unauthenticated remote attacker obtain .macaroon files, the credentials that grant control over an LND node. With those in hand they closed channels and swept funds from Lightning nodes running behind BTCPay.

BTCPay confirmed the theft and told anyone running LND behind their software to update to 2.4.2 immediately or take the server offline. Foundation, the hardware wallet maker, had its own node drained this way, channels closed and swept overnight. Citadel21 also got hit, smaller amount held there.

The part worth knowing, this specific bug had already been found and reported by the Bitcoin Red Team, a volunteer group that spent 27.5 hours running AI models against 390 Bitcoin repos after the Coldcard RNG disaster, and still got exploited before the patch was fully out everywhere. 85 critical and 635 high severity findings total across the whole sprint, this was one of them.

If you're running LND behind BTCPay, verify your version now. Full story on the whole sprint and how the two events connect:

https://davidebtc186.substack.com/p/16-volunteers-27-hours-40000-in-ai


r/lightningnetwork 7d ago

Has anyone actually seen a scam that specifically requested Lightning payment?

3 Upvotes

Looking into whether Lightning is actually showing up as the payment method in social engineering scams - as opposed to just plain on-chain BTC. Things like:

- "double your sats" / giveaway scams

- fake investment returns

- "recovery" scams (pay a fee to get stolen funds back)

- romance scams that pivot into crypto "investing"

- fake wallet/exchange phishing

I've found plenty of LN adoption in general (invoices, LNURL, zaps, addresses all over the place) but haven't yet found a confirmed case where LN itself was the requested rail in a scam. Has anyone actually been asked to pay via a Lightning invoice, Lightning Address, LNURL/QR, or "zap" as part of one of these?

(Context: I am a grad student doing a feasibility study on this for my thesis - trying to establish whether this happens often enough to be worth digging into further.)

If you've seen it, a reply or DM with the platform and roughly what the pitch looked like would help a lot. No need to share anything identifying.


r/lightningnetwork 8d ago

Channel MaxHTLC

Post image
5 Upvotes

Am I reading this wrong? Is the channel MaxHTLC greater than the channel size? Would someone explain this to me? I'm sure it's something simple, maybe even a brain fart on my part.

Thank you,


r/lightningnetwork 8d ago

Title: Boltz going offline exposed an uncomfortable Lightning dependency

9 Upvotes

One of the Bitcoin stories I've been thinking about this month didn't involve consensus or custody. It involved infrastructure.

Boltz had to take its swap service offline after sustained attacks.

For users who understand the stack, the response is obvious: use another provider, open channels directly, rebalance differently, or fall back to on-chain.

But what interested me was what happened one layer above.

Wallets and apps can be non-custodial while still depending on external infrastructure that most users don't even know exists.

If that infrastructure disappears, nobody steals your keys. Bitcoin doesn't stop. Lightning doesn't stop.

But part of your wallet suddenly does.

I think that's an important distinction.

We've become pretty good at asking:

"Who controls the keys?"

We don't ask often enough:

"What has to remain online for this feature to work?"

Boltz was only one of four events I looked at this month. Coldcard exposed assumptions at the hardware/entropy layer. BIP-110 tested assumptions around consensus. A $2.75B short squeeze exposed market dependencies.

But the Boltz case is probably the most relevant one for Lightning users because it shows that non-custodial and dependency-free are not the same thing.

That's not an argument against Boltz or Lightning. I use this as an argument for understanding the stack beneath the UX.

If your Lightning wallet relies on swaps, LSPs, hosted infrastructure, routing services or other external components, how many of those dependencies could disappear tomorrow before the wallet stopped working the way you expect?

I wrote the broader analysis here, including the Boltz case and the checks I think are worth making:

https://davidebtc186.substack.com/p/the-month-bitcoins-foundations-got

Interested in how people here think about this tradeoff:

How much infrastructure dependency is acceptable before a non-custodial Lightning wallet starts compromising the sovereignty we're trying to achieve?


r/lightningnetwork 8d ago

Building a European MostroP2P community — looking for contributors

2 Upvotes

We've been building MostroEuropa, a European community around MostroP2P and P2P Bitcoin trading over Nostr + Lightning.

The coordinator is already running, but the goal isn't to have one person doing everything. We'd like to gradually build an actual community around it.

We're particularly interested in people who might want to contribute as:

Dispute solvers, helping resolve disputes between traders

Community/support contributors, helping new users

Documentation and onboarding contributors

Translators/local contributors who can help bring Mostro to different European countries and languages

You don't need to be a developer or run infrastructure to participate.

We're still building the community and working out the operational side of delegating these roles safely, especially dispute resolution.

If you're interested in contributing, or already have experience with Mostro, we'd be happy to hear from you.

https://mostroeuropa.shadowbip.com


r/lightningnetwork 9d ago

Head 2 head checkers with lightning

3 Upvotes

Simple web, checkers game head 2 head. Non custodial. feedback appreciated

https://voyager.tail6bba0.ts.net/games/checkers/


r/lightningnetwork 10d ago

Core Lightning or Lightning Node (LND)

5 Upvotes

Running a node on Umbrel. I have switched from Raspiblitz because it was always crashing. I have my Bitcoin Core node syncing now, and getting ready to rejoin the lightning network, hopefully in a more stable fashion now.

I know LND is the main lightning implementation, but I have had issues with node stability in the past. Has anyone here run Core Lightning? How was your experience?

I am contemplating Core Lightning but have no experience with it. I have experience with LND nodes but have had some stability issues in the past so looking at Code Lightning now.


r/lightningnetwork 11d ago

What’s currently your favorite Lightning wallet?

8 Upvotes

Do you use Lightning addresses?


r/lightningnetwork 11d ago

The mechanics behind this week's 2.75B short squeeze, Treasury buybacks and a White House meeting landing the same day

2 Upvotes

Traced the actual sequence behind Bitcoin going from low 60s to 75,527 this week instead of just reacting to the number.

Trigger one, August 19, Treasury announces doubling long-dated bond buybacks to at least 4 billion per operation starting September 9. Reduces bond supply, pushes yields down, makes risk assets including Bitcoin relatively more attractive.

Trigger two, same day, White House meeting with Coinbase, Kraken, Robinhood, Ripple, ICE CEOs plus SEC and CFTC leadership, Trump pushing Congress on the CLARITY Act.

Markets were heavily short going in. Both catalysts landing together triggered forced covering, 2.75 billion in Bitcoin shorts liquidated Wednesday per CoinGlass, largest since 2021, over 160k traders liquidated broadly. Move kept extending through Friday to 75,527.

Bull case, genuine spot and ETF demand confirming the move. Bear case, MEXC's analyst calling it overpriced Treasury credit, some flagging a possible retrace to 44-48k. Still 40 percent below the 126,110 ATH even now.

Full writeup with sourcing:

https://davidebtc186.substack.com/p/bitcoin-just-had-its-biggest-squeeze


r/lightningnetwork 12d ago

"Live" HTLC Stream for Authenticity

Thumbnail authenticitybtc.com
4 Upvotes

It’s a live view (time delay, obfuscation, generalization) of Authenticity’s HTLC flow.

Thought I’d share as I think it’s cool and useless, and people might want a view into how active Lightning is.


r/lightningnetwork 13d ago

Why we support 5 different Lightning implementations, and how an external developer added Blink alongside the one we integrated ourselves?

6 Upvotes

I'm on the product side of be-BOP, an open source (AGPL-3.0) commerce platform covering e-commerce, POS, ticketing, subscriptions, donations, and peerfunding. Not a dev, so I'll stay at the product/philosophy level here.

We never wanted to pick a winner among Lightning implementations, and while we started with a local LND node, the more we thought about it, the more that felt like the wrong instinct for a payments feature. A merchant already running a full node doesn't have the same setup as one who's had BTCPay Server humming along for two years. Someone opening their first online shop might not want to run any node at all, and would rather have something closer to a custodial wallet like Swiss Bitcoin Pay just to get paid without thinking about channel liquidity. None of these people are wrong about what they want. They're just solving different problems, and every existing implementation makes different tradeoffs to solve them. Forcing all of them through one integration would have meant quietly telling some of our users their setup doesn't count.

So instead we treat "which Lightning implementation" as the merchant's call, not ours. Right now that's Swiss Bitcoin Pay, BTCPay Server, PhoenixD, LND and since today Blink. We were the first project to integrate PhoenixD. Here is a comparison:

Implementation Sovereignty Difficulty Liquidity Management Fiat Conversion
BTCPay Server Maximum Technical Manual 🔧 No ❌ (or with plugins)
Phoenixd Medium Easy Automatic ✅ No ❌
Swiss Bitcoin Pay Medium Easy Automatic ✅ Possible ✅
LND Node Maximum Technical Manual 🔧 No ❌
Blink Low to Medium (custodial or non-custodial) Easy Automatic ✅ Possible ✅

Like I said Blink got merged as a Lightning provider, and we didn't write the integration. An external contributor, pretyflaco, opened the PR. It went through our internal testing and code review like anything else, and got merged. I think that's the part worth sitting with more than the merge itself: this is what AGPL and Free and Open Source Software actually buys you. Someone whose merchants want custodial simplicity didn't have to wait for it to reach our roadmap. They read the code, saw where a new provider plugs in, and added the one they needed.

The project is self-hosted by default, or there's be-BOP Cloud if you'd rather not run your own instance. Either way, no commission on sales from us. Your PSP or your node keeps its own fees, that's not something we touch.

Repo's here if you want to look: github.com/be-BOP-io-SA/be-BOP

Curious what Lightning implementation you'd want to see in more projects but never see supported. What keeps getting left out?


r/lightningnetwork 14d ago

I've built Lightning with @base44!

Thumbnail join-bolt-social.base44.app
1 Upvotes

r/lightningnetwork 19d ago

If your wallet uses Boltz for swaps (ZEUS, Aqua, Bull Bitcoin), it's been down since August 3. Here's why, and what it means for anyone depending on shared Lightning infrastructure.

14 Upvotes

Boltz handles atomic swaps between Bitcoin mainchain, Lightning, and Liquid via HTLCs, non-custodial by design. On August 3 they shut down all services indefinitely. Not a hack, not a loss of funds, but a decision that months of escalating AI-assisted attacks against their codebase had outpaced what their team could patch.

ZEUS, Aqua, and Bull Bitcoin all built swap functionality on top of Boltz rather than their own implementation, so all three lost that feature within hours with no advance notice.

Blockstream responded on August 10 with Blockstream Swaps, explicitly framed as filling the gap Boltz left.

The part I keep coming back to for anyone running their own node: this didn't affect self-hosted LND setups at all, opening and closing your own channels never routed through Boltz. But it's a clean example of how even non-custodial third-party infrastructure is still a dependency, users lost functionality with zero warning because a piece of shared plumbing decided it couldn't operate safely anymore.

Full breakdown, also ties in the Coldcard vulnerability's loss figure climbing from 38 million to over 111 million since I last covered it:

https://davidebtc186.substack.com/p/ai-vs-ai-how-boltzs-shutdown-reveals


r/lightningnetwork 20d ago

📬 Big update for NostrBridge!

2 Upvotes

You can now send automated webhooks directly into Nostr private DMs using NIP-17 Direct Messages (NIP-59 Gift Wrap encrypted)!

Plus: Introduce Dedicated Bot Accounts — generate reusable bot identities for your webhooks without sharing your main nsec.

⚡ Webhook to Nostr in seconds: https://bridge.workouse.com

(also you can use as self-hosted)


r/lightningnetwork 22d ago

Issue with JADE and lightning

2 Upvotes

Is anyone else holding a balance on the beta Jade Lightning support in the Blockstream App?

I don’t know if it’s related to the Boltz shutdown, but I haven’t been able to move the funds. The transaction always fails with the error “Your transaction could not reach the network. Please try again.”


r/lightningnetwork 22d ago

BIP-110's failure this week is a good case study in what real consensus actually requires, relevant if you're thinking about any future Lightning-adjacent protocol changes too

14 Upvotes

Not directly a Lightning story, but the mechanics here are relevant to anyone who cares about how Bitcoin base layer changes actually happen, since Lightning depends entirely on that layer staying stable and predictable.

BIP-110 tried restricting non-financial data, mainly Ordinals and BRC-20 tokens, from Bitcoin transactions. Used a user-activated soft fork, same mechanism as SegWit in 2017, with a 55 percent signaling threshold instead of the usual 95 percent supermajority.

Support never got anywhere close. Around 0.42 percent of hashrate signaled between May and early August. When the mandatory window started August 7, it was around 2.5 percent. The chain split off anyway. Because Bitcoin's difficulty only adjusts every 2016 blocks, the minority chain inherited full mainnet difficulty with almost no hashrate behind it. Within two days it was 48 blocks behind mainnet, producing blocks every 6.9 hours instead of ten minutes.

What's actually instructive here: 2017's SegWit UASF worked because of economic alignment that already existed before the formal activation, exchanges, wallets, and businesses had effectively already agreed. BIP-110 used the identical mechanism without anything close to that alignment first. Adam Back called it out directly for lacking both technical and ecosystem consensus. Jameson Lopp flagged the risk of unspendable UTXOs through Taproot edge cases specifically.

For anyone running LND or thinking about base layer dependencies for Lightning infrastructure, this is a decent real-world reminder that the base layer's stability isn't guaranteed by good intentions or a procedurally valid mechanism, it requires actual broad buy-in across miners, node operators, and the wider ecosystem before anything changes.

Full writeup, also connects this to a hardware wallet vulnerability from the same week with a similar underlying failure pattern:

https://davidebtc186.substack.com/p/two-bitcoin-failures-one-week-apart


r/lightningnetwork 24d ago

My Lightning nodes are closed and shutdown while the 110 stuff resolves itself. How many of you are doing the same?

11 Upvotes

I have been looking at the possible failure modes of lightning while a possible fork (however short) could happen. I don't want the hassle of watching 2 separate chains while this plays out. Any precautions that you are taking or am I just being paranoid?


r/lightningnetwork 26d ago

BIP110 question

11 Upvotes

I have a long running lightning node. Mostly for small payments but I also have some channels opened with random nodes (most of them are more than a year old). I also run my own bitcoin node. I didn't signal bip110, and I really don't care about it. My question is if I have to do something to keep my lightning node funds safe. I don't really want to close my channels just in case. Is there really any hard fork risk (i mean for my on chain funds)? How my nodes (core lightning - bitcoin core 30) will behave?


r/lightningnetwork 27d ago

BIP110 incoming

9 Upvotes

Just state your node and if you are running Core or Knots

EDIT: PLEASE no feelings just put your node alias and system running