muntorg / munt-official

Munt is a witness-secured decentralized network for payments, digital assets, finance and more
https://www.munt.org
Other
135 stars 46 forks source link

Gulden v2.4.7 stuck on block 1464469 #247

Closed geppyz closed 2 years ago

geppyz commented 2 years ago

Describe the issue

I am running Gulden v2.4.7 on MacOS Big Sur 11.6. Since a couple of days my wallet won't sync with other nodes. My block height stays on 1464469 (do okt. 21 17:55:46 2021) and won't go further. I have restarted the wallet multiple times in the last few days. Wallet will connect to other nodes, no problems. But block height remains the same.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Start up wallet
  2. Wait for connections to Gulden network
  3. Wait for sync

Expected behaviour

I expect the wallet to sync to latest blockheight.

Actual behaviour

Wallet is stuck on block 1464469 and even after running multiple hours and connecting to different up-to-date nodes, no changes happen.

What version of Gulden are you using?

Version 2.4.7, official binary from GitHub for MacOS.

Machine specs:

Any extra information that might be useful in the debugging process.

I've also tried to restore my wallet on a Windows PC, on that one it will function properly.

Debug log MacOS:

2021-10-25 07:56:59 Gulden version v2.4.7
2021-10-25 07:56:59 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2021-10-25 07:56:59 GUI: Added font family: fa5pr from: :/Gulden/fa5pr
2021-10-25 07:56:59 GUI: Added font family: fa5pl from: :/Gulden/fa5pl
2021-10-25 07:56:59 GUI: Added font family: fa5br from: :/Gulden/fa5br
2021-10-25 07:56:59 GUI: Added font family: fa5ps from: :/Gulden/fa5ps
2021-10-25 07:56:59 GUI: Added font family: guldensign from: :/Gulden/guldensign
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_black
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_blackitalic
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_bold
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_bolditalic
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_italic
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_medium
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_mediumitalic
2021-10-25 07:56:59 GUI: Added font family: Lato from: :/Gulden/lato_regular
2021-10-25 07:56:59 GUI: QString::arg: Argument missing: open de 1% data map, Gulden
2021-10-25 07:56:59 AppLifecycleManager::initialize: Running initialization in thread
2021-10-25 07:56:59 Assuming ancestors of block 2865087f559183924991a7eaa97861bc06e05aec3f5b46a99d064178cfa28458 have valid signatures.
2021-10-25 07:56:59 [shavite] Selected avx2-aes
2021-10-25 07:56:59 [echo] Selected avx2-aes
2021-10-25 07:56:59 [argon] Selected avx2-aes
2021-10-25 07:56:59 Default data directory /Users/geppyz/Library/Application Support/Gulden
2021-10-25 07:56:59 Using data directory /Users/geppyz/Library/Application Support/Gulden
2021-10-25 07:56:59 Using config file /Users/geppyz/Library/Application Support/Gulden/Gulden.conf
2021-10-25 07:56:59 Using at most 125 automatic connections (2560 file descriptors available)
2021-10-25 07:56:59 Using 32 MiB out of 32 requested for signature cache, able to store 1048576 elements
2021-10-25 07:56:59 Using 4 threads for script verification
2021-10-25 07:56:59 scheduler thread start
2021-10-25 07:56:59 init message: Verifying wallet(s)...
2021-10-25 07:56:59 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2021-10-25 07:56:59 Using wallet wallet.dat
2021-10-25 07:56:59 CDBEnv::Open: LogDir=/Users/geppyz/Library/Application Support/Gulden/database ErrorFile=/Users/geppyz/Library/Application Support/Gulden/db.log
2021-10-25 07:56:59 shadowpoolmanager thread start
2021-10-25 07:56:59 Cache configuration:
2021-10-25 07:56:59 * Using 2.0MiB for block index database
2021-10-25 07:56:59 * Using 8.0MiB for chain state database
2021-10-25 07:56:59 * Using 290.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2021-10-25 07:56:59 Reverse header sync will temporarily use up to 160.2MiB until initial sync is completeinit message: Loading block index...
2021-10-25 07:56:59 Opening LevelDB in /Users/geppyz/Library/Application Support/Gulden/blocks/index
2021-10-25 07:56:59 Opened LevelDB successfully
2021-10-25 07:56:59 Using obfuscation key for /Users/geppyz/Library/Application Support/Gulden/blocks/index: 0000000000000000
2021-10-25 07:56:59 Opening LevelDB in /Users/geppyz/Library/Application Support/Gulden/chainstate
2021-10-25 07:56:59 Opened LevelDB successfully
2021-10-25 07:56:59 Using obfuscation key for /Users/geppyz/Library/Application Support/Gulden/chainstate: 084dd1be94c4df81
2021-10-25 07:56:59 Opening LevelDB in /Users/geppyz/Library/Application Support/Gulden/witstate
2021-10-25 07:56:59 Opened LevelDB successfully
2021-10-25 07:56:59 Using obfuscation key for /Users/geppyz/Library/Application Support/Gulden/witstate: 933ecdb16f28068d
2021-10-25 07:57:12 LoadBlockIndexDB: last block file = 11
2021-10-25 07:57:12 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=196466, size=134012192, heights=1320014...1464869, time=2021-02-14...2021-10-22)
2021-10-25 07:57:12 Checking all blk files are present...
2021-10-25 07:57:13 LoadBlockIndexDB: transaction index disabled
2021-10-25 07:57:13 LoadBlockIndexDB: hashBestChain=9ef8b14d732def6474ce909329e4120adacf79075a70e7e429a93cf9933eba8d height=1464469 date=2021-10-21 15:55:46 progress=0.999711
2021-10-25 07:57:13 init message: Rewinding blocks...
2021-10-25 07:57:18 FlushStateToDisk: updating 8862 and deleting 0 block indexes, prune height = 0
2021-10-25 07:57:18 init message: Verifying blocks...
2021-10-25 07:57:18 Verifying last 6 blocks at level 3
2021-10-25 07:57:18 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
2021-10-25 07:57:18 No coin database inconsistencies in last 7 blocks (15 transactions)
2021-10-25 07:57:18  block index           18788ms
2021-10-25 07:57:18 init message: Loading wallet...
2021-10-25 07:57:18 nFileVersion = 2040007
2021-10-25 07:57:18 Keys: 60 plaintext, 0 encrypted, 1533 w/ metadata, 60 total
2021-10-25 07:57:18  wallet                   88ms
2021-10-25 07:57:18 setKeyPool.size() = 753
2021-10-25 07:57:18 mapWallet.size() = 178
2021-10-25 07:57:18 mapAddressBook.size() = 0
2021-10-25 07:57:18 pow2_witness thread start
2021-10-25 07:57:18 mapBlockIndex.size() = 1525502
2021-10-25 07:57:18 Witness thread started
2021-10-25 07:57:18 nBestHeight = 1464469
2021-10-25 07:57:18 Imported mempool transactions from disk: 0 successes, 0 failed, 1 expired
2021-10-25 07:57:18 torcontrol thread start
2021-10-25 07:57:18 init message: Loading P2P addresses...
2021-10-25 07:57:18 upnp thread start
2021-10-25 07:57:18 Loaded 4677 addresses from peers.dat  18ms
2021-10-25 07:57:18 init message: Loading banlist...
2021-10-25 07:57:18 init message: Starting network threads...
2021-10-25 07:57:18 addcon thread start
2021-10-25 07:57:18 dnsseed thread start
2021-10-25 07:57:18 net thread start
2021-10-25 07:57:18 opencon thread start
2021-10-25 07:57:18 msghand thread start
2021-10-25 07:57:18 init message: Done loading
2021-10-25 07:57:18 GUI: PaymentServer::LoadRootCAs: Loaded  162  root certificates
2021-10-25 07:57:19 GUI: QLayout: Attempting to add QLayout "" to WalletView "", which already has a layout
2021-10-25 07:57:19 GUI: QObject::connect: No such signal MiningAccountDialog::message(QString,QString,unsigned int) in qt/walletview.cpp:134
2021-10-25 07:57:19 GUI: QObject::connect:  (sender name:   'MiningAccountDialog')
2021-10-25 07:57:19 TransactionView::activeAccountChanged
2021-10-25 07:57:19 ReceiveCoinsDialog::activeAccountChanged
2021-10-25 07:57:19 MiningAccountDialog::activeAccountChanged
2021-10-25 07:57:19 GUI: QObject::connect: No such slot GUI::requestFundWitness(CAccount*) in qt/gui.cpp:814
2021-10-25 07:57:19 GUI: QObject::connect:  (sender name:   'WitnessDialog')
2021-10-25 07:57:19 keypool reserve 34
2021-10-25 07:57:19 keypool return 34
2021-10-25 07:57:19 keypool reserve 34
2021-10-25 07:57:19 keypool return 34
2021-10-25 07:57:20 UPnP: ExternalIPAddress = 77.249.53.159
2021-10-25 07:57:20 AddLocal(77.249.53.159:9231,3)
2021-10-25 07:57:20 UPnP Port Mapping successful.
2021-10-25 07:57:29 Loading addresses from DNS seeds (could take a while)
2021-10-25 07:57:29 74 addresses found from DNS seeds
2021-10-25 07:57:29 dnsseed thread exit
2021-10-25 07:57:35 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466599, us=77.249.53.159:53618, peer=0
2021-10-25 07:57:35 initial getheaders (1464892) to peer=0 (startheight:1466599)
2021-10-25 07:57:42 socket recv error Connection reset by peer
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466599, us=77.249.53.159:53619, peer=1
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.6/: version 70020, blocks=1466600, us=77.249.53.159:53625, peer=3
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466600, us=77.249.53.159:53627, peer=4
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466600, us=77.249.53.159:53628, peer=5
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.5/: version 70020, blocks=1466600, us=77.249.53.159:53629, peer=6
2021-10-25 07:58:09 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466600, us=77.249.53.159:53631, peer=7
2021-10-25 07:58:09 initial getheaders (1466599) to peer=1 (startheight:1466599)
2021-10-25 07:58:09 initial getheaders (1466599) to peer=3 (startheight:1466600)
2021-10-25 07:58:09 initial getheaders (1466599) to peer=4 (startheight:1466600)
2021-10-25 07:58:09 initial getheaders (1466599) to peer=5 (startheight:1466600)
2021-10-25 07:58:09 initial getheaders (1466599) to peer=6 (startheight:1466600)
2021-10-25 07:58:09 initial getheaders (1466599) to peer=7 (startheight:1466600)
2021-10-25 08:01:01 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466601, us=77.249.53.159:53740, peer=8
2021-10-25 08:01:01 initial getheaders (1466600) to peer=8 (startheight:1466601)
2021-10-25 08:02:39 receive version message: /Gulden:2.4.0.7/: version 70020, blocks=1466601, us=77.249.53.159:53785, peer=9
2021-10-25 08:02:39 initial getheaders (1466600) to peer=9 (startheight:1466601)
2021-10-25 08:17:29 UPnP Port Mapping successful.
2021-10-25 08:21:38 walletmodel::setActiveAccount
2021-10-25 08:21:38 keypool reserve 654
2021-10-25 08:21:38 keypool return 654
2021-10-25 08:21:38 AccountTableModel::activeAccountChanged
2021-10-25 08:21:38 TransactionView::activeAccountChanged
2021-10-25 08:21:38 ReceiveCoinsDialog::activeAccountChanged
2021-10-25 08:21:38 MiningAccountDialog::activeAccountChanged
2021-10-25 08:21:38 keypool reserve 654
2021-10-25 08:21:38 keypool return 654
mjmacleod commented 2 years ago

Full debug.log is required, the above only contains a few minutes of run time so lacks any useful information. Alternatively please go to slack for proper real time support that would be a more appropriate channel than a github issue for this.

BramVanBerkel commented 2 years ago

I have the same problem, also on macos 11.6, but i'm stuck on block 1460707. I have attached a debug.log: debug.log.gz

mjmacleod commented 2 years ago

Run the command reconsiderblock 06f832c3dd43844327b7e58b80ce9b0604546d502684438356a6f3ae4ff3902d after which it should catch up. In future please use slack or website support channels for this sort of thing.

BramVanBerkel commented 2 years ago

That fixed it

Will do, thanks 👍