|
|
@ -2,13 +2,13 @@ import type { OptionContractDatabase } from "./optiondb.interfaces.js";
|
|
|
|
import { open } from "lmdbx";
|
|
|
|
import { open } from "lmdbx";
|
|
|
|
|
|
|
|
|
|
|
|
const optionContractAggregatesDb = open({
|
|
|
|
const optionContractAggregatesDb = open({
|
|
|
|
path: "/tmp/option-contract-aggregates.db",
|
|
|
|
path: "./option-contract-aggregates.db",
|
|
|
|
// any options go here, we can turn on compression like this:
|
|
|
|
// any options go here, we can turn on compression like this:
|
|
|
|
compression: true,
|
|
|
|
compression: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const optionContractExistenceDb = open({
|
|
|
|
const optionContractExistenceDb = open({
|
|
|
|
path: "/tmp/option-contract-existence.db",
|
|
|
|
path: "./option-contract-existence.db",
|
|
|
|
// any options go here, we can turn on compression like this:
|
|
|
|
// any options go here, we can turn on compression like this:
|
|
|
|
compression: true,
|
|
|
|
compression: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|