diff --git a/tools/README.md b/tools/README.md index c401ed873f..8f24f19ab0 100644 --- a/tools/README.md +++ b/tools/README.md @@ -8,19 +8,26 @@ xpubaddrgen xpubaddrgen reads job specification from stdin in format: +``` +``` and prints the results to stdout in format: +```
+``` Example input: +``` 23 xpub6BcjTvRCYD4VvFQ8whztSXhbNyhS56eTd5P3g9Zvd3zPEeUeL5CUqBYX8NSd1b6Thitr8bZcSnesmXZH7KerMcc4tUkenBShYCtQ1L8ebVe 0 0 5 42 xpub6AT2YrLinU4Be5UWUxMaUz3zTA99CSGvXt1jt2Lgym8PqXbTzmpQ8MHjoLnx8YJiMMUP5iEfR97YQVmgF6B2tAhbCZrXqn65ur526NkZ6ey 1 1000 1005 +``` Example output: +``` 23 0 14vb5Cws75p2i5rmSiF5CKMyezUX4hxSb9 23 1 1Lf4ciA36dsi1niF6smVcpCiHcpj2skaPq 23 2 1LraByp7gQAipvHnFS1gTSzixBtYaVyQGp @@ -31,6 +38,8 @@ Example output: 42 1002 1Jhv33bJy229ThM7HKxUa92cMK5gi7DyPC 42 1003 13LxbTjQPByisj4F4sZEivUBdnJwigzg6R 42 1004 1BWBpSWkPwcKxVr2WDyUqQbmvk5SGihcx9 +``` -It will print " error" when there was an error processing job . -It will print "error" when it encountered a malformed line. +It will print ``` error``` when there was an error processing job jobid. + +It will print ```error``` when it encountered a malformed line.