Revert "Revert "connection_status is dead, long live connected""

This reverts commit f449d7916c.
This commit is contained in:
Sean Yesmunt 2021-03-15 15:40:55 -04:00 committed by GitHub
parent d91ec1773c
commit 474b425545
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,