Stop storing last_chain_persist_height
authorGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Wed, 27 Mar 2024 11:18:31 +0000 (12:18 +0100)
committerGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Fri, 26 Apr 2024 23:02:20 +0000 (16:02 -0700)
commite084ab26e14acb33f162dda91ed427dc40e0a4a1
treefe4ec2e027ba7475383e0e17bfbef1ac38c50330
parentcb86399f2e61afb21e935d4084bc7fc0a6bf5afa
Stop storing last_chain_persist_height

We only used to store last_chain_persist_height to release
events held for more than LATENCY_GRACE_PERIOD_BLOCKS due to
pending monitor update with UpdateOrigin::ChainSync. Since we no
longer pause events for ChainSync persistence, we no longer need to
store last_chain_persist_height.
lightning/src/chain/chainmonitor.rs