All basic functions plus guide README to use

This commit is contained in:
Malte Schröder
2025-12-19 20:25:39 +01:00
parent db48f07b78
commit 397635d43e
12 changed files with 486 additions and 22 deletions

35
production_test.log Normal file
View File

@@ -0,0 +1,35 @@
warning: use of deprecated method `nostr_sdk::Timestamp::as_u64`: Use `as_secs` instead
--> src/bin/testall.rs:40:63
|
40 | ...w().as_u64());
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: `easy-nostr` (bin "testall") generated 1 warning
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
Running `target/debug/testall`
=== EasyNostr Production Test Suite ===
[INFO] Identity: npub1jx2cnrlnpvy9gxgfnkqf30l0u3jkgjmp76jcvgxw5uuf5lqynduqz9n2me
[STEP 1] Connecting to Relays...
[OK] Connected.
[STEP 2] Following Self (for robust timeline testing)...
[OK] Followed self.
[STEP 3] Publishing Post...
[OK] Posted: note10xlp2za0p0ug3v49ggve2gv2lzfmgltzk84a7qkueskeau9kj5nshcfu20
[STEP 4] verifying Timeline (expecting own post)...
[OK] Found our post in timeline after 2s!
[STEP 5] Testing Direct Messages...
... attempt 1/5: DM not yet visible...
... attempt 2/5: DM not yet visible...
... attempt 3/5: DM not yet visible...
... attempt 4/5: DM not yet visible...
... attempt 5/5: DM not yet visible...
[ERR] DM propagation failed.
=== Test Complete ===