]> git.bitcoin.ninja Git - rust-lightning/commit
Call OnionMessageHandler::timer_tick_occurred
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 16 Nov 2023 16:21:12 +0000 (10:21 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 6 Dec 2023 20:43:39 +0000 (14:43 -0600)
commite25af3eb01f3bbf4d2c460a45a2aad93e5a948e5
treef149403a5a1879ac26d29a971a24730099106e0f
parent6ca81ff2bbddaf946251ce9f15cc69526d228ceb
Call OnionMessageHandler::timer_tick_occurred

lightning-background-processor processes events provided by the
PeerManager's OnionMessageHandler for when a connection is needed. If a
connection is not established in a reasonable amount of time, drop any
buffered onion messages by calling timer_tick_occurred.
lightning-background-processor/src/lib.rs