lnrpc: add create_missing_edge flag

This commit is contained in:
Jesse de Wit
2024-07-02 11:30:12 +02:00
parent 4f6b510869
commit f1299fdd57
3 changed files with 32 additions and 1 deletions

View File

@@ -4558,6 +4558,15 @@ message PolicyUpdateRequest {
// Optional inbound fee. If unset, the previously set value will be
// retained [EXPERIMENTAL].
InboundFee inbound_fee = 10;
// Under unknown circumstances a channel can exist with a missing edge in
// the graph database. This can cause an 'edge not found' error when calling
// `getchaninfo` and/or cause the default channel policy to be used during
// forwards. Setting this flag will recreate the edge if not found, allowing
// updating this channel policy and fixing the missing edge problem for this
// channel permanently. For fields not set in this command, the default
// policy will be created.
bool create_missing_edge = 11;
}
enum UpdateFailure {