-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
TODO Location
sixty_nuts/events.py:371
Priority
🟡 Medium Priority - Performance improvement
Current Code
# Create history event
event = create_event(
kind=EventKind.History,
content=encrypted_content,
tags=tags,
)
# TODO: make this async in background
return await self.relay_manager.publish_to_relays(event)What needs to be done
- Make spending history publication non-blocking
- Continue wallet operations while history publishes in background
- Ensure reliability without blocking user operations
Implementation
- Use
asyncio.create_task()for background publishing - Implement retry logic for failed publishes
- Add logging for tracking
- Consider using a queue for batching
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request