Skip to content

Commit

Permalink
v0.1.0-alpha.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Nov 1, 2020
1 parent 567c435 commit 4f14b5b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 19 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
Change Log
==========

v0.1.0-alpha.4
--------------

- Daemon management with LNPd
- Connection initialisation cycle
- Much better reporting in console tool
- Completed set of command-line management & information commands
- Improved channel creation lifecycle
- Multiple improvements to debugging information representation

v0.1.0-alpha.3
--------------

- Channel negotiation between nodes
- Reworked service buses
- Reworked service buses; added inter-daemon routing
- Separated general service runtime functionality

v0.1.0-alpha.2
Expand Down
14 changes: 9 additions & 5 deletions Cargo.lock

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

17 changes: 6 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lnp_node"
description = "LNP node"
version = "0.1.0-alpha.3"
version = "0.1.0-alpha.4"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
license = "MIT"
keywords = ["bitcoin", "node", "lightning-network", "smart-contracts", "rgb"]
Expand Down Expand Up @@ -37,9 +37,9 @@ required-features = ["cli"]
# LNP/BP crates
amplify = "~2.2.1"
amplify_derive = "~2.2.2"
lnpbp = { git = "git://github.com/LNP-BP/rust-lnpbp", features = ["lnp", "url", "websockets"] }
lnpbp_derive = { git = "git://github.com/LNP-BP/rust-lnpbp" }
lnpbp_services = { git = "git://github.com/LNP-BP/rust-lnpbp" }
lnpbp = { version = "~0.2.0-beta.1", features = ["lnp", "url", "websockets"] }
lnpbp_derive = "=0.2.0-beta.1"
lnpbp_services = "=0.2.0-beta.1"
lazy_static = "~1.4.0"
# Rust language
nix = { version = "~0.19.0", optional = true }
Expand Down Expand Up @@ -73,8 +73,8 @@ zmq = { version = "~0.9.2", optional = true }
[build-dependencies]
amplify = "~2.2.1"
amplify_derive = "~2.2.2"
lnpbp = { git = "git://github.com/LNP-BP/rust-lnpbp", features = ["lnp", "url", "websockets"] }
lnpbp_services = { git = "git://github.com/LNP-BP/rust-lnpbp" }
lnpbp = { version = "=0.2.0-beta.1", features = ["lnp", "url", "websockets"] }
lnpbp_services = "=0.2.0-beta.1"
clap = "=3.0.0-beta.2"
clap_generate = "=3.0.0-beta.2"
log = { version = "~0.4.8", features = ["max_level_trace", "release_max_level_debug"] }
Expand All @@ -86,11 +86,6 @@ configure_me_codegen = "~0.3.14"
# Remove this once https://github.com/jean-airoldie/zeromq-src-rs/pull/15 got merged
# zeromq-src = { git = "https://github.com/LNP-BP/zeromq-src-rs", branch = "fix/cmake" }

# This fixing Display implementation for ParseOrSemanticError and must be
# removed once the corresponding PR will be merged:
# <https://github.com/rust-bitcoin/rust-lightning-invoice/pull/43>
lightning-invoice = { git = "git://github.com/LNP-BP/rust-lightning-invoice", branch = "fix/error" }

# Recommended set of features:
# 1. Standalone node: `server` (=`node`+`shell`)
# 2. Cli to remote node: `cli` (auto includes `shell` and `integration`)
Expand Down
6 changes: 4 additions & 2 deletions src/cli/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use clap::{AppSettings, Clap};
use std::net::IpAddr;
use std::str::FromStr;

use lnpbp::lnp::{ChannelId, FramingProtocol, Invoice, PartialNodeAddr};
use lnpbp::lnp::{ChannelId, FramingProtocol, PartialNodeAddr};

/// Command-line tool for working with LNP node
#[derive(Clap, Clone, PartialEq, Eq, Debug)]
Expand Down Expand Up @@ -140,7 +140,9 @@ pub enum Command {
Pay {
/// Invoice bech32 string
#[clap()]
invoice: Invoice,
// TODO: Replace with `Invoice` type once our fix will get merged:
// <<https://github.com/rust-bitcoin/rust-lightning-invoice/pull/43>>
invoice: String,

/// Channel from which the payment should happen
#[clap()]
Expand Down

0 comments on commit 4f14b5b

Please sign in to comment.