lnd.xprv/chanacceptor
carla 5679dde1bc
multi: add channel open parameters to channel acceptor
Add more fields to channel acceptor response so that users can have more
fine grained control over their incoming channels. With our chained
acceptor, it is possible that we get inconsistent responses from
multiple chained acceptors. We create a conjugate repsponse from all the
set fields in our various responses, but fail if we get different, non-
zero responses from our various acceptors. Separate merge functions are
used per type so that we avoid unexpected outcomes comparing interfaces
(panic on comparing types that aren't comparable), with casting used
where applicable to avoid code duplication.
2020-11-10 21:09:10 +02:00
..
acceptor_test.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
chainedacceptor.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
errors.go multi: add custom error messages to channel acceptor 2020-11-10 11:38:47 +02:00
interface.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
log.go multi: move channel acceptor logic out of rpcserver 2020-11-10 11:38:45 +02:00
merge_test.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
merge.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
rpcacceptor_test.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00
rpcacceptor.go multi: add channel open parameters to channel acceptor 2020-11-10 21:09:10 +02:00