This is a secure and reliable blockchain database.
Each database contains its own public and private key. All blocks are signed with the private key (ECDSA/secp256k1).
$ make build
$ make release
$ make test
$ make run
Go to shell:
$ make shell
Go to the build directory:
$ cd build
Create the chain:
$ ./cli/cli --create-chain true
Add new block:
$ ./cli/cli --add-block true --data '{data: \"test\"}'
Get blocks:
$ ./cli/cli --get-blocks true
or $ ./cli/cli --get-block true --block-id 1
Get info:
$ ./cli/cli --get-info true
Get keys:
$ ./cli/cli --get-keys true
Verify the chain:
$ ./cli/cli --verify-chain true --chain-id 1
Remove the chain:
$ ./cli/cli --remove-chain true --chain-id 1
Look for more here: ./cli/cli -h
$ make gdb
$ make valgrind
$ make callgrind
$ make cppcheck
Stanislav Yakush (st.yakush@yandex.ru)