]> git.bitcoin.ninja Git - ldk-sample/log
ldk-sample
3 years agoMake everything unreadable so rustfmt is happy
Matt Corallo [Tue, 4 May 2021 20:07:59 +0000 (20:07 +0000)]
Make everything unreadable so rustfmt is happy

3 years agoConnect to peers with tokio TcpStreams isntead of blocking tokio
Matt Corallo [Tue, 4 May 2021 20:02:27 +0000 (20:02 +0000)]
Connect to peers with tokio TcpStreams isntead of blocking tokio

3 years agoFix inbound connections by using tokio net instead of std
Matt Corallo [Tue, 4 May 2021 19:42:02 +0000 (19:42 +0000)]
Fix inbound connections by using tokio net instead of std

3 years agoAdopt rustfmt's completely braindead expected formatting
Matt Corallo [Tue, 4 May 2021 18:47:06 +0000 (18:47 +0000)]
Adopt rustfmt's completely braindead expected formatting

3 years agoPrint the local Node ID on startup
Matt Corallo [Tue, 4 May 2021 18:37:14 +0000 (18:37 +0000)]
Print the local Node ID on startup

3 years agoBump to release 0.0.14
Matt Corallo [Tue, 4 May 2021 18:06:25 +0000 (18:06 +0000)]
Bump to release 0.0.14

3 years agoCheck that the node we connect to matches the user-provided chain
Matt Corallo [Tue, 4 May 2021 17:44:04 +0000 (17:44 +0000)]
Check that the node we connect to matches the user-provided chain

3 years agoMake an initial dummy RPC call to check that the connection works
Matt Corallo [Tue, 4 May 2021 17:10:18 +0000 (17:10 +0000)]
Make an initial dummy RPC call to check that the connection works

This provides a much better panic message if the RPC password is
incorrect.

3 years agoSet panic = abort as we don't want to keep running if we panic.
Matt Corallo [Tue, 4 May 2021 17:09:32 +0000 (17:09 +0000)]
Set panic = abort as we don't want to keep running if we panic.

3 years agoFix minor indentation issue
Matt Corallo [Tue, 4 May 2021 16:17:22 +0000 (16:17 +0000)]
Fix minor indentation issue

3 years agoMerge pull request #4 from valentinewallace/sample-v0
Jeffrey Czyz [Tue, 4 May 2021 00:21:10 +0000 (17:21 -0700)]
Merge pull request #4 from valentinewallace/sample-v0

Sample v0

3 years agoUpdate to latest RL + fix step numbers + nodeinfo + listpeers commands
Valentine Wallace [Sun, 2 May 2021 21:22:44 +0000 (17:22 -0400)]
Update to latest RL + fix step numbers + nodeinfo + listpeers commands

3 years agoAdapt to the lightning_invoice crate moving to Rust-Lightning
Valentine Wallace [Wed, 14 Apr 2021 19:02:56 +0000 (15:02 -0400)]
Adapt to the lightning_invoice crate moving to Rust-Lightning

3 years agoCheck payment secret before succeeding payment
Valentine Wallace [Wed, 14 Apr 2021 18:58:27 +0000 (14:58 -0400)]
Check payment secret before succeeding payment

3 years agoSplit payments hashmap into inbound and outbound
Valentine Wallace [Wed, 14 Apr 2021 18:25:14 +0000 (14:25 -0400)]
Split payments hashmap into inbound and outbound

To prevent clashes between payment hashes

3 years agoRemove HTLCDirection struct
Valentine Wallace [Wed, 14 Apr 2021 15:31:11 +0000 (11:31 -0400)]
Remove HTLCDirection struct

We're going to split payment storage into two maps, one for
inbound and one for outbound.

3 years agoSatoshiAmount -> MillisatAmount and PaymentInfo struct
Valentine Wallace [Wed, 14 Apr 2021 02:35:26 +0000 (22:35 -0400)]
SatoshiAmount -> MillisatAmount and PaymentInfo struct

