Skip to content

db converter

amesgen edited this page Apr 24, 2023 · 3 revisions

The db-converter executable was removed from the codebase. If needed it can be found at this commit.

Here we provide a fully static binary for x86_64-linux. As GH doesn't allow for executables attached, we renamed it to *.png. You will have to remove the extension.

❯ curl -o db-converter https://user-images.githubusercontent.com/9791461/234018862-50fba636-68f7-4b14-8229-9b4b91ee4ce6.png
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5465k  100 5465k    0     0  16.4M      0 --:--:-- --:--:-- --:--:-- 16.5M
❯ chmod +x db-converter
❯ ./db-converter
Missing: --epochDir STRING --dbDir STRING --epochSlots WORD64

Usage: db-converter --epochDir STRING --dbDir STRING --epochSlots WORD64 
                    [--networkMagic WORD32]

db-converter

In case of doubt this was built with nix using:

nix-build -E '(import ./nix { }).ouroborosNetworkHaskellPackages.projectCross.musl64.hsPkgs.ouroboros-consensus-byron.components.exes.db-converter'

somewhere around here