prepare to merge price api
This commit is contained in:
parent
56dc4fd9e3
commit
26cf0a6472
2 changed files with 9 additions and 2 deletions
|
|
@ -22,6 +22,13 @@ export let lastBlock: ILastBlock = {
|
|||
tx_id: '0000000000000000000000000000000000000000000000000000000000000000'
|
||||
}
|
||||
|
||||
export interface PriceData {
|
||||
price?: number;
|
||||
usd_24h_change?: number;
|
||||
lastUpdated?: string;
|
||||
}
|
||||
|
||||
|
||||
export interface State {
|
||||
countAliasesDB?: number;
|
||||
countAltBlocksDB?: number;
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ export const config = {
|
|||
},
|
||||
"enableVisibilityInfo": process.env.ENABLE_VISIBILITY_INFO === "true",
|
||||
"maxDaemonRequestCount": parseInt(process.env.MAX_DAEMON_REQUEST_COUNT || "", 10) || 1000,
|
||||
"trade_api_url": process.env.TRADE_API_URL,
|
||||
"matrix_api_url": process.env.MATRIX_API_URL
|
||||
"matrix_api_url": process.env.MATRIX_API_URL,
|
||||
"mexc_api_url": process.env.MEXC_API_URL
|
||||
}
|
||||
|
||||
export function log(msg: string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue