Skip to content

[bug]: In Ver lightning-terminal:v0.13.99-alpha.rc4 #1019

@lukegao209

Description

@lukegao209

Background

I understand that you guys might be working on bugs in this version, but I wanted to share the issues I’ve encountered in case it helps.

•	Version: lightning-terminal:v0.13.99-alpha.rc4
•	Litds: Alice and Bob
•	Network: Regtest
•	Bitcoin Node: Bitcoind (mint 1 block/min), BlockHeight: 10000+

Issues:

  • Long Sync Time: After the initial startup, Litd takes a long time to sync before it becomes usable, at least 30 minutes. This seems excessively long.
2024-07-13 10:21:11 2024-07-13 02:21:11.691 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2024-07-13 10:21:45 2024-07-13 02:21:45.611 [INF] LNWL: Opened wallet
2024-07-13 10:21:45 2024-07-13 02:21:45.612 [INF] LTND: Wallet recovery mode enabled with address lookahead of 12345678 addresses
2024-07-13 10:21:45 2024-07-13 02:21:45.640 [INF] LITD: Connecting basic lnd client
2024-07-13 10:21:45 2024-07-13 02:21:45.641 [INF] LITD: Basic lnd client connected
2024-07-13 10:21:45 2024-07-13 02:21:45.641 [INF] LITD: Connecting full lnd client
2024-07-13 10:21:45 2024-07-13 02:21:45.641 [INF] LNDC: Creating lnd connection to 127.0.0.1:10009
2024-07-13 10:21:45 2024-07-13 02:21:45.642 [INF] LNDC: Connected to lnd
2024-07-13 10:21:45 2024-07-13 02:21:45.643 [INF] LNDC: Waiting for lnd to unlock
2024-07-13 10:21:45 2024-07-13 02:21:45.643 [INF] LNDC: Wallet state of lnd is now: Wallet is unlocked
2024-07-13 10:21:46 2024-07-13 02:21:46.702 [INF] LNWL: Started listening for bitcoind block notifications via ZMQ on 54.92.19.81:28334
2024-07-13 10:21:46 2024-07-13 02:21:46.702 [INF] LNWL: Started listening for bitcoind transaction notifications via ZMQ on 54.92.19.81:28335
2024-07-13 10:21:48 2024-07-13 02:21:48.047 [INF] LNWL: The wallet has been unlocked without a time limit
2024-07-13 10:21:48 2024-07-13 02:21:48.344 [INF] CHRE: LightningWallet opened
2024-07-13 10:21:48 2024-07-13 02:21:48.344 [INF] LNWL: RECOVERY MODE ENABLED -- rescanning for used addresses with recovery_window=12345678
2024-07-13 10:21:48 2024-07-13 02:21:48.502 [INF] HSWC: Cleaning circuits from disk for closed channels
2024-07-13 10:21:48 2024-07-13 02:21:48.502 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken.
2024-07-13 10:21:48 2024-07-13 02:21:48.503 [INF] HSWC: Restoring in-memory circuit state from disk
2024-07-13 10:21:48 2024-07-13 02:21:48.504 [INF] HSWC: Payment circuits loaded: num_pending=2, num_open=0
2024-07-13 10:21:48 2024-07-13 02:21:48.506 [INF] HSWC: Trimming open circuits for chan_id=9059:1:0, start_htlc_id=15
2024-07-13 10:21:48 2024-07-13 02:21:48.506 [INF] HSWC: Trimming open circuits for chan_id=9141:1:0, start_htlc_id=4
2024-07-13 10:21:48 2024-07-13 02:21:48.511 [INF] LTND: Channel backup proxy channel notifier starting
2024-07-13 10:21:48 2024-07-13 02:21:48.511 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=0.600000, min_chan_size=20000, max_chan_size=16777215, private=false, min_confs=1, conf_target=3
2024-07-13 10:21:48 2024-07-13 02:21:48.514 [INF] LTND: We're not running within systemd or the service type is not 'notify'
2024-07-13 10:21:48 2024-07-13 02:21:48.514 [INF] LNDC: Wallet state of lnd is now: Lnd RPC server is ready for requests
2024-07-13 10:21:48 2024-07-13 02:21:48.795 [INF] LTND: Waiting for chain backend to finish sync, start_height=11578
2024-07-13 10:21:49 2024-07-13 02:21:49.535 [INF] LNWL: Seed birthday surpassed, starting recovery of wallet from height=11531 hash=7b07aa16e25cbfbc62a8fcabccd2da1620f2665a1a8dd6d83ea87deb7f6138ed with recovery-window=12345678
2024-07-13 10:21:49 2024-07-13 02:21:49.831 [INF] LNDC: lnd version: v0.18.0-beta, build tags 'litd,autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,peersrpc'
2024-07-13 10:21:49 2024-07-13 02:21:49.832 [INF] LNDC: Using network regtest
2024-07-13 10:21:49 2024-07-13 02:21:49.832 [INF] LNDC: Waiting for lnd to be fully synced to its chain backend, this might take a while
2024-07-13 10:22:09 2024-07-13 02:22:09.806 [INF] LNWL: Scanning 48 blocks for recoverable addresses
  • Pending Channel: When creating a channel, if there are insufficient BTC UTXOs or asset UTXOs, a channel remains pending indefinitely.
/ # lncli -n regtest pendingchannels
{
    "total_limbo_balance": "0",
    "pending_open_channels": [
        {
            "channel": {
                "remote_node_pub": "0275af3b2eedf99d863ea22f92bfeb6687b4ece1f620705143c42e4ca6e40eaf8e",
                "channel_point": "4fbbe4dd3f32ef7f48945db835c203786281db8a2cdbda5e96457df9f4eb7223:0",
                "capacity": "100000",
                "local_balance": "96920",
                "remote_balance": "0",
                "local_chan_reserve_sat": "1000",
                "remote_chan_reserve_sat": "1062",
                "initiator": "INITIATOR_LOCAL",
                "commitment_type": "SIMPLE_TAPROOT",
                "num_forwarding_packages": "0",
                "chan_status_flags": "",
                "private": true,
                "memo": "",
                "custom_channel_data": {
                    "assets": [
                        {
                            "asset_utxo": {
                                "version": 1,
                                "asset_genesis": {
                                    "genesis_point": "7138faef3ebe1e7d9f4ff85f2f4a381f5ee0b82de2a36f4ac033b062924267b5:0",
                                    "name": "TREAT",
                                    "meta_hash": "0000000000000000000000000000000000000000000000000000000000000000",
                                    "asset_id": "00f74dc1ff611b46176fa316b1c10d7214602544e085dc883d02534e74999657"
                                },
                                "amount": 1500,
                                "script_key": "0250aaeb166f4234650d84a2d8a130987aeaf6950206e0905401ee74ff3f8d18e6"
                            },
                            "capacity": 1500,
                            "local_balance": 1500,
                            "remote_balance": 0
                        }
                    ]
                }
            },
            "commit_fee": "2420",
            "commit_weight": "614",
            "fee_per_kw": "2500",
            "funding_expiry_blocks": -505
        }
    ],
    "pending_closing_channels": [],
    "pending_force_closing_channels": [],
    "waiting_close_channels": []
}
  • Crash on Transfer: When Alice and Bob create a Taproot channel for USDT assets, and Alice transfers all her local USDT to Bob, Alice’s Litd crashes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions