Add headerssync-params.py script to the repository

This commit is contained in:
Pieter Wuille
2022-08-31 18:15:24 -04:00
parent 9d5150ac47
commit 7899402cff
2 changed files with 367 additions and 0 deletions

View File

@@ -90,6 +90,16 @@ example:
BUILDDIR=$PWD/build contrib/devtools/gen-manpages.py
```
headerssync-params.py
=====================
A script to generate optimal parameters for the headerssync module (src/headerssync.cpp). It takes no command-line
options, as all its configuration is set at the top of the file. It runs many times faster inside PyPy. Invocation:
```bash
pypy3 contrib/devtools/headerssync-params.py
```
gen-bitcoin-conf.sh
===================