84 lines
4.4 KiB
Plaintext
84 lines
4.4 KiB
Plaintext
[34m[1m=== C Nostr Relay Server ===[0m
|
||
[32m[SUCCESS][0m Database connection established
|
||
[32m[SUCCESS][0m Relay information initialized with default values
|
||
[34m[INFO][0m Initializing NIP-13 Proof of Work configuration
|
||
[34m[INFO][0m PoW Configuration: enabled=true, min_difficulty=0, validation_flags=0x1, mode=full
|
||
[34m[INFO][0m Initializing NIP-40 Expiration Timestamp configuration
|
||
[34m[INFO][0m Expiration Configuration: enabled=true, strict_mode=true, filter_responses=true, grace_period=300 seconds
|
||
[34m[INFO][0m Starting relay server...
|
||
[34m[INFO][0m Starting libwebsockets-based Nostr relay server...
|
||
[32m[SUCCESS][0m WebSocket relay started on ws://127.0.0.1:8888
|
||
[34m[INFO][0m HTTP request received
|
||
[34m[INFO][0m Handling NIP-11 relay information request
|
||
[32m[SUCCESS][0m NIP-11 relay information served successfully
|
||
[34m[INFO][0m HTTP request received
|
||
[34m[INFO][0m Handling NIP-11 relay information request
|
||
[32m[SUCCESS][0m NIP-11 relay information served successfully
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[33m[WARNING][0m Event rejected: expired timestamp
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[33m[WARNING][0m Event rejected: expired timestamp
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling REQ message for persistent subscription
|
||
[34m[INFO][0m Added subscription 'filter_test' (total: 1)
|
||
[34m[INFO][0m Executing SQL: SELECT id, pubkey, created_at, kind, content, sig, tags FROM events WHERE 1=1 AND kind IN (1) ORDER BY created_at DESC LIMIT 10
|
||
[34m[INFO][0m Query returned 10 rows
|
||
[34m[INFO][0m Total events sent: 10
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Removed subscription 'filter_test' (total: 0)
|
||
[34m[INFO][0m Closed subscription: filter_test
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[33m[WARNING][0m Subscription '<27><><15>a' not found for removal
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m WebSocket connection established
|
||
[34m[INFO][0m Received WebSocket message
|
||
[34m[INFO][0m Handling EVENT message with full NIP-01 validation
|
||
[32m[SUCCESS][0m Event stored in database
|
||
[32m[SUCCESS][0m Event validated and stored successfully
|
||
[34m[INFO][0m WebSocket connection closed
|
||
[34m[INFO][0m HTTP request received
|
||
[34m[INFO][0m Handling NIP-11 relay information request
|
||
[32m[SUCCESS][0m NIP-11 relay information served successfully
|