This library provides the canonical protobuf definitions for opentxs messages, as well as syntax validation functions.
Use clang-format and cmake-format.
For convenience please enable the git hooks which will trigger cppcheck and clang-format each time you push or commit. To do so type in the repo directory:
cd .git/hooks
ln -s ../../cmake/scripts/git_hooks/pre-push
ln -s ../../cmake/scripts/git_hooks/pre-commit
To check your code without pushing the following command can be used:
git push -n
mkdir build
cd build
cmake -GNinja -DBUILD_SHARED_LIBS=ON ..
ninja
ninja install