Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnyoshie/qrlc

Quantum Resistant Ledger in C
https://github.com/mnyoshie/qrlc

qrl

Last synced: 11 days ago
JSON representation

Quantum Resistant Ledger in C

Awesome Lists containing this project

README

        

# QRL utilities in C

Still in its draft

Based from github.com/theqrl/qrl

Requires:

```
-lcrypto -lleveldb -ljson-c -lsnappy -lpthread
```

Build dependencies: `libbost-dev`

# Building on Linux. Ubuntu

```
sudo apt install lib{leveldb,json-c,ssl}-dev
make -j4
```

# Building on Windows. Msys2 (ucrt64)

```
pacman -S mingw-w64-ucrt-x86_64-{leveldb,json-c,boost,openssl,gcc,make}
make -j4

```
Note that ASan isn't supported on non LLVM/Clang based environent on msys2,
so remove those `-fsanitize=address` if it is been set.

## Test

This would retrieve valid blocks from the mainnet and feed it to qrlc for testing.

```
make -C src test
```

# Cross compiling

Create a `config.mk` in the root directory and manually fill the following:

```
CC :=
CXX :=

# machine: x86_64, aarch64, riscv64
machine :=

# machine-endian: little, big
machine-endian :=

# 0 or 1
feature-atomic :=
feature-hwcap :=
feature-bswap :=
feature-avx2 :=
feature-ssse3 :=

```

# License

Parts of this source directory are written by the QRL/C contributors and others.

See the accompanying notice at every sources for it's author
and license.