kaspanet / kaspad

Kaspad was the reference full node Kaspa implementation written in Go (golang), now rewritten in Rust: https://github.com/kaspanet/rusty-kaspa
ISC License
458 stars 231 forks source link

Deleting the staging consensus. Deleting database prefix #2147

Open hhdllhflower opened 2 years ago

hhdllhflower commented 2 years ago

OS ubuntu 20.04 kaspad --version kaspad version 0.12.6/ kaspad version 0.12.7

I am running the latest kaspad full node on linux, and the log error is as above. From the log, the node is constantly downloading data and then deleting it and then downloading it again. Does anyone have the same problem?

key node log

2022-09-26 14:42:49.776 [INF] PROT: IBD: Processed 12298 block headers (6%) 2022-09-26 14:42:50.579 [INF] CMGR: Connecting to [240e:474:2b40:dc2d:20e8:173d:9487:b173]:16111 2022-09-26 14:42:51.580 [INF] CMGR: Connecting to [2a02:14c:2a9:a900:f7:5e41:3e7a:4510]:16111 2022-09-26 14:42:52.643 [INF] CMGR: Connecting to [2a10:8004:c320:0:a206:8ada:a75d:4227]:16111 2022-09-26 14:42:53.645 [INF] CMGR: Connecting to [2603:90c8:6:a6af:1dc5:6933:bcbb:76d3]:16111 2022-09-26 14:42:55.384 [INF] BDAG: Processed 0 blocks and 1775 headers in the last 10s (0 transactions, 2022-09-24 11:43:32.87 +0800 CST) 2022-09-26 14:42:59.593 [INF] PROT: IBD: Processed 14348 block headers (7%) 2022-09-26 14:43:04.561 [INF] PROT: IBD with pruning proof from <ba7787fe8cca06fba5e9e15cc059ef08: 176.9.4.4:16111> was unsuccessful. Deleting the staging consensus. 2022-09-26 14:43:04.561 [INF] PRFX: Deleting database prefix &{1} 2022-09-26 14:43:09.201 [INF] PRFX: Compacting database after prefix delete 2022-09-26 14:43:10.244 [INF] PROT: IBD with peer <ba7787fe8cca06fba5e9e15cc059ef08: 176.9.4.4:16111> finished (interrupted) 2022-09-26 14:43:11.424 [INF] PROT: IBD started with peer <95841514fb820849173d36072dccc5aa: 45.77.206.50:16111> 2022-09-26 14:43:11.725 [INF] PROT: Starting IBD with headers proof 2022-09-26 14:43:11.829 [INF] PROT: Downloading the pruning point proof from <95841514fb820849173d36072dccc5aa: 45.77.206.50:16111> 2022-09-26 14:43:17.564 [INF] CMGR: Connecting to 192.169.106.70:16111 2022-09-26 14:43:18.564 [INF] CMGR: Connecting to [2001:14ba:3fe:9600:acf4:8771:5e9f:a091]:16111 2022-09-26 14:43:19.565 [INF] CMGR: Connecting to [2a01:e0a:2d6:81b0:ed4b:bed5:2f5b:2003]:16111 2022-09-26 14:43:20.566 [INF] CMGR: Connecting to 51.89.96.227:16111 2022-09-26 14:43:20.882 [INF] TXMP: P2P Connected to 51.89.96.227:16111

cristi71000 commented 1 year ago

Yes, same here

someone235 commented 1 year ago

Yes, same here

@cristi71000 which version are you using?

cristi71000 commented 1 year ago

Latest, just pulled and built. Can't check now

someone235 commented 1 year ago

Can you upload your datadir ~/.kaspad somewhere and give a link here?