Skip to content

Commit ddc5b97

Browse files
committed
fix: use BIP-352 activation height
* this allows the indexer to skip blocks that do not support silent payments * https://www.bitaps.com/842579 * bitcoin/bips#1458
1 parent 7e7a0e3 commit ddc5b97

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/common/vars.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ const (
3838

3939
// control vars
4040
var (
41-
SyncStartHeight uint32 = 833_000 // random block where BIP352 was not active yet. todo change to actual number
42-
// MinHeightToProcess No block below this number will be processed
43-
// todo is this actually needed
44-
//MinHeightToProcess uint32 = 833_000
41+
SyncStartHeight uint32 = 842_579 // May 8, 2024, when BIP-352 was merged
4542

4643
Chain = Unknown
4744

0 commit comments

Comments
 (0)