fix: 2026-06-04 audit pass — README, USB pack, multi-area fixes
WS ticket dashboard auth, builder universal signing/size limits/fusion obfuscation/dropper bundles, Path Tracer WireGuard topology, SessionGate degraded mode and download timeouts, server bootstrap (data dir, cloudflared dedupe, config port precedence), agent mesh/miner/spread fixes. README refreshed; usb bundle repacked; PROBLEMS.md audit log updated.
This commit is contained in:
@@ -37,6 +37,14 @@ func TestPoolKeyDistinct(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestPoolKeyPaymentID(t *testing.T) {
|
||||
a := poolKey(&Config{Host: "a.com", Port: 3333, Wallet: "w1", PaymentID: "pid1"})
|
||||
b := poolKey(&Config{Host: "a.com", Port: 3333, Wallet: "w1", PaymentID: "pid2"})
|
||||
if a == b {
|
||||
t.Fatal("payment id should affect pool key")
|
||||
}
|
||||
}
|
||||
|
||||
func TestTruncateWallet(t *testing.T) {
|
||||
if truncateWallet("short", 12) != "short" {
|
||||
t.Fatal("short wallet unchanged")
|
||||
|
||||
Reference in New Issue
Block a user