Commit 7dace4e
authored
* WIP: Channels history in SQL storage
* review fixes: specific types, add serialization tests
* WIP: refactor start_lightning fn
* WIP: continue refactoring start_lightning fn
* WIP: refactoring, add init_channel_manager fn
* WIP: refactoring, ln_p2p
* WIP: refactoring, ln_platform
* Refactor completed
* WIP: use user_channel_id as channel id in rpc calls to avoid using temp id
* Channels in sql WIP: add pending outbound channel to sql
* Channels sql WIP: get channel and add funding_tx
* Channels sql WIP: add funding tx to sql after FundingGenerationReady event
* Channels sql WIP: add closure_reason to sql table
* Channels sql WIP: update channel to closed in sql
* Channels sql WIP: get closed channels in list_channels response
* Channels sql WIP: get closed channel by rpc_id in get_channel_details response
* Channels sql WIP: add closing transaction to sql
* outbound channels history in sql completed
* Payments in sql WIP: add/get payment to/from sql
* Payments in sql completed
* update rust-lightning to v0.0.105
* set manually_accept_inbound_channels to true to be able to add them to sql in the future
* correct calculation of claimed balances
* add destination to payment info
* add description to payment info
* add created/updated at to payment info, wip: list payments by filter
* list_payments_by_filter completed, pagination completed
* list channels by filter for open and closed
* fix wasm build
* part of review fixes
* part of review fixes: save_channel_closing_details function
* review fixes wip: simplify find_watched_output_spend_with_header
* review fixes
* reviw fix for funding_generated_in_block
* fix saving closing tx to db issues if electrums are down
* review fixes: better grouping of SqlStorage trait functions + added descriptions
* review fixes: add get_open_channels_by_filter fn
* review fixes wip: some refactors
* review fixes wip: default_fee_per_kb, refactors
* review fixes: use try_loop_with_sleep macro wip
* review fixes
* remove wasm warnings
* destination can't be None in OutboundPayment
* empty string for description instead of an option
* Review fixes: refactors
* review fixes wip
* wip: more review fixes
* review fixes: inline, refactors
* sql_text_conversion_err, h256_slice_from_row
1 parent 3b79a87 commit 7dace4e
30 files changed
Lines changed: 4059 additions & 1430 deletions
File tree
- mm2src
- coins_activation/src
- coins
- lightning_background_processor
- src
- lightning_persister
- src
- lightning
- utxo
- common
- db_common
- src
- mm2_bitcoin/rpc/src/v1/types
- mm2_tests
- rpc/dispatcher
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
3100 | 3100 | | |
3101 | 3101 | | |
3102 | 3102 | | |
3103 | | - | |
| 3103 | + | |
3104 | 3104 | | |
3105 | 3105 | | |
3106 | 3106 | | |
3107 | 3107 | | |
3108 | 3108 | | |
3109 | | - | |
| 3109 | + | |
3110 | 3110 | | |
3111 | 3111 | | |
3112 | 3112 | | |
| |||
0 commit comments