Revert "Revert "connection_status is dead, long live connected""
This reverts commit f449d7916c
.
This commit is contained in:
parent
d91ec1773c
commit
d75e7725fe
2 changed files with 2 additions and 8 deletions
5
dist/flow-typed/Lbry.js
vendored
5
dist/flow-typed/Lbry.js
vendored
|
@ -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
5
flow-typed/Lbry.js
vendored
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue