pickhardtpayments icon indicating copy to clipboard operation
pickhardtpayments copied to clipboard

create Channel in opposite direction, if not exists

Open sebulino opened this issue 3 years ago • 0 comments

It's possible that in the Channel Graph there's only information about one channel and information about its return channel is missing. Consequently they are currently not created in the UncertaintyNetwork (and possibly the OracleNetwork).

For the UncertaintyNetwork we still have enough information to create the return channel with a good enough estimate. Thus we should create them if needed. This could be done in the constructor or when the getter is called and would return none.

sebulino avatar Jul 04 '22 15:07 sebulino