Documentation | Guides | News
A node is a client-side application that is installed on the user equipment. The Node processes and stores transactions, executes and confirms smart contract rules requests processing from third-party systems and provides data when requested. Written on C++.
Credits Node is the main module that provide an opportunity to run a node and participate in CREDITS blockhain network. The node performs processing and storage of transactions, execution and confirmation of the terms of smart contracts, processing requests from third-party systems, and provides data upon request. Each node on the network has the same functionality. The node consists of the following elements:
- API
- Desision-making module(Solver)
- Storage(CSDB)
- Transport protocol
- Boost 1.68 or newest static prebuild
- Compiler with C++17 support
- Cmake 3.11 or newest
- Requirements fo building Apache Thrift
- libsodium
- The building Berkeley DB distribution uses the Free Software Foundation's autoconf and libtool tools to build on UNIX platforms.
On Windows
It is necessary to run in the terminal, which sets the environment variables for building a Visual Studio project
git clone https://github.com/CREDITSCOM/node.git cd node git submodule update --init --recursive mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -A x64 .. cmake --build . --target ALL_BUILD --config Release
On Linux
Operating system: Windows® 7 / Windows® 8 / Windows® 10 64-bit (with the last update package) Processor (CPU): with frequency of 1 GHz (or faster) with PAE, NX and SSE2 support; Memory (RAM): 4 Gb HDD: 1 Tb Internet connection: 3 Mbit/sgit clone https://github.com/CREDITSCOM/node.git cd node git submodule update --init --recursive mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j4
Operating system: Windows® 7 / Windows® 8 / Windows® 10 64-bit (with the last update package) Processor (CPU): Intel® Core ™ i3 or AMD Phenom ™ X3 8650 Memory (RAM): 8 Gb HDD: 3 Tb Internet connection: 5 Mbit/s.
Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes! If you'd like to contribute to Credits Node, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on our Developers portal and Contribution file to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple. Please make sure your contributions adhere to our coding guidelines:
- Code must adhere to the Credits coding style
- Pull requests need to be based on and opened against the master branch
- Commit messages should be prefixed with the package(s) they modify