Revert "connection_status is dead, long live connected"

This reverts commit 74ab5bbf84.
This commit is contained in:
Sean Yesmunt 2021-03-15 13:55:46 -04:00 committed by GitHub
parent 87e67aa714
commit ac65936dd0
2 changed files with 8 additions and 2 deletions

View file

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

5
flow-typed/Lbry.js vendored
View file

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