From 5acab48b30c059d6a572dc119a28e881263a6cdf Mon Sep 17 00:00:00 2001 From: yancy Date: Thu, 18 Jul 2024 12:44:04 -0500 Subject: [PATCH] Add Fuzz to the README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 36580bc..97cbf95 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,14 @@ To run the benchmarks use: `cargo bench`. Note: criterion requires rustc version 1.65 to run the benchmarks. +## Fuzz + +To run fuzzer: + +Single Random Draw: `cargo hfuzz run single_random_draw_selection_select_coins` +Branch and Bound: `cargo hfuzz run branch_and_bound_selection_select_coins` +Select Coins (both SRD and BNB): `cargo hfuzz run select_coins` + ### performance comparison A basic performance comparison between this Rust BnB implementation and [Bitcoin Core](https://github.com/bitcoin/bitcoin/blob/4b1196a9855dcd188a24f393aa2fa21e2d61f061/src/wallet/coinselection.cpp#L76) using commodity hardware (My rather old laptop).