5679dde1bc
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. |
||
---|---|---|
.. | ||
acceptor_test.go | ||
chainedacceptor.go | ||
errors.go | ||
interface.go | ||
log.go | ||
merge_test.go | ||
merge.go | ||
rpcacceptor_test.go | ||
rpcacceptor.go |