Drop system clock calls for PendingHTLCsForwardable events. 2019-07-no-instant
authorMatt Corallo <git@bluematt.me>
Thu, 18 Jul 2019 22:13:28 +0000 (18:13 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 18 Jul 2019 22:15:02 +0000 (18:15 -0400)
commite2a9ed7265680cc821f29860264c7f4d53e044b9
tree89b4e9b1bf0b41157e557bde2f67cdd2b534b155
parent0dfd20bf52354cc7e6e0290e28cb93ab4a743352
Drop system clock calls for PendingHTLCsForwardable events.

Instead, return a Duration and let the user do the work of waiting.
This is one of only a handful of steps to make us
mostly-syscall-free, at least enough to run in WASM according to
elichai.
src/ln/chanmon_update_fail_tests.rs
src/ln/channelmanager.rs
src/ln/functional_test_utils.rs
src/ln/functional_tests.rs
src/util/events.rs