Does running pruning node make the initial sync faster?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Does running bitcoind with -prune
option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster?
I keep reading conflicting information online - some state that it is quicker because you need less disk operations, some state it is about the same.
bitcoind pruning
add a comment |Â
up vote
1
down vote
favorite
Does running bitcoind with -prune
option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster?
I keep reading conflicting information online - some state that it is quicker because you need less disk operations, some state it is about the same.
bitcoind pruning
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Does running bitcoind with -prune
option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster?
I keep reading conflicting information online - some state that it is quicker because you need less disk operations, some state it is about the same.
bitcoind pruning
Does running bitcoind with -prune
option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster?
I keep reading conflicting information online - some state that it is quicker because you need less disk operations, some state it is about the same.
bitcoind pruning
bitcoind pruning
edited 15 mins ago
asked 22 mins ago
Karel BÃlek
1,10211341
1,10211341
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more frequent flushes are performed in order to allow pruning to work, and the work of actually deleting things creates its own small slowdown. About the same is probably a fair statement in general.
add a comment |Â
up vote
1
down vote
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download all of the blocks to verify them, deleting them afterwards.
-prune=<n>
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)
To reduce the sync time you could use the -assumevalid
flag to move the default assumed valid block to an earlier block, but obviously this is a risk you take.
-assumevalid=<hex>
If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all,
default:
0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0,
testnet:
0000000002e9e7b00e1f6dc5123a04aad68dd0f0968d8c7aa45f6640795c37b1)
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more frequent flushes are performed in order to allow pruning to work, and the work of actually deleting things creates its own small slowdown. About the same is probably a fair statement in general.
add a comment |Â
up vote
2
down vote
accepted
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more frequent flushes are performed in order to allow pruning to work, and the work of actually deleting things creates its own small slowdown. About the same is probably a fair statement in general.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more frequent flushes are performed in order to allow pruning to work, and the work of actually deleting things creates its own small slowdown. About the same is probably a fair statement in general.
No, pruning will not make the initial sync faster. The information that gets removed by pruning isn't accessed turning the initial sync.
Currently pruning makes the initial sync somewhat slower: more frequent flushes are performed in order to allow pruning to work, and the work of actually deleting things creates its own small slowdown. About the same is probably a fair statement in general.
answered 13 mins ago
G. Maxwell
1,322118
1,322118
add a comment |Â
add a comment |Â
up vote
1
down vote
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download all of the blocks to verify them, deleting them afterwards.
-prune=<n>
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)
To reduce the sync time you could use the -assumevalid
flag to move the default assumed valid block to an earlier block, but obviously this is a risk you take.
-assumevalid=<hex>
If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all,
default:
0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0,
testnet:
0000000002e9e7b00e1f6dc5123a04aad68dd0f0968d8c7aa45f6640795c37b1)
add a comment |Â
up vote
1
down vote
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download all of the blocks to verify them, deleting them afterwards.
-prune=<n>
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)
To reduce the sync time you could use the -assumevalid
flag to move the default assumed valid block to an earlier block, but obviously this is a risk you take.
-assumevalid=<hex>
If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all,
default:
0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0,
testnet:
0000000002e9e7b00e1f6dc5123a04aad68dd0f0968d8c7aa45f6640795c37b1)
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download all of the blocks to verify them, deleting them afterwards.
-prune=<n>
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)
To reduce the sync time you could use the -assumevalid
flag to move the default assumed valid block to an earlier block, but obviously this is a risk you take.
-assumevalid=<hex>
If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all,
default:
0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0,
testnet:
0000000002e9e7b00e1f6dc5123a04aad68dd0f0968d8c7aa45f6640795c37b1)
Does running bitcoind with -prune option make the initial blockchain
sync faster or not?
No, it just allows you to define the maximum storage space for old blocks to use, but it will still download all of the blocks to verify them, deleting them afterwards.
-prune=<n>
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)
To reduce the sync time you could use the -assumevalid
flag to move the default assumed valid block to an earlier block, but obviously this is a risk you take.
-assumevalid=<hex>
If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all,
default:
0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0,
testnet:
0000000002e9e7b00e1f6dc5123a04aad68dd0f0968d8c7aa45f6640795c37b1)
answered 11 mins ago
JBaczuk
2,5291320
2,5291320
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f79591%2fdoes-running-pruning-node-make-the-initial-sync-faster%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password