Fetch consensusBranchId from server

This commit is contained in:
Aditya Kulkarni
2019-09-25 17:45:25 -07:00
parent 3479dc345a
commit c1432a3810
4 changed files with 19 additions and 41 deletions

View File

@@ -50,6 +50,7 @@ message LightdInfo {
bool taddrSupport = 3;
string chainName = 4;
uint64 saplingActivationHeight = 5;
string consensusBranchId = 6; // This should really be u32 or []byte, but string for readability
}
message TransparentAddress {
@@ -61,15 +62,6 @@ message TransparentAddressBlockFilter {
BlockRange range = 2;
}
message Utxo {
TransparentAddress address = 1;
bytes txid = 2;
uint64 outputIndex = 3;
bytes script = 4;
uint64 value = 5;
uint64 height = 6;
}
service CompactTxStreamer {
// Compact Blocks
rpc GetLatestBlock(ChainSpec) returns (BlockID) {}
@@ -81,7 +73,6 @@ service CompactTxStreamer {
rpc SendTransaction(RawTransaction) returns (SendResponse) {}
// t-Address support
rpc GetUtxos(TransparentAddress) returns (stream Utxo) {}
rpc GetAddressTxids(TransparentAddressBlockFilter) returns (stream RawTransaction) {}
// Misc