Documentation
¶
Overview ¶
Package autounlock defines wallet-password values and verified transition results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Outcome ¶
type Outcome string
Outcome is the classified end state of an auto-unlock change. Helper transport success means the root side finished observing and classifying the node; the outcome says whether the requested setting was applied, safely rolled back, or needs operator repair. Keeping these states structured prevents the TUI from parsing privileged error text.
type Password ¶
type Password struct {
// contains filtered or unexported fields
}
Password contains an exact wallet secret. Its zero value is invalid. This is independent of the operator login-password policy.
func NewPassword ¶
NewPassword validates the existing single-line, 512-byte helper contract. LND remains responsible for checking the password against the wallet.
type Result ¶
type Result struct {
Outcome Outcome `json:"outcome"`
FailedStep string `json:"failed_step,omitempty"`
Detail string `json:"detail,omitempty"`
}
Result carries no credential material. FailedStep is a bounded, operator-facing stage name for logs and the repair-required screen; Detail is used only for a safely classified retry state.