Skip to content
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

Lightning Network Channels #1133

Merged
merged 42 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e7dc46c
WIP restarting node/read channel_manager from file
shamardy Oct 19, 2021
9e5ab02
WIP: LN Registry for register_tx & register_output
shamardy Oct 21, 2021
bdcd988
update transactions confirmations on node restart
shamardy Oct 23, 2021
e13f593
reconnect to channel peers on node restart
shamardy Oct 25, 2021
3ea3aaf
connect to LN node RPC + WIP lightning ctx
shamardy Oct 27, 2021
846ecee
continued lightning ctx impl for multiple coins
shamardy Oct 28, 2021
cef620d
open_channel RPC
shamardy Oct 28, 2021
36691ce
withdraw to p2wsh addresses + funding tx WIP
shamardy Oct 30, 2021
7d6d9dd
fix zhtlc build
shamardy Oct 30, 2021
4cf3cd9
extract_destinations for p2wsh
shamardy Nov 1, 2021
a0b0751
generate/broadcast funding tx (channel opening tx)
shamardy Nov 3, 2021
9202cf3
update rust-lightning to v0.0.102
shamardy Nov 4, 2021
fce783b
update rust-lightning to v0.0.103
shamardy Nov 4, 2021
dcd8843
fix reconnection to open channels nodes on restart
shamardy Nov 4, 2021
135db9c
save nodes to file fix + order txs to confirm
shamardy Nov 5, 2021
424947a
add fee param to open_channel RPC + refactors
shamardy Nov 9, 2021
fde1c1c
use scripthash_get_history to get tx block height
shamardy Nov 11, 2021
e8d92b8
remove unneeded comments
shamardy Nov 11, 2021
9d621c2
Merge remote-tracking branch 'origin/dev' into ln-channels
shamardy Nov 11, 2021
f1fd177
WIP:Review fixes, ChannelOpenAmount, UtxoTxBuilder
shamardy Nov 15, 2021
5137f90
WIP: Review fixes, use get_tx_fee for funding tx
shamardy Nov 16, 2021
05ad87d
remove WithdrawFee, fix unit test
shamardy Nov 16, 2021
ab911f0
WIP: review fixes, use find_output_spend fn
shamardy Nov 17, 2021
b0a2d50
WIP: review fixes, separate dirs for tickers
shamardy Nov 18, 2021
c0caf10
WIP: Review fixes, request_id fix on restart
shamardy Nov 18, 2021
80fa54f
WIP: review fixes, LightningCoin
shamardy Nov 20, 2021
5d8a1ad
final fixes: move ln_registry, fix fee with max
shamardy Nov 22, 2021
93ef490
Merge remote-tracking branch 'origin/dev' into ln-channels
shamardy Nov 22, 2021
27600e3
second review fixes
shamardy Nov 23, 2021
18a9a4b
WIP: review fixes, OpenChannelRequest fix, others
shamardy Nov 24, 2021
3694e19
Review fixes: enable_l2, enable_lightning
shamardy Nov 25, 2021
8ae7ecd
remove lightning from lp_coininit
shamardy Nov 26, 2021
31aa280
Merge remote-tracking branch 'origin/dev' into ln-channels
shamardy Nov 26, 2021
7ff4b28
use virtual bytes to calculate tx fees
shamardy Nov 29, 2021
3429e11
WIP: more review fixes
shamardy Nov 30, 2021
c35da25
WIP: review fixes, remove block_on
shamardy Dec 1, 2021
e8948a4
WIP: review fixes, impl EventHandler trait
shamardy Dec 1, 2021
adc12a8
WIP: add validation methods to L2ActivationOps
shamardy Dec 1, 2021
794d4b1
Review fixes, add unsigned_funding_txs mutex
shamardy Dec 2, 2021
1c8f6ae
review fixes: NO_SUCH_TRANSACTION_ERROR
shamardy Dec 6, 2021
6ab6a97
use 'code': -5 to check for tx unconfirmation
shamardy Dec 8, 2021
4996e6f
add get_merkle method, use tx index to confirm it
shamardy Dec 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions mm2src/coins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jsonrpc-core = "8.0.1"
keys = { path = "../mm2_bitcoin/keys" }
lazy_static = "1.4"
libc = "0.2"
lightning = "0.0.101"
lightning = "0.0.103"
metrics = "0.12"
mocktopus = "0.7.0"
num-traits = "0.2"
Expand Down Expand Up @@ -78,9 +78,9 @@ web-sys = { version = "0.3.4", features = ["console", "Headers", "Request", "Req

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dirs = { version = "1" }
lightning-background-processor = "0.0.101"
lightning-persister = "0.0.101"
lightning-net-tokio = "0.0.101"
lightning-background-processor = "0.0.103"
lightning-persister = "0.0.103"
lightning-net-tokio = "0.0.103"
rusqlite = { version = "0.24.2", features = ["bundled"], optional = true }
rust-ini = { version = "0.13" }
rustls = { version = "0.19", features = ["dangerous_configuration"] }
Expand Down
Loading