lnd.xprv/rpcprotos/rpc.proto
Olaoluwa Osuntokun 1acc528bda rpcprotos: switch amount in sendmany from uint64 to int64
* In order to be compatible with btcutil.Amount
2015-12-29 17:08:04 -06:00

22 lines
401 B
Protocol Buffer

syntax = "proto3";
package lnrpc;
service LightningServer {
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;
}