Commit graph

3 commits

Author SHA1 Message Date
Claude
46ed9a1204
test: close audit gaps — HSD client, config, genesis, daemon tests
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run
hsd/client_test.go: 5 integration tests (blockchain info, name resource,
  not found, height, wrong URL)
config/file_test.go: 4 unit tests (defaults, IsTestnet, ToChainConfig, env)
chain/genesis_test.go: DetectNetwork for mainnet/testnet/unknown
daemon/server_test.go: 8 unit tests with nil-meta fix

Closing gaps found in honest audit. 15/15 packages pass.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 03:18:36 +01:00
Claude
3cdaaad07e
docs(hsd): note staging location — moves to go-lns when created
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run
Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 01:42:41 +01:00
Claude
9f6eed5ff3
feat(hsd): add HSD sidechain RPC client
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run
New package: dappco.re/go/core/blockchain/hsd

Typed client for HSD (Handshake) sidechain:
  GetBlockchainInfo() — tree root for cache invalidation
  GetNameResource(name) — DNS records (GLUE4, GLUE6, TXT, NS, DS)
  GetHeight() — sidechain block height

Tested against live sidechain: fetches charon.lthn records
(A: 10.69.69.165, TXT: v=lthn1 type=gateway cap=vpn,dns,proxy)

Shared client for go-lns, zone-cache, and Bob Wallet.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 01:41:09 +01:00