From 4d032d5db8ef7e6713991afbc2388f0be21abd48 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 17 Aug 2015 13:16:37 +0100 Subject: [peerdist] Add individual block download mechanism Signed-off-by: Michael Brown --- src/config/fault.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/config') diff --git a/src/config/fault.h b/src/config/fault.h index 24c8db41..5024a8ff 100644 --- a/src/config/fault.h +++ b/src/config/fault.h @@ -17,6 +17,18 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); /* Drop every N transmitted or received PeerDist discovery packets */ #define PEERDISC_DISCARD_RATE 0 +/* Annul every N PeerDist download attempts */ +#define PEERBLK_ANNUL_RATE 0 + +/* Stall every N PeerDist download attempts */ +#define PEERBLK_STALL_RATE 0 + +/* Abort every N PeerDist download attempts */ +#define PEERBLK_ABORT_RATE 0 + +/* Corrupt every N received PeerDist packets */ +#define PEERBLK_CORRUPT_RATE 0 + #include #endif /* CONFIG_FAULT_H */ -- cgit v1.2.3-55-g7522