Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.06 KB

Protobuf definition library for Open-Transactions

License: MPL 2.0

Build

This library provides the canonical protobuf definitions for opentxs messages, as well as syntax validation functions.

Official Wiki

http://opentransactions.org/

Contributing

Use clang-format and cmake-format.

CppCheck and clang-format Git hooks

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

Build Instructions

mkdir build
cd build
cmake -GNinja -DBUILD_SHARED_LIBS=ON ..
ninja
ninja install