Commit graph

28 commits

Author SHA1 Message Date
dni ⚡
c4d923e9af
refactor: pynostr instead of custom nostr lib (#112) 2025-11-20 10:12:18 +01:00
Vlad Stan
db8de4804d
fix: use checking_id instead of payment_hash (#104) 2025-10-03 15:16:15 +03:00
dni ⚡
5a0d7ee4ed
fix: linting issues introduced last commit (#92) 2025-08-14 09:35:58 +02:00
Sat
7eea2330c9
fix(tasks): Refactor send_zap to use async websockets and prevent crashes (#90)
* fix(tasks): Make send_zap non-blocking to prevent freezes

The send_zap async function contained blocking calls (thread.join()) which halted the main asyncio event loop. This caused the application to become unresponsive or "freeze" until all zap receipt threads completed.

Refactored the function to be fully non-blocking by removing the join() calls and the arbitrary sleep(). Zap receipts are now dispatched in background threads on a fire-and-forget basis, allowing the main application to remain responsive.

* fix(tasks): Use async websockets in send_zap to prevent crashes

Refactor to replace the threading and websocket-client logic with the native asyncio websockets library. 

Create a non-blocking asyncio task for each relay,
2025-08-13 14:07:18 +02:00
dni ⚡
c7623e4c5a
feat: update to lnbits 1.0.0 (#66)
---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2024-10-25 12:02:37 +02:00
Vlad Stan
98ff395c36
fix: receipt event (#68)
Some checks failed
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
2024-09-14 00:36:00 +03:00
Tiago Vasconcelos
e3d0fb27e9
chore: code format (#67)
Some checks failed
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2024-09-13 20:41:42 +03:00
Tiago Vasconcelos
f48a3ed76a Auto stash before rebase of "main" onto "francismars/main" 2024-09-10 12:38:31 +01:00
Vlad Stan
efb2eef323
fix: nostr zaps (#63)
Some checks failed
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
2024-08-07 17:26:20 +03:00
dni ⚡
badc420069
feat: code quality (#59)
* feat: code quality
* fixup!
2024-08-05 12:49:50 +03:00
dni ⚡
84179e8eea
feat: pass data through lnurl for webhook (#31)
* feat: pass through data with lnurl
2023-11-22 11:53:44 +01:00
dni ⚡
f2e419e18d
feat: add extension-settings instead of environs (#28)
* feat: add extension-settings instead of environs
2023-11-22 11:40:22 +01:00
Vlad Stan
257f5d34d2
Fix update validations (#30)
* fix: no `username` update
* fix: update for old pay_links
* chore: code format
2023-11-02 15:09:32 +01:00
callebtc
64da75d605 configuration for nostr 2023-04-24 17:12:35 +02:00
callebtc
bf6659bbbd remove the need for nostrclient 2023-04-04 12:52:10 +02:00
callebtc
642cad9ed8 add max relays 2023-03-25 03:08:54 +01:00
callebtc
f755a44108 sleep a bit 2023-03-23 23:46:16 +01:00
callebtc
e119f5c4c5 send zaps to relays in zap request 2023-03-23 23:32:27 +01:00
callebtc
c2e58fa1b4 generate new keys 2023-03-22 17:49:43 +01:00
callebtc
f2615aa155 clean 2023-03-22 09:53:23 +01:00
callebtc
b66588d7c9 escape 2023-03-22 01:18:17 +01:00
callebtc
50f9b505cd allowNostr vs alllowsNostr 2023-03-22 00:47:37 +01:00
callebtc
54ca4476cc debug printing 2023-03-21 19:50:32 +01:00
callebtc
cdf137b484 description 2023-03-21 19:02:20 +01:00
callebtc
bf22efdd32 fix stuff 2023-03-21 18:27:37 +01:00
callebtc
d8e742a452 ws not wss 2023-03-21 17:48:49 +01:00
callebtc
fa3cb87ba0 add zaps 2023-03-21 17:39:03 +01:00
Arc
ad9fd4e4ad
Add files via upload 2023-02-16 10:03:33 +00:00