mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-17 13:24:49 -07:00
cargo: update
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -1198,18 +1198,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "4.5.45"
|
||||
version = "4.5.46"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318"
|
||||
checksum = "2c5e4fcf9c21d2e544ca1ee9d8552de13019a42aa7dbf32747fa7aaf1df76e57"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.5.44"
|
||||
version = "4.5.46"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8"
|
||||
checksum = "fecb53a0e6fcfb055f686001bc2e2592fa527efaf38dbe81a6a9563562e57d41"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
|
||||
@@ -20,7 +20,7 @@ brk_logger = { workspace = true }
|
||||
brk_parser = { workspace = true }
|
||||
brk_server = { workspace = true }
|
||||
vecdb = { workspace = true }
|
||||
clap = { version = "4.5.45", features = ["string"] }
|
||||
clap = { version = "4.5.46", features = ["string"] }
|
||||
clap_derive = "4.5.45"
|
||||
color-eyre = "0.6.5"
|
||||
log = { workspace = true }
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
chartOptions,
|
||||
);
|
||||
|
||||
const baseURL = "https://bitview.space/api";
|
||||
|
||||
const minDate = "2022-11-09";
|
||||
// const minDate = "2023-11-09";
|
||||
|
||||
let dates = await (
|
||||
await fetch(
|
||||
"https://next.bitray.xyz/api/vecs/dateindex-to-date?from=-10000",
|
||||
)
|
||||
await fetch(`${baseURL}/vecs/dateindex-to-date?from=-10000`)
|
||||
).json();
|
||||
let i = 0;
|
||||
console.log(
|
||||
@@ -54,9 +54,7 @@
|
||||
const from = dates.length;
|
||||
|
||||
const ohlcs = await (
|
||||
await fetch(
|
||||
`https://next.bitray.xyz/api/vecs/dateindex-to-ohlc?from=-${from}`,
|
||||
)
|
||||
await fetch(`${baseURL}/vecs/dateindex-to-ohlc?from=-${from}`)
|
||||
).json();
|
||||
|
||||
chart.addSeries(lc.CandlestickSeries, {}, 0).setData(
|
||||
@@ -74,7 +72,7 @@
|
||||
const sopr = (
|
||||
await (
|
||||
await fetch(
|
||||
`https://next.bitray.xyz/api/vecs/dateindex-to-utxos-up-to-${cohort}-old-spent-output-profit-ratio?from=-${from}`,
|
||||
`${baseURL}/vecs/dateindex-to-utxos-up-to-${cohort}-old-spent-output-profit-ratio?from=-${from}`,
|
||||
)
|
||||
).json()
|
||||
).map((v) => v - 1);
|
||||
|
||||
@@ -3824,7 +3824,7 @@ function createPartialOptions({ env, colors, vecIdToIndexes }) {
|
||||
tree: [
|
||||
{
|
||||
name: "Status",
|
||||
url: () => "https://status.bitcoinresearchkit.org/",
|
||||
url: () => "https://status.bitview.space/",
|
||||
},
|
||||
{
|
||||
name: "Self",
|
||||
|
||||
Reference in New Issue
Block a user