Add fuzzing stub for ReadFeeEstimates

This commit is contained in:
Taylor Hornby 2019-10-28 19:22:05 -06:00
parent 0fdff745ee
commit 6ad165a6ab
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#include "txmempool.h"
int main (int argc, char *argv[]) {
CFeeRate rate;
CTxMemPool mempool(rate);
CAutoFile est_filein(fopen(argv[1], "rb"), SER_DISK, CLIENT_VERSION);
if (mempool.ReadFeeEstimates(est_filein)) {
return 0;
} else {
return -1;
}
}

Binary file not shown.