connection_status is dead, long live connected

This commit is contained in:
Victor Shyba 2021-03-14 17:01:26 -03:00 committed by Sean Yesmunt
parent bf728f8716
commit 74ab5bbf84
2 changed files with 2 additions and 8 deletions

View file

@ -7,10 +7,6 @@ declare type StatusResponse = {
download_progress: number, download_progress: number,
downloading_headers: boolean, downloading_headers: boolean,
}, },
connection_status: {
code: string,
message: string,
},
dht: { dht: {
node_id: string, node_id: string,
peers_in_routing_table: number, peers_in_routing_table: number,
@ -45,6 +41,7 @@ declare type StatusResponse = {
redirects: {}, redirects: {},
}, },
wallet: ?{ wallet: ?{
connected: string,
best_blockhash: string, best_blockhash: string,
blocks: number, blocks: number,
blocks_behind: number, blocks_behind: number,

5
flow-typed/Lbry.js vendored
View file

@ -7,10 +7,6 @@ declare type StatusResponse = {
download_progress: number, download_progress: number,
downloading_headers: boolean, downloading_headers: boolean,
}, },
connection_status: {
code: string,
message: string,
},
dht: { dht: {
node_id: string, node_id: string,
peers_in_routing_table: number, peers_in_routing_table: number,
@ -45,6 +41,7 @@ declare type StatusResponse = {
redirects: {}, redirects: {},
}, },
wallet: ?{ wallet: ?{
connected: string,
best_blockhash: string, best_blockhash: string,
blocks: number, blocks: number,
blocks_behind: number, blocks_behind: number,