Raptor3um / raptoreum

MIT License
317 stars 134 forks source link

Out of sync wallet #269

Closed standula closed 1 year ago

standula commented 1 year ago

Hi, i can`t sync my wallet with this errors: 2023-02-17T14:52:45Z CSmartnodeSync::ProcessTick -- nTick 151 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:52:51Z CSmartnodeSync::ProcessTick -- nTick 157 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:52:57Z CSmartnodeSync::ProcessTick -- nTick 163 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:03Z CSmartnodeSync::ProcessTick -- nTick 169 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:04Z New outbound peer connected: version: 70219, blocks=508873, peer=26 2023-02-17T14:53:05Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:06Z ThreadSocketHandler -- removing node: peer=26 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:09Z CSmartnodeSync::ProcessTick -- nTick 175 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:10Z New outbound peer connected: version: 70219, blocks=508873, peer=27 2023-02-17T14:53:10Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:11Z ThreadSocketHandler -- removing node: peer=27 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:15Z CSmartnodeSync::ProcessTick -- nTick 181 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:16Z New outbound peer connected: version: 70219, blocks=508873, peer=28 2023-02-17T14:53:17Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:17Z New outbound peer connected: version: 70219, blocks=508873, peer=29 2023-02-17T14:53:17Z ThreadSocketHandler -- removing node: peer=28 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:18Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:18Z ThreadSocketHandler -- removing node: peer=29 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:18Z New outbound peer connected: version: 70219, blocks=508873, peer=30 2023-02-17T14:53:19Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:19Z ThreadSocketHandler -- removing node: peer=30 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:20Z New outbound peer connected: version: 70219, blocks=508873, peer=31 2023-02-17T14:53:21Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:21Z CSmartnodeSync::ProcessTick -- nTick 187 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:22Z ThreadSocketHandler -- removing node: peer=31 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0 2023-02-17T14:53:27Z CSmartnodeSync::ProcessTick -- nTick 193 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:33Z CSmartnodeSync::ProcessTick -- nTick 199 nCurrentAsset 1 nTriedPeerCount 0 nSyncProgress 0.000000 2023-02-17T14:53:36Z New outbound peer connected: version: 70219, blocks=508873, peer=32 2023-02-17T14:53:37Z ERROR: AcceptBlockHeader: block c5bc1145370ab9d6f83518ad25a1fbfb3d2f85bf039197a3b7ddccfeca96e9fa is marked invalid 2023-02-17T14:53:37Z ThreadSocketHandler -- removing node: peer=32 nRefCount=1 fInbound=0 m_smartnode_connection=0 m_smartnode_iqr_connection=0

THanks for support

Bigpiggy01 commented 1 year ago

Hi there, There is a new release out in a couple of hours that should sort it out for you, if you are in a hurry hop on discord #wallet and they will sort you out!

ephebus commented 1 year ago

I'm also unable to sync since the release of version 1.3.17.02. Upgrading to that version gives me the error below when running Qt (Windows 7 x64). Visual C++ is updated to the latest available version (2022, v14.34.31938).

image

rocketsvm commented 1 year ago

@ephebus You need to follow this conveniently omitted link https://bootstrap.raptoreum.com/ and bootstrap the hell out of this blockchain!

ephebus commented 1 year ago

Oh dear, not again... Let's try that.

ephebus commented 1 year ago

@ephebus You need to follow this conveniently omitted link https://bootstrap.raptoreum.com/ and bootstrap the hell out of this blockchain!

Bootstrapping worked. Thanks a lot, rocketsvm. I can see my beloved Raptors again!

Now let's hope this doesn't become a recurrent issue, since the blockchain is only going to get bigger. I had to bootstrap the whole thing 3 months ago because I (and a lot of other people) were stuck on block 453100:

https://www.reddit.com/r/raptoreum/comments/z916v7/what_to_do_if_wallet_stuck_on_453100

standula commented 1 year ago

Hi, the new version downloaded, but there is an error

./raptoreum-qt raptoreum-qt: evo/deterministicmns.cpp:552: void CDeterministicMNList::UpdateMN(const CDeterministicMNCPtr&, const CDeterministicMNStateDiff&): Předpoklad „oldDmn != nullptr“ nesplněn. Posix Signal: Neúspěšně ukončen (SIGABRT) No debug information available for stacktrace. You should add debug information and then run: raptoreum-qt -printcrashinfo=cjjgc4dun5zgk5lninzgc43ijfxgm3ybaagheylqorxxezlvnuwxc5bokbxxg2lyebjwsz3omfwduicomxb3u43qysn4liloysnsa5lln5xmjdlfnyqcqu2ji5aueusufehqmqekaaaaaaaascx2xnbxfeaabte4wc2dokiaadzk5k5ug4uqaadsksvlinzjaaajku5kwq3ssaaa6i62xnbxfeaabmizimaaaaaaaauckqyaaaaaaac7jrbqaaaaaaackvcdaaaaaaaalp3emaaaaaaabbciomaaaaaaadijk4yaaaaaaacrr5eaaaaaaaaaa=== Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

standula commented 1 year ago

run with strace

ead(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 ppoll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 2, {tv_sec=0, tv_nsec=0}, NULL, 8) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=0}) read(5, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base="+\0\1\0", iov_len=4}], 1) = 4 futex(0x559feac8bf88, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x559feac8bf88, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base=";\3\5\0\v\0\7\0\0\0\0\0\0\0\0\340\1\34\2\202\3\n\0\3\0\7\v\0`\7"..., iov_len=76}], 1) = 76 ppoll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 2, {tv_sec=0, tv_nsec=446000000}, NULL, 8raptoreum-qt: evo/deterministicmns.cpp:552: void CDeterministicMNList::UpdateMN(const CDeterministicMNCPtr&, const CDeterministicMNStateDiff&): Předpoklad „oldDmn != nullptr“ nesplněn. Posix Signal: Neúspěšně ukončen (SIGABRT) No debug information available for stacktrace. You should add debug information and then run: raptoreum-qt -printcrashinfo=cjjgc4dun5zgk5lninzgc43ijfxgm3ybaagheylqorxxezlvnuwxc5bokbxxg2lyebjwsz3omfwduicomxb3u43qysn4liloysnsa5lln5xmjdlfnyqcqu2ji5aueusufehqmqekaaaaaaaasapvhhmofeaabtamlcoy4kiaadzb4u45ryuqaadsyriz3drjaaajlq2rtwhcsaaa6kwvfhmofeaabmizimaaaaaaaauckqyaaaaaaac7jrbqaaaaaaackvcdaaaaaaaalp3emaaaaaaabbciomaaaaaaadijk4yaaaaaaacrr5eaaaaaaaaaa=== <unfinished ...>) = ? +++ killed by SIGABRT (core dumped) +++ Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

ephebus commented 1 year ago

@standula

Hi, the new version downloaded, but there is an error

./raptoreum-qt raptoreum-qt: evo/deterministicmns.cpp:552: void CDeterministicMNList::UpdateMN(const CDeterministicMNCPtr&, const CDeterministicMNStateDiff&): Předpoklad „oldDmn != nullptr“ nesplněn.

Same problem I had. You're gonna have to bootstrap your blockchain = download a compressed file with the current blockchain state and then replace your blockchain with the one in that file.

1 - Go here https://bootstrap.raptoreum.com and download the file bootstrap-index.tar.xz for v1.3.17.02.

2 - Delete the powcache.dat file and the directories below from your Raptoreum wallet directory:

3 - Extract the contents of the file you downloaded to your wallet directory.

4 - Edit your raptoreum.conf file and add the lines below:

addressindex=1 futureindex=1 spentindex=1 timestampindex=1 txindex=1

5 - Run the Raptoreum Core Qt wallet and it should now start up and sync your blockchain.

===> Make sure you have a backup of your wallet.dat file before doing anything. <===

standula commented 1 year ago

solved. Thanks

Bigpiggy01 commented 1 year ago

It got way too late my time before I managed to set up the release. Have edited instructions on the release that should cover all of the above!