You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: flow from waiting to pending status (MostroP2P#327)
* refactor: handle waiting→pending timeouts via direct gift wraps
- Replace timeout detection for waiting-buyer-invoice/waiting-payment → pending
- Handle via direct gift wraps: Action.canceled (taker) / Action.newOrder (maker)
- Remove 38383 event monitoring for timeout scenarios only
- Eliminate timeout-specific logic: _checkTimeoutAndCleanup, _subscribeToPublicEvents
- Preserve other functionality unchanged
* remove cancel
* refactor: remove obsolete timeout detection via 38383 events
- Remove Action.timeoutReversal enum and all related logic
- Remove MostroMessage.createTimeoutReversal() factory method
- Clean up FSM transitions and notification handling
- Remove timeout detection constants from Config
* update documentation, remove timeout detection using 38383 events
* fix: detect automatic order cancellation for pending orders via 38383 events
- Add selective public event monitoring in OrderNotifier
- Detect when Mostro automatically cancels pending orders (pending → canceled)
- Delete session to remove expired orders from My Trades
- Show cancellation notification to user
- Maintain existing gift wrap timeout system unchanged
- Only affects maker-created orders that expire automatically
* coderabit_suggest
* Add mounted checks after async operations
* fix: remove mounted check that broke order state synchronization
---------
Co-authored-by: grunch <fjcalderon@gmail.com>
0 commit comments