Bitcoin Forum
May 11, 2024, 04:29:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: To install Bitcoin Core with the genesis and few other first and last blocks  (Read 60 times)
BlueBoat (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 21, 2022, 10:17:03 AM
 #1

Hi,

I would like to know if there is query allowing at install Bitcoin Core with for example only the genesis block, its next three blocks and the last three blocks.

I know, one can use prune in order to have a minimum of 550 blocks corresponding to 550Mb. However, this feature was available since 2014-2015.

Quote
-prune= Reduce storage requirements by enabling pruning (deleting) of old blocks. This allows the pruneblockchain RPC to be called to delete specific blocks, and enables automatic pruning of old blocks if a target size in MiB is provided. This mode is incompatible with -txindex and -rescan. Warning: Reverting this setting requires re-downloading the entire blockchain. (default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, 550 = automatically prune block files to stay under the specified target size in MiB)

 
1715444981
Hero Member
*
Offline Offline

Posts: 1715444981

View Profile Personal Message (Offline)

Ignore
1715444981
Reply with quote  #2

1715444981
Report to moderator
1715444981
Hero Member
*
Offline Offline

Posts: 1715444981

View Profile Personal Message (Offline)

Ignore
1715444981
Reply with quote  #2

1715444981
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715444981
Hero Member
*
Offline Offline

Posts: 1715444981

View Profile Personal Message (Offline)

Ignore
1715444981
Reply with quote  #2

1715444981
Report to moderator
1715444981
Hero Member
*
Offline Offline

Posts: 1715444981

View Profile Personal Message (Offline)

Ignore
1715444981
Reply with quote  #2

1715444981
Report to moderator
1715444981
Hero Member
*
Offline Offline

Posts: 1715444981

View Profile Personal Message (Offline)

Ignore
1715444981
Reply with quote  #2

1715444981
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
December 21, 2022, 11:16:53 AM
 #2

Unfortunately, there's no RPC or command line option that can do that.

On the other hand, pruning is still available in the latest version but it will not satisfy your requirements since the minimum size is still quite high.
Plus it will still have to download and verify all of the blocks while pruning the older ones.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!