Merge pull request #10469 from Roasbeef/lnwire-timestamp-validation

lnwire: enforce non-zero timestamp in gossip messages
This commit is contained in:
ziggieXXX authored and GitHub committed 2026-01-12 13:57:12 +01:00
commit 7bbf26c0e2
3 files changed
+115

No files matched your search

@@ -107,6 +107,12 @@
# Technical and Architectural Updates
## BOLT Spec Updates
* [Enforce non-zero timestamps](https://github.com/lightningnetwork/lnd/pull/10469)
for `channel_update` (as required by BOLT 7) and `node_announcement` messages.
Gossip messages with zero timestamps are now rejected. For `channel_update`
messages, remote peers sending such invalid messages will have their ban score
incremented.
## Testing
## Database