File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 423423 ` lnutils.ContextFromQuit ` helper bridges the existing ` quit ` channels to
424424 ` context.Context ` , so all gossip awaits now respect shutdown uniformly.
425425
426+ * [ Added ` SingletonRef ` to the ` actor `
427+ package] ( https://github.com/lightningnetwork/lnd/pull/10759 ) for service
428+ keys that are expected to have at most one registered actor.
429+ ` ServiceKey.SpawnSingleton ` and ` ServiceKey.Singleton ` give spawners and
430+ consumers a direct, type-safe path to a single-actor service, replacing
431+ the ` Router + RoundRobinStrategy ` pattern previously needed to front a
432+ singleton. ` SingletonRef ` tolerates transient double-registration by
433+ logging the invariant violation and using the first registered actor, so
434+ the system stays functional through brief registration races.
435+
426436## Tooling and Documentation
427437
428438* [ Added missing ` lncli: ` tags] ( https://github.com/lightningnetwork/lnd/pull/10658 )
You can’t perform that action at this time.
0 commit comments