Cannot open assumeUTXO snapshot #31643

issue feelancer21 openend this issue on January 12, 2025
  1. feelancer21 commented at 1:19 pm on January 12, 2025: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Using bitcoind 28.0 I wanted to setup a new full node and load the utxo snapshot from loop.net. I got the following error.

    0$ bitcoin-cli -rpcclienttimeout=0 loadtxoutset   utxo-snapshot-height-840000.dat 
    1RPC password> 
    2error code: -8
    3error message:
    4Couldn't open file /appdata/bitcoin-01/data/utxo-snapshot-height-840000.dat for reading.
    

    Expected behaviour

    Should load

    Steps to reproduce

    The file is rw. Maybe the download is corrupt, but I have no sha256sum to compare

    dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b utxo-snapshot-height-840000.dat

    Or there is something special with my config

     0datadir=/appdata/bitcoin-01/data
     1pid=/appdata/bitcoin-01/run/bitcoind.pid
     2debuglogfile=/appdata/bitcoin-01/var/log/debug.log
     3daemon=1
     4
     5# Bitcoin daemon
     6server=1
     7txindex=1
     8blockfilterindex=1
     9
    10# Network
    11listen=1
    12listenonion=1
    13externalip= someonion
    14
    15# Connections
    16rpcauth=somecredentials 
    17rpcauth=somecredentials
    18rpcauth=somecredentials
    19rpcauth=somecredentials
    20rpcauth=somecredentials
    21zmqpubrawblock=tcp://0.0.0.0:28332
    22zmqpubrawtx=tcp://0.0.0.0:28333
    23whitelist=download@127.0.0.1          # for Electrs
    24
    25# Initial block download optimizations
    26dbcache=7500
    27blocksonly=1
    28maxmempool=800
    29
    30#SPV
    31peerbloomfilters=1
    32peerblockfilters=1
    33
    34[main]
    35rpcbind=192.168.2.160
    36rpcbind=127.0.0.1
    37rpcallowip=127.0.0.1
    38rpcallowip=192.168.0.0/16
    39proxy=127.0.0.1:9050
    40#bind=127.0.0.1
    41bind=0.0.0.0
    

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Pre-built binaries

    What version of Bitcoin Core are you using?

    v28.0.0

    Operating system and version

    SMP PVE 5.15.116-1 ——> (debian on proxmox)

    Machine specifications

    I increased the RAM to 12G, but it did not help

  2. feelancer21 renamed this:
    Cannot open utxo snapshot
    Cannot open assumeUTXO snapshot
    on Jan 12, 2025
  3. TheCharlatan commented at 1:32 pm on January 12, 2025: contributor
    It looks like the snapshot you are trying to load is not in the data directory. Either move it there, or provide the full path to the file in the command. If you just pass the file name, bitcoin will attempt to load it from its data directory (as indicated by the error message).
  4. feelancer21 commented at 5:31 pm on January 12, 2025: none
    Thank you. I did not read the error message correctly.
  5. feelancer21 closed this on Jan 12, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-01-21 03:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me