Bitcoin Forum
December 15, 2024, 06:36:34 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Core temporarily marks past transactions as "offline"?  (Read 311 times)
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
November 28, 2017, 06:53:08 AM
 #1

Starting up Core today, I noticed that the most recent transaction was greyed out, its value in square brackets, and the tooltip read "offline" instead of 100s of confirmations. The transaction before it didn't show these symptoms. A few minutes later the "offline" transaction became normal again.

What does offline mean here?

LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17829


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 28, 2017, 11:44:48 AM
 #2

It means your Bitcoin Core is still starting up, and not yet properly connected to the network.
It's normal, mine does the same.

As a workaround: don't turn off Bitcoin Core, I keep it running all the time.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
November 28, 2017, 08:02:01 PM
Last edit: November 28, 2017, 09:54:10 PM by jnano
 #3

Other transactions doesn't show as offline. What decides which fall into each category?

I can't keep it on all the time. It's unfortunate it's totally inefficient at starting up. Even when there are no blocks to catch up, and it's supposedly synced, it keeps thrashing the HDD for 10 minutes after startup, during which there are side effects like the above, or the GUI being barely responsive.

I haven't upgraded yet from 15.0.1, but I didn't see any change notes about improving memory caching or disk access.

LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17829


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 28, 2017, 09:10:10 PM
Last edit: November 29, 2017, 10:59:48 AM by LoyceV
 #4

it keeps trashing the HDD for 10 minutes after startup
I recently tested this: it took 80 seconds to startup from my HDD. After I moved the chainstate-directory to an SSD, the startup time went down to 20 seconds.

If it takes your PC 10 minutes, I guess you're low on memory. If that's the case, see if you can install some more RAM. If you're low on memory, this upgrade can make a huge difference in overall performance.

Addition: I just restarted Bitcoin Core. Since I have the chainstate-directory on my SSD, it takes less than a second to switch from "offline" to "normal" after starting up.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
November 28, 2017, 09:46:41 PM
 #5

No memory shortage. And I don't mean the initial startup. After the software shows the main GUI and is fully interactive, with no blocks to catch up with, it still crunches for a few minutes. Maybe it's related to the general caching problems, which, as you said in the past, can be alleviated by using a RAM drive. But these caching problems are a topic for another day. Smiley

I was mainly curious why some transaction show as "offline" during this initial period, but others don't. A theory: newer transactions may be affected by some chainstate reorganization that happens on startup.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
November 29, 2017, 05:35:53 AM
 #6

Bitcoin Core will rewind several blocks at startup and re-verify them as a sanity check. It's likely that those transactions were in blocks that were rewound and being rechecked at startup, so they are shown as offline.

jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
November 29, 2017, 05:50:09 AM
 #7

That transaction had hundreds of confirmations at that stage.
Would it rewind that many?

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
November 29, 2017, 06:15:16 AM
 #8

That transaction had hundreds of confirmations at that stage.
Would it rewind that many?
It could happen. I have seen it rewind a few hundred blocks before due to unclean shutdown.

jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
November 29, 2017, 06:55:01 AM
 #9

I don't think there was an unclean shutdown.
Is that the only reason a tx would show as offline?

If the following is the rewinding you mean, doesn't that happen before the main GUI shows?

Code:
2017-11-28 06:40:25 init message: Rewinding blocks...
2017-11-28 06:40:27 init message: Verifying blocks...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!