lnd/rpcprotos/rpc.proto
Olaoluwa Osuntokun 02aa54f127 rpcprotos: rename service so it shows up as LightningServer
* Previously would compile as LightningServerServer…
2015-12-29 17:21:27 -06:00

21 lines
395 B
Protocol Buffer

syntax = "proto3";
package lnrpc;
service Lightning {
rpc SendMany(SendManyRequest) returns (SendManyResponse);
rpc NewAddress(NewAddressRequest) returns (NewAddressResponse);
}
message SendManyRequest {
map<string, int64> AddrToAmount = 1;
}
message SendManyResponse {
string txid = 1;
}
message NewAddressRequest {}
message NewAddressResponse {
string address = 1;
}