mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-15 20:34:49 -07:00
477 lines
30 KiB
JavaScript
477 lines
30 KiB
JavaScript
//
|
|
// File auto-generated, any modifications will be overwritten
|
|
//
|
|
|
|
/** @typedef {0} DateIndex */
|
|
/** @typedef {1} DecadeIndex */
|
|
/** @typedef {2} DifficultyEpoch */
|
|
/** @typedef {3} EmptyOutputIndex */
|
|
/** @typedef {4} HalvingEpoch */
|
|
/** @typedef {5} Height */
|
|
/** @typedef {6} InputIndex */
|
|
/** @typedef {7} MonthIndex */
|
|
/** @typedef {8} OpReturnIndex */
|
|
/** @typedef {9} OutputIndex */
|
|
/** @typedef {10} P2AIndex */
|
|
/** @typedef {11} P2MSIndex */
|
|
/** @typedef {12} P2PK33Index */
|
|
/** @typedef {13} P2PK65Index */
|
|
/** @typedef {14} P2PKHIndex */
|
|
/** @typedef {15} P2SHIndex */
|
|
/** @typedef {16} P2TRIndex */
|
|
/** @typedef {17} P2WPKHIndex */
|
|
/** @typedef {18} P2WSHIndex */
|
|
/** @typedef {19} QuarterIndex */
|
|
/** @typedef {20} TxIndex */
|
|
/** @typedef {21} UnknownOutputIndex */
|
|
/** @typedef {22} WeekIndex */
|
|
/** @typedef {23} YearIndex */
|
|
|
|
/** @typedef {DateIndex | DecadeIndex | DifficultyEpoch | EmptyOutputIndex | HalvingEpoch | Height | InputIndex | MonthIndex | OpReturnIndex | OutputIndex | P2AIndex | P2MSIndex | P2PK33Index | P2PK65Index | P2PKHIndex | P2SHIndex | P2TRIndex | P2WPKHIndex | P2WSHIndex | QuarterIndex | TxIndex | UnknownOutputIndex | WeekIndex | YearIndex} Index */
|
|
|
|
export function createVecIdToIndexes() {
|
|
const DateIndex = /** @satisfies {DateIndex} */ (0);
|
|
const DecadeIndex = /** @satisfies {DecadeIndex} */ (1);
|
|
const DifficultyEpoch = /** @satisfies {DifficultyEpoch} */ (2);
|
|
const EmptyOutputIndex = /** @satisfies {EmptyOutputIndex} */ (3);
|
|
const HalvingEpoch = /** @satisfies {HalvingEpoch} */ (4);
|
|
const Height = /** @satisfies {Height} */ (5);
|
|
const InputIndex = /** @satisfies {InputIndex} */ (6);
|
|
const MonthIndex = /** @satisfies {MonthIndex} */ (7);
|
|
const OpReturnIndex = /** @satisfies {OpReturnIndex} */ (8);
|
|
const OutputIndex = /** @satisfies {OutputIndex} */ (9);
|
|
const P2AIndex = /** @satisfies {P2AIndex} */ (10);
|
|
const P2MSIndex = /** @satisfies {P2MSIndex} */ (11);
|
|
const P2PK33Index = /** @satisfies {P2PK33Index} */ (12);
|
|
const P2PK65Index = /** @satisfies {P2PK65Index} */ (13);
|
|
const P2PKHIndex = /** @satisfies {P2PKHIndex} */ (14);
|
|
const P2SHIndex = /** @satisfies {P2SHIndex} */ (15);
|
|
const P2TRIndex = /** @satisfies {P2TRIndex} */ (16);
|
|
const P2WPKHIndex = /** @satisfies {P2WPKHIndex} */ (17);
|
|
const P2WSHIndex = /** @satisfies {P2WSHIndex} */ (18);
|
|
const QuarterIndex = /** @satisfies {QuarterIndex} */ (19);
|
|
const TxIndex = /** @satisfies {TxIndex} */ (20);
|
|
const UnknownOutputIndex = /** @satisfies {UnknownOutputIndex} */ (21);
|
|
const WeekIndex = /** @satisfies {WeekIndex} */ (22);
|
|
const YearIndex = /** @satisfies {YearIndex} */ (23);
|
|
|
|
return /** @type {const} */ ({
|
|
"base-size": [TxIndex],
|
|
"block-count": [Height],
|
|
"block-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-interval-10p": [DateIndex],
|
|
"block-interval-25p": [DateIndex],
|
|
"block-interval-75p": [DateIndex],
|
|
"block-interval-90p": [DateIndex],
|
|
"block-interval-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-interval-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-interval-median": [DateIndex],
|
|
"block-interval-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-size-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-vbytes-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"block-weight-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
blockhash: [Height],
|
|
close: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"close-in-cents": [DateIndex, Height],
|
|
"close-in-sats": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
coinbase: [Height],
|
|
"coinbase-10p": [DateIndex],
|
|
"coinbase-25p": [DateIndex],
|
|
"coinbase-75p": [DateIndex],
|
|
"coinbase-90p": [DateIndex],
|
|
"coinbase-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-btc": [Height],
|
|
"coinbase-in-btc-10p": [DateIndex],
|
|
"coinbase-in-btc-25p": [DateIndex],
|
|
"coinbase-in-btc-75p": [DateIndex],
|
|
"coinbase-in-btc-90p": [DateIndex],
|
|
"coinbase-in-btc-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-btc-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-btc-median": [DateIndex],
|
|
"coinbase-in-btc-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-btc-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-usd": [Height],
|
|
"coinbase-in-usd-10p": [DateIndex],
|
|
"coinbase-in-usd-25p": [DateIndex],
|
|
"coinbase-in-usd-75p": [DateIndex],
|
|
"coinbase-in-usd-90p": [DateIndex],
|
|
"coinbase-in-usd-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-usd-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-usd-median": [DateIndex],
|
|
"coinbase-in-usd-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-in-usd-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-median": [DateIndex],
|
|
"coinbase-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"coinbase-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
date: [DateIndex, Height],
|
|
"date-fixed": [Height],
|
|
dateindex: [DateIndex, Height],
|
|
"dateindex-count": [MonthIndex, WeekIndex],
|
|
decadeindex: [DecadeIndex, YearIndex],
|
|
difficulty: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
difficultyepoch: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"emptyoutput-count": [Height],
|
|
"emptyoutput-count-10p": [DateIndex],
|
|
"emptyoutput-count-25p": [DateIndex],
|
|
"emptyoutput-count-75p": [DateIndex],
|
|
"emptyoutput-count-90p": [DateIndex],
|
|
"emptyoutput-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"emptyoutput-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"emptyoutput-count-median": [DateIndex],
|
|
"emptyoutput-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"emptyoutput-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
emptyoutputindex: [EmptyOutputIndex],
|
|
fee: [TxIndex],
|
|
"fee-10p": [Height],
|
|
"fee-25p": [Height],
|
|
"fee-75p": [Height],
|
|
"fee-90p": [Height],
|
|
"fee-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-btc": [TxIndex],
|
|
"fee-in-btc-10p": [Height],
|
|
"fee-in-btc-25p": [Height],
|
|
"fee-in-btc-75p": [Height],
|
|
"fee-in-btc-90p": [Height],
|
|
"fee-in-btc-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-btc-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-btc-median": [Height],
|
|
"fee-in-btc-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-btc-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-usd": [TxIndex],
|
|
"fee-in-usd-10p": [Height],
|
|
"fee-in-usd-25p": [Height],
|
|
"fee-in-usd-75p": [Height],
|
|
"fee-in-usd-90p": [Height],
|
|
"fee-in-usd-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-usd-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-usd-median": [Height],
|
|
"fee-in-usd-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-in-usd-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-median": [Height],
|
|
"fee-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"fee-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
feerate: [TxIndex],
|
|
"feerate-10p": [Height],
|
|
"feerate-25p": [Height],
|
|
"feerate-75p": [Height],
|
|
"feerate-90p": [Height],
|
|
"feerate-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"feerate-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"feerate-median": [Height],
|
|
"feerate-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"first-dateindex": [MonthIndex, WeekIndex],
|
|
"first-emptyoutputindex": [Height],
|
|
"first-height": [DateIndex, DifficultyEpoch, HalvingEpoch],
|
|
"first-inputindex": [Height, TxIndex],
|
|
"first-monthindex": [QuarterIndex, YearIndex],
|
|
"first-opreturnindex": [Height],
|
|
"first-outputindex": [Height, TxIndex],
|
|
"first-p2aindex": [Height],
|
|
"first-p2msindex": [Height],
|
|
"first-p2pk33index": [Height],
|
|
"first-p2pk65index": [Height],
|
|
"first-p2pkhindex": [Height],
|
|
"first-p2shindex": [Height],
|
|
"first-p2trindex": [Height],
|
|
"first-p2wpkhindex": [Height],
|
|
"first-p2wshindex": [Height],
|
|
"first-txindex": [Height],
|
|
"first-unknownoutputindex": [Height],
|
|
"first-yearindex": [DecadeIndex],
|
|
halvingepoch: [DateIndex, DecadeIndex, HalvingEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
height: [Height, TxIndex],
|
|
"height-count": [DateIndex, DifficultyEpoch],
|
|
high: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"high-in-cents": [DateIndex, Height],
|
|
"high-in-sats": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-count": [TxIndex],
|
|
"input-count-10p": [Height],
|
|
"input-count-25p": [Height],
|
|
"input-count-75p": [Height],
|
|
"input-count-90p": [Height],
|
|
"input-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-count-median": [Height],
|
|
"input-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-value": [TxIndex],
|
|
"input-value-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"input-value-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
inputindex: [InputIndex],
|
|
interval: [Height],
|
|
"is-coinbase": [TxIndex],
|
|
"is-explicitly-rbf": [TxIndex],
|
|
low: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"low-in-cents": [DateIndex, Height],
|
|
"low-in-sats": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
monthindex: [DateIndex, MonthIndex],
|
|
"monthindex-count": [QuarterIndex, YearIndex],
|
|
ohlc: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"ohlc-in-cents": [DateIndex, Height],
|
|
"ohlc-in-sats": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
open: [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"open-in-cents": [DateIndex, Height],
|
|
"open-in-sats": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"opreturn-count": [Height],
|
|
"opreturn-count-10p": [DateIndex],
|
|
"opreturn-count-25p": [DateIndex],
|
|
"opreturn-count-75p": [DateIndex],
|
|
"opreturn-count-90p": [DateIndex],
|
|
"opreturn-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"opreturn-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"opreturn-count-median": [DateIndex],
|
|
"opreturn-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"opreturn-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
opreturnindex: [OpReturnIndex],
|
|
"output-count": [TxIndex],
|
|
"output-count-10p": [Height],
|
|
"output-count-25p": [Height],
|
|
"output-count-75p": [Height],
|
|
"output-count-90p": [Height],
|
|
"output-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"output-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"output-count-median": [Height],
|
|
"output-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"output-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"output-value": [TxIndex],
|
|
"output-value-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"output-value-sum": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
outputindex: [InputIndex, OutputIndex],
|
|
outputtype: [OutputIndex],
|
|
outputtypeindex: [OutputIndex],
|
|
"p2a-count": [Height],
|
|
"p2a-count-10p": [DateIndex],
|
|
"p2a-count-25p": [DateIndex],
|
|
"p2a-count-75p": [DateIndex],
|
|
"p2a-count-90p": [DateIndex],
|
|
"p2a-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2a-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2a-count-median": [DateIndex],
|
|
"p2a-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2a-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2abytes: [P2AIndex],
|
|
p2aindex: [P2AIndex],
|
|
"p2ms-count": [Height],
|
|
"p2ms-count-10p": [DateIndex],
|
|
"p2ms-count-25p": [DateIndex],
|
|
"p2ms-count-75p": [DateIndex],
|
|
"p2ms-count-90p": [DateIndex],
|
|
"p2ms-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2ms-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2ms-count-median": [DateIndex],
|
|
"p2ms-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2ms-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2msindex: [P2MSIndex],
|
|
"p2pk33-count": [Height],
|
|
"p2pk33-count-10p": [DateIndex],
|
|
"p2pk33-count-25p": [DateIndex],
|
|
"p2pk33-count-75p": [DateIndex],
|
|
"p2pk33-count-90p": [DateIndex],
|
|
"p2pk33-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk33-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk33-count-median": [DateIndex],
|
|
"p2pk33-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk33-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2pk33bytes: [P2PK33Index],
|
|
p2pk33index: [P2PK33Index],
|
|
"p2pk65-count": [Height],
|
|
"p2pk65-count-10p": [DateIndex],
|
|
"p2pk65-count-25p": [DateIndex],
|
|
"p2pk65-count-75p": [DateIndex],
|
|
"p2pk65-count-90p": [DateIndex],
|
|
"p2pk65-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk65-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk65-count-median": [DateIndex],
|
|
"p2pk65-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pk65-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2pk65bytes: [P2PK65Index],
|
|
p2pk65index: [P2PK65Index],
|
|
"p2pkh-count": [Height],
|
|
"p2pkh-count-10p": [DateIndex],
|
|
"p2pkh-count-25p": [DateIndex],
|
|
"p2pkh-count-75p": [DateIndex],
|
|
"p2pkh-count-90p": [DateIndex],
|
|
"p2pkh-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pkh-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pkh-count-median": [DateIndex],
|
|
"p2pkh-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2pkh-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2pkhbytes: [P2PKHIndex],
|
|
p2pkhindex: [P2PKHIndex],
|
|
"p2sh-count": [Height],
|
|
"p2sh-count-10p": [DateIndex],
|
|
"p2sh-count-25p": [DateIndex],
|
|
"p2sh-count-75p": [DateIndex],
|
|
"p2sh-count-90p": [DateIndex],
|
|
"p2sh-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2sh-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2sh-count-median": [DateIndex],
|
|
"p2sh-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2sh-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2shbytes: [P2SHIndex],
|
|
p2shindex: [P2SHIndex],
|
|
"p2tr-count": [Height],
|
|
"p2tr-count-10p": [DateIndex],
|
|
"p2tr-count-25p": [DateIndex],
|
|
"p2tr-count-75p": [DateIndex],
|
|
"p2tr-count-90p": [DateIndex],
|
|
"p2tr-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2tr-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2tr-count-median": [DateIndex],
|
|
"p2tr-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2tr-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2trbytes: [P2TRIndex],
|
|
p2trindex: [P2TRIndex],
|
|
"p2wpkh-count": [Height],
|
|
"p2wpkh-count-10p": [DateIndex],
|
|
"p2wpkh-count-25p": [DateIndex],
|
|
"p2wpkh-count-75p": [DateIndex],
|
|
"p2wpkh-count-90p": [DateIndex],
|
|
"p2wpkh-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wpkh-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wpkh-count-median": [DateIndex],
|
|
"p2wpkh-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wpkh-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2wpkhbytes: [P2WPKHIndex],
|
|
p2wpkhindex: [P2WPKHIndex],
|
|
"p2wsh-count": [Height],
|
|
"p2wsh-count-10p": [DateIndex],
|
|
"p2wsh-count-25p": [DateIndex],
|
|
"p2wsh-count-75p": [DateIndex],
|
|
"p2wsh-count-90p": [DateIndex],
|
|
"p2wsh-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wsh-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wsh-count-median": [DateIndex],
|
|
"p2wsh-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"p2wsh-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
p2wshbytes: [P2WSHIndex],
|
|
p2wshindex: [P2WSHIndex],
|
|
quarterindex: [MonthIndex, QuarterIndex],
|
|
rawlocktime: [TxIndex],
|
|
subsidy: [Height],
|
|
"subsidy-10p": [DateIndex],
|
|
"subsidy-25p": [DateIndex],
|
|
"subsidy-75p": [DateIndex],
|
|
"subsidy-90p": [DateIndex],
|
|
"subsidy-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-btc": [Height],
|
|
"subsidy-in-btc-10p": [DateIndex],
|
|
"subsidy-in-btc-25p": [DateIndex],
|
|
"subsidy-in-btc-75p": [DateIndex],
|
|
"subsidy-in-btc-90p": [DateIndex],
|
|
"subsidy-in-btc-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-btc-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-btc-median": [DateIndex],
|
|
"subsidy-in-btc-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-btc-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-usd": [Height],
|
|
"subsidy-in-usd-10p": [DateIndex],
|
|
"subsidy-in-usd-25p": [DateIndex],
|
|
"subsidy-in-usd-75p": [DateIndex],
|
|
"subsidy-in-usd-90p": [DateIndex],
|
|
"subsidy-in-usd-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-usd-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-usd-median": [DateIndex],
|
|
"subsidy-in-usd-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-in-usd-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-median": [DateIndex],
|
|
"subsidy-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"subsidy-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
timestamp: [DateIndex, DecadeIndex, DifficultyEpoch, HalvingEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"timestamp-fixed": [Height],
|
|
"total-block-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-block-size": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-block-vbytes": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-block-weight": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-coinbase": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-coinbase-in-btc": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-coinbase-in-usd": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-emptyoutput-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-fee": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-fee-in-btc": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-fee-in-usd": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-input-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-input-value": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-opreturn-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-output-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-output-value": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2a-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2ms-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2pk33-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2pk65-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2pkh-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2sh-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2tr-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2wpkh-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-p2wsh-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-size": [Height, TxIndex],
|
|
"total-subsidy": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-subsidy-in-btc": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-subsidy-in-usd": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-tx-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-tx-v1": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-tx-v2": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-tx-v3": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"total-unknownoutput-count": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-count": [Height],
|
|
"tx-count-10p": [DateIndex],
|
|
"tx-count-25p": [DateIndex],
|
|
"tx-count-75p": [DateIndex],
|
|
"tx-count-90p": [DateIndex],
|
|
"tx-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-count-median": [DateIndex],
|
|
"tx-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-v1": [Height],
|
|
"tx-v1-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-v2": [Height],
|
|
"tx-v2-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-v3": [Height],
|
|
"tx-v3-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-vsize-10p": [Height],
|
|
"tx-vsize-25p": [Height],
|
|
"tx-vsize-75p": [Height],
|
|
"tx-vsize-90p": [Height],
|
|
"tx-vsize-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-vsize-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-vsize-median": [Height],
|
|
"tx-vsize-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-weight-10p": [Height],
|
|
"tx-weight-25p": [Height],
|
|
"tx-weight-75p": [Height],
|
|
"tx-weight-90p": [Height],
|
|
"tx-weight-average": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-weight-max": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"tx-weight-median": [Height],
|
|
"tx-weight-min": [DateIndex, DecadeIndex, DifficultyEpoch, Height, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
txid: [TxIndex],
|
|
txindex: [EmptyOutputIndex, OpReturnIndex, P2MSIndex, TxIndex, UnknownOutputIndex],
|
|
"txindex-count": [Height],
|
|
txversion: [TxIndex],
|
|
"unknownoutput-count": [Height],
|
|
"unknownoutput-count-10p": [DateIndex],
|
|
"unknownoutput-count-25p": [DateIndex],
|
|
"unknownoutput-count-75p": [DateIndex],
|
|
"unknownoutput-count-90p": [DateIndex],
|
|
"unknownoutput-count-average": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"unknownoutput-count-max": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"unknownoutput-count-median": [DateIndex],
|
|
"unknownoutput-count-min": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
"unknownoutput-count-sum": [DateIndex, DecadeIndex, DifficultyEpoch, MonthIndex, QuarterIndex, WeekIndex, YearIndex],
|
|
unknownoutputindex: [UnknownOutputIndex],
|
|
value: [InputIndex, OutputIndex],
|
|
vbytes: [Height],
|
|
vsize: [TxIndex],
|
|
weekindex: [DateIndex, WeekIndex],
|
|
weight: [Height, TxIndex],
|
|
yearindex: [MonthIndex, YearIndex],
|
|
"yearindex-count": [DecadeIndex],
|
|
});
|
|
}
|
|
/** @typedef {ReturnType<typeof createVecIdToIndexes>} VecIdToIndexes */
|
|
/** @typedef {keyof VecIdToIndexes} VecId */
|