Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
sonarqube:
if: false # service unavailable — re-enable when SONAR_HOST_URL is restored
name: SonarQube Analysis
runs-on: ubuntu-latest

Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ __debug_bin
vendor/

# Internal team references
docs/SONARQUBE_SETUP_GUIDE.md
docs/SONARQUBE_SETUP_GUIDE.md
jmdn.yaml
internal/WAL/.tmp/*
.claude/*
.code-review-graph/*
.cursor/*
7 changes: 3 additions & 4 deletions AVC/BLS/bls-sign/bls-sgin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"sync"
Expand Down Expand Up @@ -97,7 +96,7 @@ func GenerateBLSKeyPair() ([]byte, []byte, error) {
PubKey string `json:"bls_pub"`
}

if data, err := ioutil.ReadFile(config.BLSFile); err == nil {
if data, err := os.ReadFile(config.BLSFile); err == nil {
var bf blsFile
if err := json.Unmarshal(data, &bf); err == nil && bf.PrivKey != "" && bf.PubKey != "" {
if priv, err := base64.StdEncoding.DecodeString(bf.PrivKey); err == nil {
Expand Down Expand Up @@ -128,7 +127,7 @@ func GenerateBLSKeyPair() ([]byte, []byte, error) {
PeerID string `json:"peer_id"`
}
var pf peerFile
if pdata, err := ioutil.ReadFile(config.PeerFile); err == nil {
if pdata, err := os.ReadFile(config.PeerFile); err == nil {
_ = json.Unmarshal(pdata, &pf)
}

Expand All @@ -138,7 +137,7 @@ func GenerateBLSKeyPair() ([]byte, []byte, error) {
PubKey: base64.StdEncoding.EncodeToString(pubBytes),
}
if out, err := json.MarshalIndent(bf, "", " "); err == nil {
_ = ioutil.WriteFile(config.BLSFile, out, 0o600)
_ = os.WriteFile(config.BLSFile, out, 0o600)
}

return privBytes, pubBytes, nil
Expand Down
110 changes: 0 additions & 110 deletions AVC/BuddyNodes/CRDTSync/IMPLEMENTATION_COMPLETE.md

This file was deleted.

Loading
Loading