Bitcoin Forum
May 23, 2018, 07:16:24 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What happens when a node goes offline for a while?  (Read 653 times)
1t0ph20
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 14, 2017, 05:03:35 PM
 #1

Let's imaging a full node goes offline for a month, so they're missing ~4300 blocks (just using 10min/blk).

Are there any message exchanges that receive transactions to help sync the 'booting' node with the other peer node's mempools? (I.e. compensate for having a empty tx mempool)?  And if not, why not have a booting node receive a copy for another node's txn mempool (after receiving the missing blocks) so that they can reduce an additional round-trip in compact block relay that relay on generating short_txids from mempool?
1527102984
Hero Member
*
Offline Offline

Posts: 1527102984

View Profile Personal Message (Offline)

Ignore
1527102984
Reply with quote  #2

1527102984
Report to moderator
1527102984
Hero Member
*
Offline Offline

Posts: 1527102984

View Profile Personal Message (Offline)

Ignore
1527102984
Reply with quote  #2

1527102984
Report to moderator
1527102984
Hero Member
*
Offline Offline

Posts: 1527102984

View Profile Personal Message (Offline)

Ignore
1527102984
Reply with quote  #2

1527102984
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527102984
Hero Member
*
Offline Offline

Posts: 1527102984

View Profile Personal Message (Offline)

Ignore
1527102984
Reply with quote  #2

1527102984
Report to moderator
1527102984
Hero Member
*
Offline Offline

Posts: 1527102984

View Profile Personal Message (Offline)

Ignore
1527102984
Reply with quote  #2

1527102984
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1414
Merit: 1329


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
April 14, 2017, 05:10:57 PM
 #2

A node can use the mempool message to request the txids of all of the transactions in another node's mempools. It can then ask the node for all of those transactions. Bitcoin Core 0.14.0+ will also save the mempool to the disk before it shuts down so it will populate its mempool from the saved data.

1t0ph20
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 14, 2017, 05:25:37 PM
 #3

Thank you!

To just follow up, if that's the case, why does it still take 3/4 weeks of a node being online before getting 50-60% relayed without additional round trips for missing transactions with compact block relay?
Jet Cash
Hero Member
*****
Online Online

Activity: 896
Merit: 875


Satan's Slave


View Profile WWW
April 16, 2017, 10:41:31 AM
 #4

I don't understand the question, sorry guys. I'm often offline for a day or so, and I just start up core, and it re-sync's without any problems. Should I be doing something else other than just starting it up normally?

Bitcoin Scammer ==>> Your chance to buy BitcoinScammer.com, and create a great surfer protection site.
Click here to visit the site, and make an offer
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!