BCDB uses zdb that is always running on local host ZDB must be running in sequential
mode. Please check out 0-db for more information on how to install zdb
.
zdb --mode seq
make
# bcdb --help
bcdb
USAGE:
bcdb [FLAGS] [OPTIONS] --threebot-id
FLAGS: -d, --debug enable debug logging -h, --help Prints help information -V, --version Prints version information
OPTIONS:
--explorer
SUBCOMMANDS: help Prints this message or the help of the given subcommand(s) rebuild rebuild index from zdb
- Index rebuild
```bash
# bcdb rebuild --help
bcdb-rebuild
rebuild index from zdb
USAGE:
bcdb --threebot-id <id> --seed <seed> --seed-file <seed-file> rebuild [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --from <from> only rebuild index with records after given timestamp
Please make sure that
--seed-file
is pointing to a seed file generated by thetfuser
utility.Instead, you can provide both
--threebot-id
and--seed
which must be valid identity registered on the providedexplorer
BCDB exposes a grpc service(s). We already have some clients generated (with some examples) please check clients
directory.
In case there is no client generated in your preferred language, use the proto/bcdb.proto
to generate one.
Please check examples
for some example clients that uses bcdb for specific operations.
list
only returns object IDs, while find
also return object full meta