https://github.com/proximax-storage/cpp-xpx-chain
Official ProximaX Blockchain Server Node Component
https://github.com/proximax-storage/cpp-xpx-chain
blockchain code cpp server xpx
Last synced: 9 months ago
JSON representation
Official ProximaX Blockchain Server Node Component
- Host: GitHub
- URL: https://github.com/proximax-storage/cpp-xpx-chain
- Owner: proximax-storage
- License: other
- Created: 2018-07-23T17:37:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T03:26:06.000Z (9 months ago)
- Last Synced: 2025-05-07T16:15:38.882Z (9 months ago)
- Topics: blockchain, code, cpp, server, xpx
- Language: C++
- Homepage:
- Size: 141 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: COPYING.LESSER
Awesome Lists containing this project
README
[](https://bcdocs.xpxsirius.io)
# ProximaX Sirius-Chain Server Code #
Official ProximaX Sirius-Chain Server Code.
The ProximaX Sirius-Chain Server code is the server code implementation of ProximaX blockchain layer.
## Building
Detailed building instructions are [here](docs/README.md).
## Contributing
Before contributing please [read this](CONTRIBUTING.md).
To create a release docker images you need to install docker first:
```
sudo apt-get install docker-compose -y
```
Then you need to build an image:
To build a tools image:
```
cd cpp-xpx-chain
sudo ./scripts/ToolsRealeaseDocker/buildTools.sh
```
To build a catapult.server image:
```
cd cpp-xpx-chain
sudo ./scripts/Catapult.serverRealeaseDocker/buildCatapultServer.sh
```
## Sanitizers
Sanitizers are compiler flags, that inject verification code into binary. [Detailed](https://github.com/google/sanitizers).
```
# 1. do a clean build with one of sanitizers enabled
cmake .. -DSANITIZE_ADDRESS=ON # enables address & memory leak sanitizers
cmake .. -DSANITIZE_THREAD=ON # enables thread sanitizer
cmake .. -DSANITIZE_UNDEFINED=ON # enables undefined behavior sanitizer
# 2. build
make
# 3. run binary OR tests
ctest
```
If binary contains errors, it will fail with detailed stacktrace.