contrib: Add asmap-tool

Co-authored-by: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
Fabian JahrandPieter Wuille committed 2024-04-25 17:27:08 +02:00
1 parent 8da62a1041
commit 6abe772a17
4 files changed
+176 -3

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# ASMap Tool
Tool for performing various operations on textual and binary asmap files,
particularly encoding/compressing the raw data to the binary format that can
be used in Bitcoin Core with the `-asmap` option.
Example usage:
```
python3 asmap-tool.py encode /path/to/input.file /path/to/output.file
python3 asmap-tool.py decode /path/to/input.file /path/to/output.file
python3 asmap-tool.py diff /path/to/first.file /path/to/second.file
```