Riccardo Balbo
9c55f1ebe2
Implement deposit as receive paidAction ( #1570 )
...
* lnurlp paid action
* lnurlp has 10% sybil fee
* fix merge issue
* Update pages/settings/index.js
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
* fix notifications
* fix destructure
* pass lud18Data to lnurlp action
* minor cleanup
* truncate invoice description to permitted length
* remove redundant targetUserId
* lnurlp paidAction -> receive paidAction
* remove redundant user query
* improve determining if peer is invoiceable
* fix inconsistent relative imports
* prevent paying self-proxied invoices and better held invoice cancellation
* make gun/horse streak zap specific
* unique withdrawal hash should apply to confirmed payments too
* prevent receive from exceeding wallet limits
* notifications
* fix notifications & enhance invoice/withdrawl page
* notification indicator, proxy receive based on threshold, refinements
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-15 18:38:14 -06:00
ekzyis
8c43caed80
Fix TypeError if local storage is cleared ( #1594 )
2024-11-15 12:02:02 -06:00
Riccardo Balbo
18700b4201
configurable sybil fee ( #1577 )
...
* configurable sybil fee
* document getSybilFeePercent
* fixes
* remove null check
* refine at the margins
---------
Co-authored-by: k00b <k00b@stacker.news>
2024-11-11 16:59:52 -06:00
Keyan
4675a2c29d
sndev cleanup ( #1563 )
...
* begin sndev cleanup
* cleanup sndev
* fix posix shell compliance
* add tests to sndev
2024-11-09 15:52:04 -06:00
ekzyis
72e2d19433
supercharged wallet logs ( #1516 )
...
* Inject wallet logger interface
* Include method in NWC logs
* Fix wrong page total
* Poll for new logs every second
* Fix overlapping pagination
* Remove unused total
* Better logs for incoming payments
* Use _setLogs instead of wrapper
* Remove inconsistent receive log
* Remove console.log from wallet logger on server
* Fix missing 'wallet detached' log
* Fix confirm_withdrawl code
* Remove duplicate autowithdrawal log
* Add context to log
* Add more context
* Better table styling
* Move CSS for wallet logs into one file
* remove unused logNav class
* rename classes
* Align key with second column
* Fix TypeError if context empty
* Check content-type header before calling res.json()
* Fix duplicate 'failed to create invoice'
* Parse details from LND error
* Fix invalid DOM property 'colspan'
* P2P zap logs with context
* Remove unnecessary withdrawal error log
* the code assignment was broken anyway
* we already log withdrawal errors using .catch on payViaPaymentRequest
* Don't show outgoing fee to receiver to avoid confusion
* Fix typo in comment
* Log if invoice was canceled by payer
* Automatically populate context from bolt11
* Fix missing context
* Fix wrap errors not logged
* Only log cancel if client canceled
* Remove unused imports
* Log withdrawal/forward success/error in payment flow
* Fix boss not passed to checkInvoice
* Fix TypeError
* Fix database timeouts caused by logger
The logger shares the same connection pool with any currently running transaction.
This means that we enter a classic deadlock when we await logger calls: the logger call is waiting for a connection but the currently running transaction is waiting for the logger call to finish before it can release a connection.
* Fix cache returning undefined
* Fix typo in comment
* Add padding-right to key in log context
* Always use 'incoming payment failed:'
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-11-08 13:26:40 -06:00
Keyan
a67ef43f6e
listen for local storage wallet changes ( #1552 )
2024-11-07 13:15:39 -06:00
Keyan
d117549348
fix lightning module resolution ( #1551 )
...
* fix tsx usage
* Revert "Revert "Merge pull request #1521 from riccardobl/tordev""
This reverts commit 4cc3780eca1f1390bdd331f0e418b9a7efd4347e.
* lightning module resolution
* fix our one test
2024-11-07 09:03:54 -06:00
k00b
4cc3780eca
Revert "Merge pull request #1521 from riccardobl/tordev"
...
This reverts commit 3112fc30d8b476c3682d6dc717bf0c83b50286a6, reversing
changes made to 803daed2dfe7171d317e9bf4bf02ed6a0962822c.
2024-11-05 20:08:33 -06:00
Riccardo Balbo
cd4fcdff83
Merge remote-tracking branch 'upstream/master' into inputdefault
2024-11-05 16:35:16 +01:00
Riccardo Balbo
7eb668e0e2
explicit default values
2024-11-05 16:27:48 +01:00
Keyan
7efd0899c8
Merge pull request #1539 from stackernews/fix-1538
...
fix #1538
2024-11-05 07:02:38 -06:00
Keyan
40ff3a83f4
Merge branch 'master' into tordev
2024-11-04 19:20:29 -06:00
k00b
db55cc7a00
fix 1538
2024-11-04 18:39:52 -06:00
Riccardo Balbo
0416ebbdd8
requiredWithout doesn't expect an array
2024-11-04 22:18:43 +01:00
Keyan
08b160d663
Merge branch 'master' into tordev
2024-11-03 14:52:21 -06:00
k00b
a4440c991f
add removeLocalWallets fixes from rblb
2024-11-03 01:15:10 -05:00
k00b
fb65ea3ace
fix removing server config on unsynced client vault
2024-11-03 01:09:45 -05:00
k00b
25facad5d9
merge master
2024-11-02 19:15:44 -05:00
Riccardo Balbo
9e39e0bd01
Merge branch 'master' into tordev
2024-11-03 00:36:42 +01:00
Riccardo Balbo
6cb4870595
Merge branch 'master' into blinkreceiver
2024-11-02 11:44:54 +01:00
Riccardo Balbo
5924de6172
Merge branch 'master' into tordev
2024-11-02 11:43:59 +01:00
Keyan
c68589597d
Merge pull request #1513 from stackernews/fix-hide-invoice-desc
...
Fix description of wrapped invoices don't respect privacy setting
2024-11-01 20:09:31 -05:00
k00b
dccfd21be4
make sure autowithdraw members are numbers
2024-10-31 18:25:15 -05:00
k00b
14ab51a730
fixes related to p2p zaps
2024-10-31 18:12:55 -05:00
k00b
7b4a33b354
fix wallet creation without vaultEntries
2024-10-31 17:54:47 -05:00
k00b
b8216740d4
final touches
2024-10-31 14:06:58 -05:00
k00b
3cfbaf4638
validate generated fields
2024-10-30 22:26:45 -05:00
k00b
b1fc341017
sync/desync from localstorage on vault connect/disconnect
2024-10-30 18:37:45 -05:00
k00b
0c8180d89c
fix active vault check and optional vaultEntries
2024-10-30 13:49:57 -05:00
k00b
dce5762f63
get vault working
2024-10-30 13:49:57 -05:00
k00b
84f5db4488
update wallet readme
2024-10-30 13:49:57 -05:00
k00b
e96982c353
refactor wallet validation
2024-10-30 13:49:57 -05:00
k00b
57603a936f
reorder priority
2024-10-30 13:49:57 -05:00
k00b
ccdf346954
server side config saves
2024-10-30 13:49:47 -05:00
k00b
4826ae5a7b
wip upsertWallet
2024-10-30 13:45:09 -05:00
k00b
2bdbb433df
webln saves at least *double kazoo*
2024-10-30 13:45:09 -05:00
k00b
48640cbed6
pages load *kazoo*
2024-10-30 13:45:05 -05:00
k00b
da020cf899
complete fantasy scaffolding
2024-10-30 13:44:18 -05:00
k00b
b61c957cc7
fix missing field from merge conflict resolution
2024-10-30 13:42:55 -05:00
Riccardo Balbo
1e68182cda
sender wallets: only test if enabled
2024-10-30 13:42:55 -05:00
Riccardo Balbo
00c047f09b
do not drop config on error (might be caused by temporary connection issues)
2024-10-30 13:42:55 -05:00
Riccardo Balbo
623b69df3a
skip wallet fetch for anon users
2024-10-30 13:42:55 -05:00
Riccardo Balbo
de0eb8a52c
ensure that wallets are configured to send and/or receive
2024-10-30 13:42:55 -05:00
Riccardo Balbo
240040f2a3
ensure wallets are kept in-sync between clients
2024-10-30 13:41:41 -05:00
Riccardo Balbo
1beac3a405
ensure wallet id is in sync before saving the config
2024-10-30 13:41:41 -05:00
Riccardo Balbo
a6665bca6a
fix priority sorting for send wallets,caching and sorting
2024-10-30 13:41:41 -05:00
Riccardo Balbo
40f24236fd
show enabled only if configured to receive or send (handle client settings wipe)
2024-10-30 13:41:41 -05:00
Riccardo Balbo
2ef7651421
optimize api calls, remove useless effects
2024-10-30 13:41:41 -05:00
Riccardo Balbo
aded5ac422
fixes
2024-10-30 13:41:41 -05:00
Riccardo Balbo
87c5634b55
add debug log
2024-10-30 13:41:41 -05:00