Rebased onto master (v0.1.2, the deployed crash fix), so this branch now carries only the RPC transport work. Bump so the deployed version stays readable from off-box via GetLightdInfo -- the same check that verified the 0.1.2 rollout node by node. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FU87LdsJZiZkfq1eXubpeo
15 lines
629 B
Go
15 lines
629 B
Go
package common
|
|
|
|
// Version is the single source of truth for this daemon's version.
|
|
//
|
|
// It was previously duplicated as a literal in two places that could drift:
|
|
// cmd/server/main.go's --version output and the Version field of the LightdInfo
|
|
// gRPC reply in frontend/service.go. The gRPC one is the load-bearing copy --
|
|
// it is walletrpc/service.proto:48, so every client and every operator probe
|
|
// reads it, and it is the only way to tell from off-box which build a node is
|
|
// running.
|
|
const Version = "0.1.3"
|
|
|
|
// VersionString is what GetLightdInfo advertises to clients.
|
|
const VersionString = Version + "-dragonxlightd"
|