]> git.bitcoin.ninja Git - rust-lightning/commit
Use block timestamps as the min for generated update messages.
authorMatt Corallo <git@bluematt.me>
Tue, 25 Feb 2020 18:32:13 +0000 (13:32 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Mar 2020 04:26:16 +0000 (23:26 -0500)
commit122b75eac7b1c68ac6cc1fe4dc23fad8ac2389c0
treee5aecb2bc726ed187fa1f241c9d4eff1e1266206
parent551c6f44853a71c49f5c1dcbef9a414fbeebcc31
Use block timestamps as the min for generated update messages.

Fixes issue #493 and should resolve some issues where other nodes
(incorrectly) reject channel_update/node_announcement messages
which have a serial number that is not a relatively recent
timestamp.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs