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

multi: add license to sim-lib and sim-cli #203

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ resolver = "2"

members = [
"sim-cli",
"sim-lib",
"simln-lib",
]
3 changes: 2 additions & 1 deletion sim-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "sim-cli"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = """
Instantly simulate real-world Lightning network activity
"""
Expand All @@ -16,7 +17,7 @@ log = "0.4.20"
serde = "1.0.183"
serde_json = "1.0.104"
simple_logger = "4.2.0"
sim-lib = { path = "../sim-lib" }
simln-lib = { path = "../simln-lib" }
tokio = { version = "1.26.0", features = ["full"] }
bitcoin = { version = "0.30.1" }
ctrlc = "3.4.0"
Expand Down
5 changes: 2 additions & 3 deletions sim-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use bitcoin::secp256k1::PublicKey;
use sim_lib::SimulationCfg;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Arc;
Expand All @@ -9,9 +8,9 @@ use anyhow::anyhow;
use clap::builder::TypedValueParser;
use clap::Parser;
use log::LevelFilter;
use sim_lib::{
use simln_lib::{
cln::ClnNode, lnd::LndNode, ActivityDefinition, LightningError, LightningNode, NodeConnection,
NodeId, SimParams, Simulation, WriteResults,
NodeId, SimParams, Simulation, SimulationCfg, WriteResults,
};
use simple_logger::SimpleLogger;

Expand Down
7 changes: 4 additions & 3 deletions sim-lib/Cargo.toml → simln-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "sim-lib"
name = "simln-lib"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = """
Backend logic of the SimLN project. Contains all the functionality to build your own simulator
Components to build a network-agnostic lightning payments simulator. Used as the backend for the Sim-LN project.
"""

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down Expand Up @@ -33,4 +34,4 @@ mockall = "0.12.1"
rand_chacha = "0.3.1"

[dev-dependencies]
ntest = "0.9.0"
ntest = "0.9.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.