lnrpc: remove remote_funding from OpenChannel, add push_sat

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.
This commit is contained in:
Olaoluwa Osuntokun 2017-01-09 19:00:21 -08:00
parent d7e3b090c5
commit c4d53f934f
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
1 changed files with 2 additions and 6 deletions

View File

@ -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 {