AX compliance: config/file.go now uses core.Env() instead of os.Getenv(). os still imported for ReadFile (no core equivalent without c.Fs()). Honest AX debt remaining: - daemon/server.go: encoding/json + net/http (needs core/api migration) - daemon/wallet_rpc.go: encoding/json + net/http (same) - cmd_wallet.go: encoding/json + net/http (same) - chain/alias.go: strings (pure lib, acceptable per RFC-008 §8) - chain/blockdata.go: os (pure lib, no Core instance) The daemon is the biggest AX debt — 2300 lines of raw net/http that should use core/api. Tracked for core/api integration. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| config.go | ||
| config_test.go | ||
| file.go | ||
| file_test.go | ||
| hardfork.go | ||
| hardfork_activation_test.go | ||
| hardfork_test.go | ||