From f591eb260b1984215f44ed9a1c4219c4963d014a Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 2 Jul 2025 12:12:16 -0400 Subject: [PATCH] docs: add instructions for nostr index size test --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 05754c6..c2413b0 100644 --- a/README.md +++ b/README.md @@ -231,11 +231,25 @@ Back in the Settings menu you can: SeedPass includes a small suite of unit tests located under `src/tests`. After activating your virtual environment and installing dependencies, run the tests with **pytest**. Use `-vv` to see INFO-level log messages from each passing test: + ```bash pip install -r src/requirements.txt pytest -vv ``` +### Exploring Nostr Index Size Limits + +The `test_nostr_index_size.py` test probes how large the encrypted index can +be when posted to Nostr. It requires network access and is tagged with +`desktop` and `network`, so run it manually when you want to measure payload +limits: + +```bash +pytest -vv src/tests/test_nostr_index_size.py +``` + +Add `-m "desktop and network"` if you normally exclude those markers. + ### Automatically Updating the Script Checksum SeedPass stores a SHA-256 checksum for the main program in `~/.seedpass/seedpass_script_checksum.txt`.