Closed the-real-vortex-v closed 3 years ago
An update: I played around more and I'm not getting any OOMs. I was getting crashing but I've since recompiled the source again and added the ZQM librarys and now it just silently crashes/exits with no debug info. If you want me to run gdb or what ever then let me know each step you want to take. If you want to login to a shell and try it for yourself then I'm happy to talk to you about an ssh login as I don't care about this box.
I downloaded the checkpoint again and extracted it again. I will run a -rescan and see how that goes.
I see in the logs now:
pocketnet@Antelope:~/.pocketcoin$ tail -f debug.log 2021-11-08T08:46:13Z Using wallet wallet.dat 2021-11-08T08:46:13Z BerkeleyEnvironment::Open: LogDir=/home/pocketnet/.pocketcoin/database ErrorFile=/home/pocketnet/.pocketcoin/db.log 2021-11-08T08:46:13Z Cache configuration: 2021-11-08T08:46:13Z Using 2.0MiB for block index database 2021-11-08T08:46:13Z Using 8.0MiB for chain state database 2021-11-08T08:46:13Z * Using 160.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2021-11-08T08:46:13Z init message: Loading block index... 2021-11-08T08:46:13Z Opening LevelDB in /home/pocketnet/.pocketcoin/blocks/index 2021-11-08T08:46:13Z Opened LevelDB successfully 2021-11-08T08:46:13Z Using obfuscation key for /home/pocketnet/.pocketcoin/blocks/index: 0000000000000000
I installed gdb and ran pocketcoind -rescan:
2021-11-08T10:52:40Z Cache configuration: 2021-11-08T10:52:40Z Using 2.0MiB for block index database 2021-11-08T10:52:40Z Using 8.0MiB for chain state database 2021-11-08T10:52:40Z Using 160.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2021-11-08T10:52:40Z init message: Loading block index... 2021-11-08T10:52:40Z Opening LevelDB in /home/pocketnet/.pocketcoin/blocks/index 2021-11-08T10:52:41Z Opened LevelDB successfully 2021-11-08T10:52:41Z Using obfuscation key for /home/pocketnet/.pocketcoin/blocks/index: 0000000000000000 pocketcoind: chain.cpp:102: const CBlockIndex CBlockIndex::GetAncestor(int) const: Assertion `pindexWalk->pprev' failed.
Thread 1 "pocketcoind" received signal SIGABRT, Aborted. 0xb7fd4d31 in __kernel_vsyscall ()
That's what gdb gave me. I'm going to try copying the data from the chain directory etc again.
Final update: It's now working. I unzipped the sql and copied the the chainstate etc files again and did a -rescan and then restarted it and it finally is now actually connecting. I'm not running gdb anymore and it's now slowly resyncing.
+++ Block connected to chain: 1422144 BH:bdb1ff63f6221644cbb189760e8e25880b71be3112000ba9c56fb9bd39f6aa67
I don't see any error messages.
Hi, I'm using Devuan with the Alpha v20 and V20.1 source.
I've installed V20 and then V20.1 but both give the same issue.
Yes my system is woefully underpowered but I'm not getting any memory or cpu etc issues. My problem is around syncing the initial block chain. My system is an old eeeBOX with a dual core atom (32bit) and 1gb of ram. Around 860mb is useable to programs.
I get these log lines that are abnormal:
2021-11-06T17:13:38Z Clear statistic cache: 0 -> 0 items after. 2021-11-06T17:13:38Z - TryTransactionStep (List): 0.04ms + 5.65ms + 0.06ms = 5.76ms 2021-11-06T17:13:38Z - Load block from disk: 19.25ms [0.02s] 2021-11-06T17:13:38Z - Sanity checks: 4.80ms [0.00s (4.80ms/blk)] 2021-11-06T17:13:38Z - Fork checks: 117.54ms [0.12s (117.54ms/blk)] 2021-11-06T17:13:38Z - Connect 78 transactions: 30.30ms (0.388ms/tx, 0.384ms/txin) [0.03s (30.30ms/blk)] 2021-11-06T17:13:38Z - TryTransactionStep (GetScoreData): 0.05ms + 0.83ms + 0.03ms = 0.91ms 2021-11-06T17:13:38Z Winners: Failed get score data for tx: 859ab5c7c110eb837fb8c17de79ea80abdde79e5aefb39e9415afcdb7b9faa47 2021-11-06T17:13:38Z - TryTransactionStep (GetScoreData): 0.05ms + 0.92ms + 0.04ms = 1.00ms 2021-11-06T17:13:38Z Winners: Failed get score data for tx: 3364f42ee3b9b72fa25eb28593196a152afd42a4335ea3da248ea934dca536de 2021-11-06T17:13:38Z - TryTransactionStep (GetScoreData): 0.05ms + 0.87ms + 0.04ms = 0.95ms 2021-11-06T17:13:38Z Winners: Failed get score data for tx: ed984f953153c7b00500839dcdde70ed43eceff7a4ca4357353d7ca434d910a3 2021-11-06T17:13:38Z - Checking rewards: 6.24ms (0.079ms/txin) [0.01s (6.24ms/blk)] 2021-11-06T17:13:38Z - TryTransactionStep (ExistsUserRegistrations): 0.07ms + 0.40ms + 0.03ms = 0.50ms 2021-11-06T17:13:38Z Warning: SocialConsensus 300 validate failed with result 1 for transaction 0318472c1dffa2d71686c3463a81139a1c7672e0001cafcbfb0242fae411fb86 at height:1421974 2021-11-06T17:13:38Z WARNING: SocialConsensus validating failed with result 1 for block 9060c6641e3bbd98b3a9c912c0a5d2633587a8cefe28a118c411f826935e3446 2021-11-06T17:13:38Z ERROR: ConnectTip: ConnectBlock 9060c6641e3bbd98b3a9c912c0a5d2633587a8cefe28a118c411f826935e3446 failed, (code 0) 2021-11-06T17:13:38Z Failed to connect best block ( (code 0))
After this is just shuts down normally. With V0.20.0 The above error would loop over and over again. Now the server just shuts down.
my config file is:
server=1 listen=1 port=27070 rpcport=37071 publicrpc=28081 wsuse=1 wsport=7087 rpcthreads=2 rpcworkqueue=5 rpcpostthreads=5 rpcpostworkqueue=100 rpcpublicthreads=10 rpcpublicworkqueue=100 rpcallowip=127.0.0.0 rpcallowip=192.168.0.0 rpcuser=abc rpcpassword=[notreal]
debug=sync
debug=all