mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-08-01 12:51:28 +00:00
Fetch consensusBranchId from server
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user