The anti-replay oracle used under the Revault architecture.
cosignerd
must be used along with revaultd
as part of a Revault deployment.
If you are looking for trying out Revault, check out the aquarium
(a script putting all the Revault parts together on a regtest network).
Unit tests can be run using the command
cargo test
You'll need honggfuzz-rs for running fuzz tests.
cd fuzz/ && cargo hfuzz run process_sign_message
Alternatively you can clone the existing corpus for the process_sign_message
target and start extending it from there. For example:
# Still from the root of the fuzz/ directory
git clone https://github.com/revault/cosignerd_fuzz_corpus
HFUZZ_RUN_ARGS="--exit_upon_crash -v --input cosignerd_fuzz_corpus" cargo hfuzz run process_sign_message
Refer to Honggfuzz's doc for more run options.
BSD 3-clauses, see LICENSE.