Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VOID PoA

Single entity (authority) based VOID blockchain implementation

Run Prover

For CPU proving, run with the following command:

cd zk_risc0/host
RUSTFLAGS="-Ctarget-cpu=native" cargo run --release

For GPU proving, run with the following command:

cd zk_risc0/host
RUSTFLAGS="-Ctarget-cpu=native" cargo run --release -F cuda

Note: GPU proving takes a VERY long time to compile due to having to build the GPU kernels

For faster key generation, use the following:

RUSTFLAGS="-Ctarget-cpu=native" 

Profiling

The following commands can be used to run the prover in a profiling mode:

RISC0_PPROF_OUT=./profile.pb RUST_LOG=info RISC0_DEV_MODE=1 RISC0_INFO=1 cargo run
go tool pprof -http=127.0.0.1:8000 profile.pb

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages