From 678f4738e63cef633dbe2359effbe88ab2374dc2 Mon Sep 17 00:00:00 2001 From: Carter Jernigan Date: Fri, 29 Jul 2022 10:22:19 -0400 Subject: [PATCH 1/2] Update .gitignore for macOS --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index df42798..63fd682 100644 --- a/.gitignore +++ b/.gitignore @@ -131,3 +131,4 @@ dmypy.json ### JSON files *.json +.DS_Store From fa30abb540ce526b4b4fe3d585336f8aa902f3b0 Mon Sep 17 00:00:00 2001 From: Carter Jernigan Date: Fri, 29 Jul 2022 10:29:59 -0400 Subject: [PATCH 2/2] [#1] Update readme with working examples --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f3214a3..43bbe30 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,16 @@ Your lightwalletd checkpoint mate. ## Usage -Example: call checkmate and generate checkpoint json files starting from block 1346316 until latest height with a 10000 blocks interval. +Example: call checkmate and generate Mainnet checkpoint json files starting from block 1685000 until latest height with a 2500 blocks interval. ```` bash -python3 checkmate.py lightwalletd.com:9067 --start-height 1346316 --to-json +python3 checkmate.py mainnet.lightwalletd.com:9067 --start-height 1685000 --interval 2500 --to-json +```` + +Example: call checkmate and generate Testnet checkpoint json files starting from block 1800000 until latest height with a 10000 blocks interval. + +```` bash +python3 checkmate.py testnet.lightwalletd.com:9067 --start-height 1800000 --interval 10000 --to-json ```` ## Generated Output