Refine DNS AX documentation

This commit is contained in:
Virgil 2026-04-03 22:47:53 +00:00
parent 516f9e85fe
commit 13468eb06c
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ type ActionRegistrar interface {
// ActionCaller resolves named actions from another Core surface.
//
// payload, ok, err := caller.CallAction(context.Background(), "blockchain.chain.aliases", nil)
// aliases, ok, err := caller.CallAction(context.Background(), "blockchain.chain.aliases", map[string]any{})
type ActionCaller interface {
CallAction(ctx context.Context, name string, values map[string]any) (any, bool, error)
}

View file

@ -124,7 +124,7 @@ type Service struct {
// Records: map[string]dns.NameRecords{
// "gateway.charon.lthn": {A: []string{"10.10.10.10"}},
// },
// RecordTTL: 15 * time.Second,
// RecordTTL: 15 * time.Second,
// HSDURL: "http://127.0.0.1:14037",
// MainchainURL: "http://127.0.0.1:14037",
// })