Repository navigation
feat: add spark via breez sdk #1697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+14,282
−464
Merged
Changes from all commits
Commits
Show all changes
140 commits
Select commit
Hold shift + click to select a range
ab1b09d
feat: add spark via breez sdk
ovitrif 4632e70
feat: spark chain service on bitkit electrs
ovitrif 4e22b9c
chore: bump spark sdk to 0.28.0
ovitrif 2f483bd
chore: merge master
ovitrif 9b76a13
fix: harden spark backup, wipe, sends and withdrawals
ovitrif b29e9e5
fix: settle spark payments, deposits and fundings
ovitrif 07440f6
fix: settle each lightning send from its own rail
ovitrif 2aba121
fix: receive amountless invoices on spark
ovitrif d4a0dd1
fix: auto-pay allowances over spark without a node
ovitrif 125e7c1
fix: keep the receive rule for plain invoices
ovitrif 321412b
fix: check a paykit payment is still allowed right before it sends
ovitrif d6afbaa
Merge remote-tracking branch 'origin/master' into feat/breez-spark-li…
ovitrif 7083719
fix: never pay an invoice on both rails
ovitrif 891e355
fix: redo spark's exit backup only when it connects
ovitrif d93b131
fix: cap spark send fees at the node's default limit
ovitrif c85259f
fix: refuse a node retry while spark is still sending
ovitrif bf734b5
fix: hold spark's receive refresh until a restore reads its backup
ovitrif 4e59bce
fix: retain spark send-all funding receipts
ovitrif 83356a2
fix: resolve payment pending after a spark funding recovery
ovitrif 23d9b7c
fix: pay channel-only savings swaps from the node
ovitrif 85986cd
fix: fit spark's funds in transfer steps above the buttons
ovitrif d5297dd
fix: open the hardware transfer from funding when spark is ready
ovitrif 136566a
fix: hold node sends while spark's history is unreadable
ovitrif 1a8dff0
fix: back up spark's exit data once per connection
ovitrif 384bf12
fix: leave the funding flow after a spark funding recovery
ovitrif de16298
test: let the amount change journey keep two inputs at the shown fee
ovitrif 4e894e4
fix: release spark send records spark reports failed
ovitrif 19e15b2
fix: keep the speed fee on one line in spending confirm
ovitrif 09eac5b
fix: release spark sends that failed while the app was closed
ovitrif 9f44c5b
fix: leave spending confirm once a kept spark funding completes
ovitrif 8dee167
fix: keep a spark send held while its retry is live
ovitrif fa02b81
fix: keep the funding screen's claim speed on a recovered funding
ovitrif 439d163
fix: read spark's sends in quickpay's payment lookup
ovitrif fd854d3
fix: keep a payment's note when spark replays its activity
ovitrif a88a943
fix: never downgrade a paid activity on a spark replay
ovitrif aa61e5b
fix: let the open funding screen own a kept spark funding
ovitrif aaafd92
fix: show the later speed when spark adds a transfer at 3 confirmations
ovitrif 767f0eb
fix: refuse a sub-sat withdrawal spark can't invoice exactly
ovitrif 2de7b6b
Merge remote-tracking branch 'origin/master' into feat/breez-spark-li…
ovitrif a180df6
fix: reconcile quickpay again once spark syncs
ovitrif 984a21b
fix: keep a kept spark funding owned until the funding screen closes
ovitrif 7b7bdc0
fix: hold a spark retry that starts during the activity sync
ovitrif 665641e
fix: drop the empty super call in spark funding
ovitrif f811bca
fix: keep a pending spark retry over the channel's older failure
ovitrif ecf9e53
fix: hold node retries until spark's history has synced
ovitrif d31e9f0
fix: post raw transactions as text/plain through the spark regtest proxy
ovitrif 3f6c517
fix: keep a spark retry pending on spark's record, not write times
ovitrif 192b71e
fix: back up spark exit data that changed while backups were stopped
ovitrif b774fcb
Merge remote-tracking branch 'origin/master' into feat/breez-spark-li…
ovitrif c5d5b46
fix: hold on-chain spark funding off a chain spark doesn't watch
ovitrif 9164635
test: cover private invoice rotation for spark receipts
ovitrif d9d0e21
test: name the unit test the amount change journey relies on
ovitrif f6bd0e0
test: pin which rails a unified invoice offers
ovitrif 327ad44
fix: refresh the receive invoice once a restore ends
ovitrif 6baceed
fix: spark transfer, send and claim edge cases
ovitrif 8afe67c
fix: earlier node sends and early-claim cap clearing
ovitrif 8590ce0
fix: recheck spark before the savings swipe commits
ovitrif 99b81bc
fix: keep pending send hashes past the cap
ovitrif a836440
fix: bound stored send hashes
ovitrif 9349700
fix: refuse a spark funding that changed after approval
ovitrif 14eac0a
fix: retry spark activity that failed to save
ovitrif fc4d936
fix: keep spark activity details when its read fails
ovitrif 309b186
fix: keep paid send guards until their invoices expire
ovitrif 9e53798
fix: withdraw spark to savings at the confirmed fee
ovitrif 9b555f5
fix: drop node send hashes listed only as failed
ovitrif a8c7e86
fix: trim send hashes by invoice expiry on both rails
ovitrif 02b16e9
fix: claim an older spark funding only at its own approval
ovitrif 95f1c9a
fix: restore the spending amount screen layout
ovitrif 73806c5
fix: restore the setting up screen illustration and steps
ovitrif 1583dc9
fix: align the spending speed picker with the fee rows
ovitrif 0b423bf
fix: match the savings intro to figma
ovitrif fb9bd11
fix: add the menu icon to savings availability
ovitrif 1dda91a
fix: match the savings confirm screen to figma and ios
ovitrif cb34f64
fix: show the spark failure on the savings progress screen
ovitrif acdd57d
fix: put the lightning connections buttons side by side
ovitrif 74b5e4e
fix: capitalise the spending wallet transfer button
ovitrif 13d6c33
fix: match the spending receive onboarding to figma and ios
ovitrif 97951b8
fix: use the master copy for the transfer minimum toast
ovitrif f3c47be
fix: end a restore whose gate lapses by its timeout
ovitrif df7c061
chore: move the spark chain service kdoc back to its function
ovitrif a87c393
fix: leave a spark balance too small to move out of savings
ovitrif e5a85a8
fix: trim unlisted expired send hashes and keep spark retries
ovitrif 282360e
fix: keep the spark balance shown after a failed withdrawal
ovitrif e6c7395
fix: list a spark deposit claimed early only once
ovitrif 93a045d
fix: bind a fixed spark funding to its confirmed fee
ovitrif 81e1f8f
fix: clear the kept spark balance once spark syncs
ovitrif 41a6352
fix: keep a node retry's hold through an older listing
ovitrif bc2513f
fix: fit the spending amount number pad to the screen
ovitrif 918279a
fix: size the funds in transfer rings and arrows like ios
ovitrif 18cad43
fix: size the funds moved check to the screen width
ovitrif fb3de0b
fix: use the ios copy for the repriced instant transfer
ovitrif 63e668d
fix: mark to spending as an estimate at both speeds
ovitrif d5d3489
fix: keep the savings confirm piggybank at full size
ovitrif fee40c7
fix: size the receive on spending card to figma
ovitrif f7bb9c4
fix: drop a pending transfer quote when the amount screen leaves
ovitrif 7c8b0ee
fix: name the new amount when a max transfer changes at swipe
ovitrif ebb1e18
fix: keep a send that ends during a listing held
ovitrif ec59119
fix: keep a send whose invoice never expires held
ovitrif c4b60bc
docs: say a fixed spark funding's fee is bound too
ovitrif 3006dba
fix: hide only the claimed output of a deposit tx
ovitrif 8694e2f
fix: sync balances when the read spark balance recovers
ovitrif bdf3584
fix: treat spark's below-minimum quote refusal as too small
ovitrif 77d5aff
test: run the amount change journey on the local spark regtest
ovitrif 66131bf
fix: admit one rail's send of an invoice at a time
ovitrif 8ad1b5f
fix: keep an uncertain spark send pending until spark syncs
ovitrif 5234dc1
fix: hold the node retry while a spark send is uncertain
ovitrif d4277a6
fix: keep the instant claim follower after a failed early claim
ovitrif cc8e1c1
fix: drop the spark send hash when its deadline can't be set
ovitrif 413ec0a
docs: move the expired-invoice comment onto its check
ovitrif c383c69
fix: resolve a re-paid invoice the node already paid
ovitrif b87908e
fix: skip node failure events for a spark send
ovitrif 25e4dd9
fix: clear the cached spark withdrawal address on a new transfer
ovitrif 4f437dd
fix: re-quote the spark withdrawal fee on a new transfer
ovitrif 3392b9e
fix: clear the spark withdrawal fee after a refusal
ovitrif 9b245b0
fix: finish channel closes after leaving the withdrawal progress
ovitrif 12e3b61
fix: show the recovery for a spark funding with an unknown outcome
ovitrif 2c12444
fix: follow a kept funding that completes off the confirm screen
ovitrif 2ac83db
fix: fail quickpay on a spark refusal
ovitrif 4ae1618
fix: keep the transfer flag on a restored spark funding
ovitrif 477e9a0
chore: merge master into feat/breez-spark-lightning
ovitrif c11e5ca
fix: keep an uncertain spark send pending past an older failed row
ovitrif 990d76d
fix: settle an uncertain spark send on spark's next sync
ovitrif cc942e7
fix: record the spark rail when its send is admitted
ovitrif d33ff51
fix: fail a spark send while the node can't confirm its earlier send
ovitrif b1595fe
fix: keep each savings transfer's own channels to close
ovitrif b01dee5
test: pin the amount change journey to bitkit-docker's spark regtest …
ovitrif 3435dc8
fix: keep a missing spark send pending until its invoice expires
ovitrif 4a29667
fix: send spark's savings withdrawal once per transfer
ovitrif 52a3e63
fix: fund a new spark transfer amount after a followed funding
ovitrif 166d1c0
fix: hold an unlisted spark send after a restart until its invoice ex…
ovitrif 1182bb2
chore: drop a stale spark kdoc
ovitrif 50bc48b
fix: count spark as synced only when its wallet sync succeeded
ovitrif 7962bd4
fix: count spark as synced only once a wallet sync succeeded
ovitrif 7b247f3
fix: hold a spark send spark may still resume in its send lookup
ovitrif 515a606
fix: withdraw spark to savings only when both read one chain
ovitrif 568e277
fix: hold a spark send spark may resume while it can't list
ovitrif b3298a0
fix: let spark wallets pay each other's invoices as transfers on regtest
ovitrif 5953744
fix: pay between spark wallets over lightning on regtest
ovitrif 6cdf592
fix: keep an unresolved spark retry held across restarts
ovitrif 4f10f8d
fix: hold a spark send cut off mid-call and read it as pending
ovitrif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.