Skip to content

Commit

Permalink
Delegate FastBlocks methods to FastSync
Browse files Browse the repository at this point in the history
  • Loading branch information
obasekiosa committed Feb 28, 2024
1 parent 8c7336b commit fe2c722
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public bool SynchronizationEnabled
}

public long? FastSyncCatchUpHeightDelta { get; set; } = 8192;
public bool FastBlocks { get; set; }
public bool FastBlocks { get => FastSync; set => _ = value; } // maybe throw error on set? (could break other thing though like lines 15 to 19)
public bool UseGethLimitsInFastBlocks { get; set; } = true;
public bool FastSync { get => _fastSync || SnapSync; set => _fastSync = value; }
public bool FastSync { get => _fastSync || SnapSync; set => _fastSync = value; } // maybe set FastBlocks on this end too! (how would that affect tests?)
public bool DownloadHeadersInFastSync { get; set; } = true;
public bool DownloadBodiesInFastSync { get; set; } = true;
public bool DownloadReceiptsInFastSync { get; set; } = true;
Expand Down

0 comments on commit fe2c722

Please sign in to comment.