scrub Liquidity branding + corona→corona (OSS brand hygiene)

This commit is contained in:
2026-06-11 00:22:24 -07:00
parent 7eb77a4d6d
commit bcacf3e87c
6 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -1084,7 +1084,7 @@ func (r *CoronaEngine) Verify(msg []byte, sig []byte, pk []byte) bool {
}
```
**Impact**: Security NOT production-ready. Needs integration with actual Corona implementation from `/Users/z/work/lux/threshold/protocols/corona/`.
**Impact**: Security NOT production-ready. Needs integration with the actual Corona threshold implementation (`github.com/luxfi/corona`).
**Issue 2: Missing Network Layer Integration** ❌
```go
@@ -1722,7 +1722,7 @@ Total Finality Time = 50ms
- Peer management and health checking
- Retransmission and timeout logic
2. **Integrate Corona crypto** from `/Users/z/work/lux/threshold/`:
2. **Integrate Corona crypto** from `github.com/luxfi/corona`:
- Replace mock Sign() and Verify() implementations
- Test quantum certificate generation end-to-end
- Benchmark signature performance (target: <1ms)
@@ -1981,7 +1981,7 @@ go test -v ./pkg/gateway/...
Unified swap routing across on-chain V4 pools and off-chain broker venues. This package implements a Uniswap-style Trading API that aggregates liquidity from multiple sources — native DEX precompiles, V2/V3 AMM routers, and the Lux Broker REST API — returning the best-price quote to the caller. All endpoints are `net/http` handlers mounted on a standard `http.ServeMux` (Go 1.22+ method routing).
The package is consumed directly by the Liquidity ATS (`~/work/liquidity/ats/`) for its exchange trading API.
The package is consumed directly by a regulated securities ATS for its exchange trading API.
### Constructor
@@ -2064,7 +2064,7 @@ ABI encoding for the LXRouter precompile at `0x000000000000000000000000000000000
### Usage by ATS
The Liquidity ATS imports the trading package and wires it with venue instances:
A regulated securities ATS imports the trading package and wires it with venue instances:
```go
import "github.com/luxfi/dex/pkg/trading"
+1 -1
View File
@@ -170,7 +170,7 @@ Lux Consensus is our novel DAG-based consensus protocol featuring Fast Probabili
We implement a hybrid cryptographic scheme combining:
\begin{itemize}
\item \textbf{Corona}: Post-quantum lattice-based signatures
\item \textbf{Corona}: Post-quantum lattice-based threshold signatures (Lux production fork of the two-round Corona construction, IACR ePrint 2024/1113)
\item \textbf{BLS}: Efficient signature aggregation
\item \textbf{Quasar}: Dual-certificate protocol for faster finality
\end{itemize}
+4 -4
View File
@@ -316,7 +316,7 @@ type VoteState struct {
type QuantumCertificate struct {
VertexID ID
BLSSignature *Signature
CoronaCert []byte
CoronaCert []byte
Timestamp time.Time
Height uint64
VoteThreshold float64
@@ -359,7 +359,7 @@ type LuxDAGOrderBook struct {
*DAGOrderBook
luxConfig LuxConsensusConfig
blsKey *SecretKey
corona *CoronaEngine
corona *CoronaEngine
quasar *Quasar
votes map[ID]*VoteState
precomputed map[ID][]byte
@@ -412,7 +412,7 @@ func NewDAGOrderBook(nodeID, symbol string) (*LuxDAGOrderBook, error) {
TimeWindow: 30 * time.Second,
},
blsKey: blsKey,
corona: corona,
corona: corona,
quasar: quasar,
votes: make(map[ID]*VoteState),
voteCache: make(map[ID]map[string]bool),
@@ -629,7 +629,7 @@ func (lux *LuxDAGOrderBook) generateQuantumCertificate(id ID, vertex *OrderVerte
return &QuantumCertificate{
VertexID: id,
BLSSignature: blsSig,
CoronaCert: []byte("mock-corona-cert"),
CoronaCert: []byte("mock-corona-cert"),
Timestamp: time.Now(),
Height: vertex.Height,
VoteThreshold: lux.voteThreshold,
+2 -2
View File
@@ -596,7 +596,7 @@ func TestLuxDAGOrderBookProcessRemoteVertex(t *testing.T) {
cert := &QuantumCertificate{
VertexID: vertex.ID,
BLSSignature: &Signature{Data: []byte("test")},
CoronaCert: []byte("cert"),
CoronaCert: []byte("cert"),
Height: 1,
VoteThreshold: 0.55,
}
@@ -869,7 +869,7 @@ func TestQuantumCertificateFields(t *testing.T) {
cert := &QuantumCertificate{
VertexID: id,
BLSSignature: &Signature{Data: []byte("sig")},
CoronaCert: []byte("corona"),
CoronaCert: []byte("corona"),
Timestamp: time.Now(),
Height: 5,
VoteThreshold: 0.67,
+1 -1
View File
@@ -4,7 +4,7 @@ import "encoding/json"
// Uniswap Trading API-compatible types.
// These match the request/response shapes of https://trade-api.gateway.uniswap.org/v1
// so the Liquidity Exchange frontend can talk to the LXD gateway using the same
// so a downstream exchange frontend can talk to the LXD gateway using the same
// client code it uses for Uniswap.
// UniQuoteRequest is the Uniswap-compatible quote request body.
+1 -1
View File
@@ -54,7 +54,7 @@ const (
)
// V4Venue quotes from V4 pools via the DEX precompile (LXRouter at 0x9012).
// In production this would call the Liquidity EVM RPC. The current implementation
// In production this would call the tenant EVM RPC. The current implementation
// uses a deterministic pricing model for the mock backend.
type V4Venue struct {
rpcURL string