Skip to content

Commit cf8aa31

Browse files
authored
params: remove unused les parameters (#30268)
1 parent 1058695 commit cf8aa31

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

params/network_params.go

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,44 +24,13 @@ const (
2424
// contains on the server side.
2525
BloomBitsBlocks uint64 = 4096
2626

27-
// BloomBitsBlocksClient is the number of blocks a single bloom bit section vector
28-
// contains on the light client side
29-
BloomBitsBlocksClient uint64 = 32768
30-
3127
// BloomConfirms is the number of confirmation blocks before a bloom section is
3228
// considered probably final and its rotated bits are calculated.
3329
BloomConfirms = 256
3430

35-
// CHTFrequency is the block frequency for creating CHTs
36-
CHTFrequency = 32768
37-
38-
// BloomTrieFrequency is the block frequency for creating BloomTrie on both
39-
// server/client sides.
40-
BloomTrieFrequency = 32768
41-
42-
// HelperTrieConfirmations is the number of confirmations before a client is expected
43-
// to have the given HelperTrie available.
44-
HelperTrieConfirmations = 2048
45-
46-
// HelperTrieProcessConfirmations is the number of confirmations before a HelperTrie
47-
// is generated
48-
HelperTrieProcessConfirmations = 256
49-
50-
// CheckpointFrequency is the block frequency for creating checkpoint
51-
CheckpointFrequency = 32768
52-
53-
// CheckpointProcessConfirmations is the number before a checkpoint is generated
54-
CheckpointProcessConfirmations = 256
55-
5631
// FullImmutabilityThreshold is the number of blocks after which a chain segment is
5732
// considered immutable (i.e. soft finality). It is used by the downloader as a
5833
// hard limit against deep ancestors, by the blockchain against deep reorgs, by
5934
// the freezer as the cutoff threshold and by clique as the snapshot trust limit.
6035
FullImmutabilityThreshold = 90000
61-
62-
// LightImmutabilityThreshold is the number of blocks after which a header chain
63-
// segment is considered immutable for light client(i.e. soft finality). It is used by
64-
// the downloader as a hard limit against deep ancestors, by the blockchain against deep
65-
// reorgs, by the light pruner as the pruning validity guarantee.
66-
LightImmutabilityThreshold = 30000
6736
)

0 commit comments

Comments
 (0)