walletrpc: parameterize output lease duration

This commit is contained in:
Joost Jager
2021-03-12 12:30:21 +01:00
parent 5ba0f8e355
commit 927f17be32
4 changed files with 141 additions and 115 deletions

View File

@@ -189,6 +189,10 @@ message LeaseOutputRequest {
// The identifying outpoint of the output being leased.
lnrpc.OutPoint outpoint = 2;
// The time in seconds before the lock expires. If set to zero, the default
// lock duration is used.
uint64 expiration_seconds = 3;
}
message LeaseOutputResponse {