Skip to content

mnyoshie/qrlc

Repository files navigation

# 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.

About

Quantum Resistant Ledger in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors