Skip to content

Tags: luxfi/consensus

Tags

v1.22.41

Toggle v1.22.41's commit message
fix: use crypto/bls instead of node/utils/crypto/bls

v1.22.40

Toggle v1.22.40's commit message
chore: upgrade lattice to v6.1.2

Fix checksum consistency issues by using the latest lattice version.

v1.22.39

Toggle v1.22.39's commit message
refactor(context): simplify Context struct

- Remove PrimaryNetworkID field (NetworkID == 1 means primary network)
- Remove LUXAssetID (use XAssetID for X-chain native asset)
- Replace GetPrimaryNetworkID with IsPrimaryNetwork
- NetworkID: 1=mainnet, 2=testnet

v1.22.38

Toggle v1.22.38's commit message
refactor: rename NetID to PrimaryNetworkID, simplify NetworkID

- NetworkID is now uint32 (1=mainnet, 2=testnet, EVM: 96369/96368)
- PrimaryNetworkID is ids.ID for primary network detection
- Remove QuantumID, SubnetID aliases for clarity
- Update all helper functions and tests

v1.22.37

Toggle v1.22.37's commit message
deps: upgrade crypto to v1.17.25

v1.22.36

Toggle v1.22.36's commit message
feat(quasar): add epoch, quantum block, and grouped threshold support

- Add epoch.go for epoch-based consensus timing
- Add quantum_block.go for quantum-resistant block structures
- Add grouped_threshold.go for grouped threshold voting
- Add quasar.go as main protocol entry point
- Add dual_threshold_test.go for dual threshold testing
- Update core.go with improved consensus logic
- Remove deprecated hybrid.go
- Fix engine.Start bool parameter in tests

v1.22.35

Toggle v1.22.35's commit message
feat(engine): add Engine interface compatibility methods

- Add StopWithError method for graceful shutdown with errors
- Add Context method to expose engine context
- Change Start signature from (ctx, uint32) to (ctx, bool)
- Add StartWithID for backward compatibility with uint32 request ID

v1.22.34

Toggle v1.22.34's commit message
fix: use valid Go version 1.23 in go.mod

v1.22.33

Toggle v1.22.33's commit message
chore(deps): remove local replaces, update ringtail to v0.1.1

- Remove local replace directives for ringtail and crypto
- Update ringtail to published v0.1.1 with threshold package

v1.22.32

Toggle v1.22.32's commit message
Simplify AppSender to p2p.Sender alias

- Rename State interface to BlockState for clarity
- AppSender is now just an alias for p2p.Sender
- Update test for BlockState interface compliance