LND 0.15.4 Hotfix available via Umbrel

This is an emergency hot fix release to fix a bug that can cause lnd nodes to be unable to parse certain transactions that have a very large number of witness inputs.

This release contains no major features, and is instead just a hotfix applied on top of v0.15.3.

3 Likes

Hi,
apparently there is also a bug in Electrs. I run 2 nodes (Pi4 as a backup and on my NAS in an LXD container) and on both nodes electrs can no longer index the blocks from block 761249 (000000000000000000070742427fa10ec3c66d006160155a704d9f56d090a3ea). Can anyone confirm this error? Here is the excerpt from the log.

Greetings Minimue81

electrs_1 | Starting electrs 0.9.4 on aarch64 linux with Config { network: Bitcoin, db_path: “/data/db/bitcoin”, daemon_dir: “/data/.bitcoin”, daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: 10.21.21.8:8332, daemon_p2p_addr: 10.21.21.8:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: “Umbrel Electrs (0.9.4-build-2)”, args: [] }
electrs_1 | [2022-11-01T19:53:14.979Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs_1 | [2022-11-01T19:53:14.980Z INFO electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrs_1 | [2022-11-01T19:53:15.047Z INFO electrs::db] “/data/db/bitcoin”: 157 SST files, 37.685475848 GB, 4.69611345 Grows
electrs_1 | [2022-11-01T19:53:20.511Z INFO electrs::chain] loading 761241 headers, tip=000000000000000000006156f6950b8e9c87d9052b4491a069b5ae0c324f103c
electrs_1 | [2022-11-01T19:53:25.354Z INFO electrs::chain] chain updated: tip=000000000000000000006156f6950b8e9c87d9052b4491a069b5ae0c324f103c, height=761241
electrs_1 | [2022-11-01T19:53:25.602Z INFO electrs::index] indexing 69 blocks: [761242…761310]
electrs_1 | thread ‘p2p_loop’ panicked at ‘invalid message: OversizedVectorAllocation { requested: 12000072, max: 4000000 }’, src/p2p.rs:250:70
electrs_1 | note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
electrs_1 | [2022-11-01T19:53:26.014Z INFO electrs::db] closing DB at /data/db/bitcoin
electrs_1 | Error: electrs failed
electrs_1 |
electrs_1 | Caused by:
electrs_1 | 0: sync failed
electrs_1 | 1: failed to get block 000000000000000000070742427fa10ec3c66d006160155a704d9f56d090a3ea
electrs_1 | 2: receiving on an empty and disconnected channel

yepp Umbrel has issued a recent Electrum Update via App Store too.

I got the same error message on the same block and electrs container restarts every minute…

root@umbrel:~# ~/umbrel/scripts/app compose electrs logs --tail=28 electrs
Attaching to electrs_electrs_1
electrs_1     | Starting electrs 0.9.4 on x86_64 linux with Config { network: Bitcoin, db_path: "/data/db/bitcoin", daemon_dir: "/data/.bitcoin", daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: 10.21.21.8:8332, daemon_p2p_addr: 10.21.21.8:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: "Umbrel Electrs (0.9.4-build-2)", args: [] }
electrs_1     | [2022-12-28T20:57:18.129Z INFO  electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs_1     | [2022-12-28T20:57:18.129Z INFO  electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrs_1     | [2022-12-28T20:57:18.250Z INFO  electrs::db] "/data/db/bitcoin": 2215 SST files, 56.665597787 GB, 4.696112756 Grows
electrs_1     | [2022-12-28T20:57:20.736Z INFO  electrs::chain] loading 761240 headers, tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678
electrs_1     | [2022-12-28T20:57:23.798Z INFO  electrs::chain] chain updated: tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678, height=761240
electrs_1     | [2022-12-28T20:57:23.870Z INFO  electrs::index] indexing 2000 blocks: [761241..763240]
electrs_1     | [2022-12-28T20:57:23.920Z INFO  electrs::db] closing DB at /data/db/bitcoin
electrs_1     | Error: electrs failed
electrs_1     |
electrs_1     | Caused by:
electrs_1     |     0: sync failed
electrs_1     |     1: failed to get block 000000000000000000006156f6950b8e9c87d9052b4491a069b5ae0c324f103c
electrs_1     |     2: receiving on an empty and disconnected channel
electrs_1     | Starting electrs 0.9.4 on x86_64 linux with Config { network: Bitcoin, db_path: "/data/db/bitcoin", daemon_dir: "/data/.bitcoin", daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: 10.21.21.8:8332, daemon_p2p_addr: 10.21.21.8:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: "Umbrel Electrs (0.9.4-build-2)", args: [] }
electrs_1     | [2022-12-28T20:58:24.502Z INFO  electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs_1     | [2022-12-28T20:58:24.502Z INFO  electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrs_1     | [2022-12-28T20:58:24.625Z INFO  electrs::db] "/data/db/bitcoin": 2216 SST files, 56.665598592 GB, 4.696112756 Grows
electrs_1     | [2022-12-28T20:58:27.109Z INFO  electrs::chain] loading 761240 headers, tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678
electrs_1     | [2022-12-28T20:58:30.166Z INFO  electrs::chain] chain updated: tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678, height=761240
electrs_1     | [2022-12-28T20:58:30.238Z INFO  electrs::index] indexing 2000 blocks: [761241..763240]
electrs_1     | [2022-12-28T20:58:30.289Z INFO  electrs::db] closing DB at /data/db/bitcoin
electrs_1     | Error: electrs failed
electrs_1     |
electrs_1     | Caused by:
electrs_1     |     0: sync failed
electrs_1     |     1: failed to get block 000000000000000000006156f6950b8e9c87d9052b4491a069b5ae0c324f103c
electrs_1     |     2: receiving on an empty and disconnected channel

Thing all right here. I´m using updated version 0.9.9 :wink: