go-blockchain/rpc
Snider 71f0a5c1d5
Some checks failed
Security Scan / security (push) Successful in 11s
Test / Test (push) Failing after 23s
refactor: replace fmt.Errorf/os.* with go-io/go-log conventions
Replace all fmt.Errorf and errors.New in production code with
coreerr.E("Caller.Method", "message", err) from go-log. Replace
os.MkdirAll with coreio.Local.EnsureDir from go-io. Sentinel errors
(consensus/errors.go, wire/varint.go) intentionally kept as errors.New
for errors.Is compatibility.

270 error call sites converted across 38 files. Test files untouched.
crypto/ directory (CGO) untouched.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 21:17:49 +00:00
..
blocks.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
blocks_test.go feat(rpc): block header and block details endpoints 2026-02-20 21:09:40 +00:00
client.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
client_test.go feat(rpc): JSON-RPC 2.0 client transport and response types 2026-02-20 21:07:16 +00:00
info.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
info_test.go feat(rpc): GetInfo, GetHeight, GetBlockCount endpoints 2026-02-20 21:09:34 +00:00
integration_test.go test(rpc): integration test against C++ testnet daemon 2026-02-20 21:14:36 +00:00
mining.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
mining_test.go feat(rpc): add GetBlockTemplate endpoint 2026-02-21 02:01:12 +00:00
transactions.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
transactions_test.go feat(rpc): transaction detail and bulk fetch endpoints 2026-02-20 21:11:40 +00:00
types.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
wallet.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:17:49 +00:00
wallet_test.go feat(rpc): add GetRandomOutputs and SendRawTransaction endpoints 2026-02-20 23:07:00 +00:00