Skip to content

v0.11.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@quake quake released this 27 Nov 15:34
· 15 commits to develop since this release
7a61b74

This is a release candidate. It is intended for devnet/testnet evaluation only —
see Not for mainnet.

The headline of this release is a breaking protocol and storage change: V1 channels
are gone, V2 is the only channel protocol
, plus the first cut of hosted LSP support.

Breaking changes

V1 channels and V1 P2P are removed

  • V2 is now the only channel protocol. The CHANNEL_V2 feature bit is advertised as
    required: a peer without it is disconnected during the Fiber Init handshake. A
    v0.11 node cannot talk to a V1-only peer at all.
  • V1 wire messages were deleted from the schema. Their message IDs stay reserved and are
    never renumbered, so V2 traffic remains wire-compatible with v0.10.x peers.
  • V1 channel code paths, migrations and legacy channel support were removed from the
    runtime.

The database epoch moves to 20261113000001

  • V2 channels migrate in place and do not need to be closed: the migration keeps
    signing intents, nonce seeds, signatures and replay history unchanged, and converts the
    released v0.10.0-rc2 ..= v0.10.1 record layout (session marker, TLC key layout).
  • Unfinished V1 channels block the upgrade. Preflight refuses the migration without
    writing anything; finish or close those channels with the old binary first, then retry.
    Fully completed V1 records and their indexes are archived byte-for-byte, outside the V2
    runtime tables.
  • Back up the whole data directory before confirming the migration. Do not run the old
    binary on the migrated database, and do not restore a stale backup as a live channel once
    the upgraded node has signed new commitments.
  • Deployment prerequisite for public channels: the deployed commitment-lock contract must
    accept the 58-byte V2 arguments (including the trailing feature byte) and the full
    32-byte payment hash. The contract code hash is not versioned in this repository.

Watchtower adjustments

  • Watchtower RPC clients must send channel_features: "0x1" explicitly; missing features,
    the old field name alone, or legacy features are rejected instead of silently registering
    a V2 channel.
  • Hosted watchtower settlements now require external funding: the tenant's wallet funds the
    settlement transaction and signs it, the operator no longer sponsors it.
    open_channel_with_external_funding and the signer RPCs are the entry points.
  • Legacy third-party watchtower history is explicitly out of scope for the migration — keep
    the original service and database protecting those records.

New: hosted LSP

This release includes the first hosted LSP implementation (fiber-lsp-sdk plus the LSP
runtime):

  • One public trampoline node alongside multiple isolated tenant runtimes: tenants reach
    the public network over a private channel and can receive payments while the client is
    offline
    via durable, buffered delivery.
  • Remote signer boundary: the LSP holds the tenant's protocol identity key, while the
    client keeps its RootSigner identity and the secret channel-signing material for
    externally signed channels. Hosting the protocol key alone does not give the LSP authority
    to produce a valid channel signature.
  • Tenants get an authenticated, shared RPC/WebSocket API; the public node, LSP metadata and
    tenant data share one store with separate namespaces, and tenant runtime files live under
    $BASE_DIR/lsp/tenants/<tenant-id>.
  • Active tenant runtimes are bounded, with explicit eviction that is denied while payments,
    TLCs, channel operations or deliveries are still live.

External signing alone does not make the service trustless: the LSP still controls
availability, constructs tenant invoices and holds upstream TLCs during buffered delivery.

Known issues

  • A channel already hit by that bug does not self-heal. The v0.10.1 side keeps
    counters one ahead of its session, fails reestablishment on its next reconnect, and a
    later upgrade of that database is refused by preflight (V2 active nonce counter mismatch). Close such channels with the old binary before upgrading that node.
  • V2 recovery, nonce rotation and cooperative-close replay are young and still stabilizing.
    RPC types and LSP APIs may change between RCs.

Not for mainnet

v0.11.0-rc1 is a release candidate:

  • Do not use it on mainnet or with funds you are not prepared to lose. Use
    devnet/testnet, or small channels with a backed-up data directory.
  • The V1 removal and the storage epoch change are irreversible for a node's database. Read
    the upgrade notes above, back up first, and keep the previous binary and its data
    directory around.
  • Expect breaking changes before the final release.

Feedback

Bugs and upgrade problems: please open an issue with the node version, the migration
outcome, and the relevant channel/RPC logs. Reports from mixed-version setups (v0.11
against a v0.10.x peer) are especially useful for this RC.

New Contributors

Full Changelog: v0.10.1...v0.11.0-rc1