3 years agoUpdate to latest upstream RL
Valentine Wallace [Wed, 14 Apr 2021 02:34:45 +0000 (22:34 -0400)]
Update to latest upstream RL

3 years agoMove startup to separate from `main` for better errors
Valentine Wallace [Wed, 14 Apr 2021 02:23:47 +0000 (22:23 -0400)]
Move startup to separate from `main` for better errors

3 years agoInclude min_final_cltv when generating invoices
Valentine Wallace [Fri, 2 Apr 2021 19:36:17 +0000 (15:36 -0400)]
Include min_final_cltv when generating invoices

3 years agoRead routehints from invoices when sending a payment
Valentine Wallace [Fri, 2 Apr 2021 19:35:52 +0000 (15:35 -0400)]
Read routehints from invoices when sending a payment

3 years agoRemove unnecessary todo
Valentine Wallace [Fri, 2 Apr 2021 19:31:07 +0000 (15:31 -0400)]
Remove unnecessary todo

3 years agoUpdate to RL master and fix PendingHTLCsForwardable
Valentine Wallace [Tue, 30 Mar 2021 18:56:55 +0000 (14:56 -0400)]
Update to RL master and fix PendingHTLCsForwardable

3 years agoPost-async refactor cleanup
Valentine Wallace [Tue, 30 Mar 2021 17:44:17 +0000 (13:44 -0400)]
Post-async refactor cleanup

3 years agoInitial refactor to add tokio::main and be fully async
Valentine Wallace [Wed, 24 Mar 2021 20:03:57 +0000 (16:03 -0400)]
Initial refactor to add tokio::main and be fully async

3 years agoworking before async refactor
Valentine Wallace [Fri, 19 Mar 2021 22:37:28 +0000 (18:37 -0400)]
working before async refactor

3 years agoadd rustfmt + CI + other fixups
Valentine Wallace [Fri, 19 Mar 2021 20:26:43 +0000 (16:26 -0400)]
add rustfmt + CI + other fixups

3 years agoForward HTLCs after a timeout and a few other cleanups
Valentine Wallace [Thu, 18 Mar 2021 22:30:20 +0000 (18:30 -0400)]
Forward HTLCs after a timeout and a few other cleanups

3 years agoAdd readme, fix license and a few other cleanups
Valentine Wallace [Thu, 18 Mar 2021 16:00:01 +0000 (12:00 -0400)]
Add readme, fix license and a few other cleanups

3 years agoNext draft. Features: connectpeer, listchannels, sendpayment, autoreconnect to chan...
Valentine Wallace [Wed, 3 Mar 2021 23:44:05 +0000 (18:44 -0500)]
Next draft. Features: connectpeer, listchannels, sendpayment, autoreconnect to chan peers on startup

3 years agoInitial node
Valentine Wallace [Tue, 2 Mar 2021 20:54:17 +0000 (15:54 -0500)]
Initial node

3 years agoFee estimator WIP
Valentine Wallace [Wed, 24 Feb 2021 00:29:56 +0000 (19:29 -0500)]
Fee estimator WIP

3 years agoInitial commit
Valentine Wallace [Tue, 9 Feb 2021 18:00:55 +0000 (13:00 -0500)]
Initial commit

3 years agoMerge pull request #3 from jkczyz/2021-03-dual-license
Jeffrey Czyz [Wed, 3 Mar 2021 06:17:34 +0000 (22:17 -0800)]
Merge pull request #3 from jkczyz/2021-03-dual-license

Apache 2.0 / MIT dual license

3 years agoApache 2.0 / MIT dual license
Jeffrey Czyz [Wed, 3 Mar 2021 05:56:35 +0000 (21:56 -0800)]
Apache 2.0 / MIT dual license

3 years agoInitial commit
Jeffrey Czyz [Sat, 30 Jan 2021 06:08:13 +0000 (22:08 -0800)]
Initial commit