This commit is a straightforward internal code cleanup in LND's channel database code. It converts a few helper methods that were attached to the OpenChannel type into plain package-level functions. There are no user-facing changes, no bug…
This commit adds temporary getter and setter helper methods to access two internal fields of an open Lightning channel (channel status and confirmed short channel ID). The helpers intentionally skip the normal mutex lock because they are m…
New unsynchronized accessors bypass existing mutex-protected equivalents (ChanStatus, ApplyChanStatus, ClearChanStatus, ZeroConfRealScid)Commit message and comments explicitly frame the change as a transitional migration hook, not a security fixNo input validation added around the setter methods
This commit is a straightforward internal code reorganization: it moves some data types and helper functions related to forwarding packages from one package (channeldb) to another (chanstate), while keeping aliases in the original package …
This commit is a straightforward internal code reorganization. It moves the database logic for advancing a Lightning channel's commitment chain from one object (OpenChannel) to another (ChannelStateDB) and adds the corresponding method to …
This commit is a straightforward internal code reorganization. It moves the logic for loading, acknowledging, and removing HTLC forwarding packages from the OpenChannel type to a new ChannelStateDB store interface. The actual database oper…
This commit is a straightforward internal code reorganization. It moves the database-reading logic for three channel-state queries from the OpenChannel object to a new ChannelStateDB helper, and adds matching method declarations to an inte…
This commit is a straightforward internal code reorganization in LND's channel database. It moves two existing database-read helpers from the OpenChannel type to the ChannelStateDB type, leaving thin wrapper methods behind. There is no cha…
This commit is a simple code reorganization: it moves a data type called LogUpdate from one internal package (channeldb) to another (chanstate), and creates a type alias so existing code can still use the old name. There is no change to be…
This commit is a straightforward internal code reorganization. It moves the existing logic for saving channel commitment updates from one place in the code to another, without changing what the logic actually does. There is no user-facing …
This commit is a straightforward internal code reorganization. It moves the definitions of CommitDiff, AddRef, and SettleFailRef from the channeldb package to a new chanstate package, and creates type aliases in channeldb so existing code …
This commit is a straightforward internal code reorganization. It moves the existing logic for saving a new remote commitment-chain update from one place in the code to another, without changing what the logic actually does. There is no us…
This commit is a straightforward internal code reorganization. It moves three read-only database lookup methods from the OpenChannel type to the ChannelStateDB type, and adds matching method declarations to an interface. The actual databas…
A quiet fix may be responsible caution—or it may leave users unaware that their assets were ever at risk. CommitWatch preserves the evidence, adds context, and tracks whether vendors disclose, acknowledge, and learn.