From c4d53f934f18348e63ce33c7f0770f0fa452454f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 9 Jan 2017 19:00:21 -0800 Subject: [PATCH] lnrpc: remove remote_funding from OpenChannel, add push_sat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit removes the remote_funding field from the OpenChannel message as dual funding channels aren’t yet supported at the wire level within the spec (although the daemon is able to handle them properly). In place we now add the ‘push_sat’ field which allows the initiator to push over a certain amount to the responder as part of the initial state. --- lnrpc/rpc.proto | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index c2a179ed1..598673218 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -336,17 +336,13 @@ message PendingUpdate { message OpenChannelRequest { int32 target_peer_id = 1; - bytes node_pubkey = 2; - string node_pubkey_string = 3; int64 local_funding_amount = 4; - int64 remote_funding_amount = 5; + int64 push_sat = 5; - int64 commission_size = 6; - - uint32 num_confs = 7; + uint32 num_confs = 6; } message OpenStatusUpdate { oneof update {