Skip to content

Commit 5330e5a

Browse files
authored
Disable --Xsnapsync-to-head-enabled by default (#7764)
Signed-off-by: Simon Dudley <[email protected]>
1 parent fd50a3e commit 5330e5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- Interrupt pending transaction processing on block creation timeout [#7673](https://github.com/hyperledger/besu/pull/7673)
3030
- Align gas cap calculation for transaction simulation to Geth approach [#7703](https://github.com/hyperledger/besu/pull/7703)
3131
- Expose chainId in the `BlockchainService` [7702](https://github.com/hyperledger/besu/pull/7702)
32-
- Use head block instead of safe block for snap sync [7536](https://github.com/hyperledger/besu/issues/7536)
32+
- Add `--Xsnapsync-to-head-enabled` feature to use head block instead of safe block for snap sync [7536](https://github.com/hyperledger/besu/issues/7536)
3333
- Add support for `chainId` in `CallParameters` [#7720](https://github.com/hyperledger/besu/pull/7720)
3434
- Add `--ephemery` network support for Ephemery Testnet [#7563](https://github.com/hyperledger/besu/pull/7563) thanks to [@gconnect](https://github.com/gconnect)
3535
- Add configuration of Consolidation Request Contract Address via genesis configuration [#7647](https://github.com/hyperledger/besu/pull/7647)

ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/snapsync/SnapSyncConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class SnapSyncConfiguration {
4040

4141
public static final Boolean DEFAULT_SNAP_SYNC_BFT_ENABLED = Boolean.FALSE;
4242

43-
public static final Boolean DEFAULT_SNAP_SYNC_TO_HEAD_ENABLED_FLAG = Boolean.TRUE;
43+
public static final Boolean DEFAULT_SNAP_SYNC_TO_HEAD_ENABLED_FLAG = Boolean.FALSE;
4444

4545
public static SnapSyncConfiguration getDefault() {
4646
return ImmutableSnapSyncConfiguration.builder().build();

0 commit comments

Comments
 (0)