Take the full funding transaction from the user on generation 2021-03-check-tx
authorMatt Corallo <git@bluematt.me>
Fri, 26 Mar 2021 22:07:24 +0000 (18:07 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 9 Apr 2021 23:59:06 +0000 (19:59 -0400)
commit3f2efcdfa73ee703093107f908cc7eeb0aa467e8
tree771b63658941811502ea9d6272db44da5a107497
parentfe8569638ca8ed014db29a2f48d14c40d1a60d09
Take the full funding transaction from the user on generation

Instead of relying on the user to ensure the funding transaction is
correct (and panicing when it is confirmed), we should check it is
correct when it is generated. By taking the full funding transaciton
from the user on generation, we can also handle broadcasting for
them instead of doing so via an event.
background-processor/src/lib.rs
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/events.rs