Add transparent txns

This commit is contained in:
Aditya Kulkarni
2019-09-13 16:02:58 -07:00
parent 7644852fc6
commit d36126ba9d
4 changed files with 220 additions and 43 deletions

View File

@@ -52,6 +52,11 @@ message TransparentAddress {
string address = 1;
}
message TransparentAddressBlockFilter {
string address = 1;
BlockRange range = 2;
}
message Utxo {
TransparentAddress address = 1;
bytes txid = 2;
@@ -73,6 +78,7 @@ service CompactTxStreamer {
// t-Address support
rpc GetUtxos(TransparentAddress) returns (stream Utxo) {}
rpc GetAddressTxids(TransparentAddressBlockFilter) returns (stream RawTransaction) {}
// Misc
rpc GetLightdInfo(Empty) returns (LightdInfo) {}