pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
114 stars 28 forks source link

alpha-0.20.1 got stuck #85

Closed Magic90007 closed 2 years ago

Magic90007 commented 2 years ago

I'm trying to run 0.20.1 first time. Linux Mint. Logs:

2021-11-07T08:32:02Z Pocketnet Core version v0.20.1.0-d168ba6 (debug build) 2021-11-07T08:32:02Z InitParameterInteraction: parameter interaction: -listen=0 -> setting -upnp=0 2021-11-07T08:32:02Z InitParameterInteraction: parameter interaction: -listen=0 -> setting -discover=0 2021-11-07T08:32:02Z InitParameterInteraction: parameter interaction: -listen=0 -> setting -listenonion=0 2021-11-07T08:32:02Z InitParameterInteraction: parameter interaction: -blocksonly=1 -> setting -whitelistrelay=0 2021-11-07T08:32:02Z Assuming ancestors of block 485b5866ffeed034da04617b04c3ec5fad926a6b5b24edb8f5170ac4941cc131 have valid signatures. 2021-11-07T08:32:02Z Setting nMinimumChainWork=00000000000000000000000000000000000000000000002d85d35c2f300d613d 2021-11-07T08:32:02Z ParameterInteraction: parameter interaction: -blocksonly=1 -> setting -walletbroadcast=0 2021-11-07T08:32:02Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation 2021-11-07T08:32:02Z Using RdRand as an additional entropy source 2021-11-07T08:32:02Z Default data directory /home/i/.pocketcoin 2021-11-07T08:32:02Z Using data directory /home/i/.pocketcoin 2021-11-07T08:32:02Z Config file: /home/i/.pocketcoin/pocketcoin.conf (not found, skipping) 2021-11-07T08:32:02Z Using at most 125 automatic connections (1024 file descriptors available) 2021-11-07T08:32:02Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2021-11-07T08:32:02Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2021-11-07T08:32:02Z Using 4 threads for script verification 2021-11-07T08:32:02Z init message: Loading Pocket DB... 2021-11-07T08:32:02Z scheduler thread start 2021-11-07T08:32:02Z SQLite usage version: 3037000 2021-11-07T08:32:02Z Creating Sqlite database main.sqlite3 structure.. 2021-11-07T08:32:02Z Creating Sqlite database web.sqlite3 structure.. 2021-11-07T08:32:02Z HTTP: creating work queue of depth 16 2021-11-07T08:32:02Z No rpcpassword set - using random cookie authentication. 2021-11-07T08:32:02Z Generated RPC authentication cookie /home/i/.pocketcoin/.cookie 2021-11-07T08:32:02Z HTTP: starting 4 Main worker threads 2021-11-07T08:32:02Z HTTP: starting 4 Public worker threads 2021-11-07T08:32:02Z Using wallet directory /home/i/.pocketcoin/wallets 2021-11-07T08:32:02Z init message: Verifying wallet(s)... 2021-11-07T08:32:02Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2021-11-07T08:32:02Z Using wallet wallet.dat 2021-11-07T08:32:02Z BerkeleyEnvironment::Open: LogDir=/home/i/.pocketcoin/wallets/database ErrorFile=/home/i/.pocketcoin/wallets/db.log 2021-11-07T08:32:02Z Cache configuration: 2021-11-07T08:32:02Z Using 2.0MiB for block index database 2021-11-07T08:32:02Z Using 8.0MiB for chain state database 2021-11-07T08:32:02Z * Using 160.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2021-11-07T08:32:02Z init message: Loading block index... 2021-11-07T08:32:02Z Opening LevelDB in /home/i/.pocketcoin/blocks/index 2021-11-07T08:32:02Z Opened LevelDB successfully 2021-11-07T08:32:02Z Using obfuscation key for /home/i/.pocketcoin/blocks/index: 0000000000000000 2021-11-07T08:32:11Z LoadBlockIndexDB: last block file = 25 2021-11-07T08:32:11Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=551, size=6169368, heights=1421401...1421973, time=2021-11-02...2021-11-02) 2021-11-07T08:32:11Z Checking all blk files are present... 2021-11-07T08:32:12Z Opening LevelDB in /home/i/.pocketcoin/chainstate 2021-11-07T08:32:12Z Opened LevelDB successfully 2021-11-07T08:32:12Z Using obfuscation key for /home/i/.pocketcoin/chainstate: e3f918ded1d98785 2021-11-07T08:32:12Z Loaded best chain: hashBestChain=199a68952236e21f181682e12523f650744442cffd97c743ee366a638788dc5a height=1421973 date=2021-11-02T11:13:20Z progress=0.989041 2021-11-07T08:32:12Z init message: Rewinding blocks... 2021-11-07T08:32:16Z init message: Verifying blocks... 2021-11-07T08:32:16Z Verifying last 6 blocks at level 3 2021-11-07T08:32:16Z [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2021-11-07T08:32:16Z No coin database inconsistencies in last 6 blocks (265 transactions) 2021-11-07T08:32:16Z block index 13305ms 2021-11-07T08:32:16Z Opening LevelDB in /home/i/.pocketcoin/indexes/txindex 2021-11-07T08:32:16Z Opened LevelDB successfully 2021-11-07T08:32:16Z Using obfuscation key for /home/i/.pocketcoin/indexes/txindex: 0000000000000000 2021-11-07T08:32:16Z txindex thread start 2021-11-07T08:32:16Z txindex is enabled at height 1421973 2021-11-07T08:32:16Z txindex thread exit 2021-11-07T08:32:16Z init message: Loading wallet... 2021-11-07T08:32:16Z [default wallet] nFileVersion = 200100 2021-11-07T08:32:16Z [default wallet] Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total. Unknown wallet records: 0 2021-11-07T08:32:16Z [default wallet] Wallet completed loading in 38ms 2021-11-07T08:32:16Z [default wallet] setKeyPool.size() = 2000 2021-11-07T08:32:16Z [default wallet] mapWallet.size() = 0 2021-11-07T08:32:16Z [default wallet] mapAddressBook.size() = 0 2021-11-07T08:32:16Z mapBlockIndex.size() = 1426119 2021-11-07T08:32:16Z Best block: 199a68952236e21f181682e12523f650744442cffd97c743ee366a638788dc5a (1421973) 2021-11-07T08:32:16Z init message: Loading P2P addresses... 2021-11-07T08:32:16Z Loaded 0 addresses from peers.dat 1ms 2021-11-07T08:32:16Z init message: Loading banlist... 2021-11-07T08:32:16Z init message: Starting network threads... 2021-11-07T08:32:16Z net thread start 2021-11-07T08:32:16Z dnsseed thread start 2021-11-07T08:32:16Z init message: Done loading 2021-11-07T08:32:16Z Loading addresses from DNS seeds (could take a while) 2021-11-07T08:32:16Z 0 addresses found from DNS seeds 2021-11-07T08:32:16Z dnsseed thread exit 2021-11-07T08:32:16Z msghand thread start 2021-11-07T08:32:16Z opencon thread start 2021-11-07T08:32:16Z addcon thread start 2021-11-07T08:32:16Z Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there 2021-11-07T08:33:17Z Adding fixed seed nodes as DNS doesn't seem to be available. 2021-11-07T08:43:17Z Potential stale tip detected, will try using extra outbound peer (last tip update: 630 seconds ago) 2021-11-07T08:53:47Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1260 seconds ago) 2021-11-07T09:04:17Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1890 seconds ago) 2021-11-07T09:14:47Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2520 seconds ago)

pocketnetteam commented 2 years ago

Is it still going on? We have discovered a serious problem in the algorithms for generating the rating database. Update 0.20.3 is already being prepared.

pocketnetteam commented 2 years ago

Also, the first launch after recovery from the checkpoint can take quite a lot of time (several hours) to build indexes.