-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- RGB Core Library is extracted and externalized from LNP/BP Core Library to <https://github.com/rgb-org/rgb-core> - LNP Core Library is extracted and externalized from LNP/BP Core Library <https://github.com/LNP-BP/lnb-core> - Internet2 repo & crates are extracted & externalized from LNP/BP Core Library <https://github.com/internet-org/rust-internet2> - Bitcoin descriptors wallet repo & crates are extracted & externalized from LNP/BP Core Library to <https://github.com/LNP-BP/descriptor-wallet> - Repository split into multiple crates (lnpbp, client_side_validation, strict_encoding, strict_encoding_derive) - Serde encoding fixes (proper use of `serde_as` for wrapped types) - Miniscript 4.0 & bitcoin 0.26 migration - Refactored unified network address format & encodings (inside strict_encoding) - Refactored deterministic bitcoin commitments (LNPBP-4)
- Loading branch information
1 parent
9d7115f
commit 27322f4
Showing
8 changed files
with
61 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "lnpbp" | ||
version = "0.3.0-beta.1+5" | ||
version = "0.3.0" | ||
license = "MIT" | ||
authors = ["Dr. Maxim Orlovsky <[email protected]>"] | ||
description = "LNP/BP Core Library implementing LNPBP specifications & standards" | ||
|
@@ -37,25 +37,25 @@ crate-type = ["rlib", "staticlib"] | |
# ----------------------------------------- | ||
amplify = { version = "3", features = ["stringly_conversions"] } | ||
amplify_derive = "2.4.3" | ||
strict_encoding = { version = "1.0.0-rc.6", features = ["miniscript"] } | ||
strict_encoding_derive = "1.0.0-rc.1" | ||
client_side_validation = { version = "1.0.0-rc.2", path = "client_side_validation" } | ||
strict_encoding = { version = "1", features = ["miniscript"] } | ||
strict_encoding_derive = { version = "1" } | ||
client_side_validation = { version = "0.3" } | ||
descriptor-wallet = "0.3" | ||
# Dependencies on core rust-bitcoin ecosystem projects | ||
# ---------------------------------------------------- | ||
bitcoin = { version = "~0.26.0", features = ["rand"] } | ||
bitcoin_hashes = "~0.9.4" # we need macro from here | ||
# <https://github.com/LNP-BP/LNPBPs/blob/master/lnpbp-0002.md#deterministic-public-key-extraction-from-bitcoin-script> | ||
# We have to fix version of miniscript as required by LNPBP-2 specification | ||
miniscript = { version = "=5.0.0", features = ["compiler"] } | ||
descriptor-wallet = "~0.3.0-rc.3" | ||
# Serialization | ||
# ------------- | ||
# This strange naming is a workaround for cargo inability to define required | ||
# features for a dependency. See | ||
# <https://github.com/rust-lang/api-guidelines/issues/180> for the explanation | ||
# and references. | ||
serde_crate = { package = "serde", version = "1.0", features = ["derive"], optional = true } | ||
serde_with = { version = "1.5", features = ["hex"], optional = true } | ||
serde_crate = { package = "serde", version = "~1.0.0", features = ["derive"], optional = true } | ||
serde_with = { version = "~1.5.0", features = ["hex"], optional = true } | ||
serde_with_macros = { version = "~1.2.0", optional = true } # Fix for the problem in 1.3.0 | ||
# Core rust projects | ||
# ------------------ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "client_side_validation" | ||
version = "1.0.0-rc.2+1" | ||
version = "0.3.0" | ||
license = "Apache-2.0" | ||
authors = ["Dr. Maxim Orlovsky <[email protected]>"] | ||
description = "Client-side validation library" | ||
|
@@ -20,7 +20,7 @@ crate-type = ["dylib", "rlib", "staticlib"] | |
[dependencies] | ||
amplify = "3" | ||
amplify_derive = "2.4.3" | ||
strict_encoding = { version = "1.0.0-rc.3", features = [] } | ||
strict_encoding = { version = "1", features = [] } | ||
bitcoin_hashes = "0.9" | ||
grin_secp256k1zkp = { version = "0.7", optional = true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "strict_encoding" | ||
version = "1.0.0-rc.6+3" | ||
version = "1.0.1" | ||
license = "Apache-2.0" | ||
authors = ["Dr. Maxim Orlovsky <[email protected]>"] | ||
description = "Strict encoding: deterministic binary serialization for networking & client-side validation" | ||
|
@@ -15,12 +15,12 @@ exclude = ["derive"] | |
[lib] | ||
name = "strict_encoding" | ||
path = "src/lib.rs" | ||
crate-type = ["dylib", "rlib", "staticlib"] | ||
crate-type = ["rlib", "staticlib"] | ||
|
||
[dependencies] | ||
amplify = "3" | ||
amplify_derive = "2.4.3" | ||
strict_encoding_derive = { version = "1.0.0-rc.1", path = "./derive", optional = true } | ||
strict_encoding_derive = { version = "1", optional = true } | ||
bitcoin = "0.26" # TODO: Replace on bitcoin encoding crate with 0.27 release | ||
miniscript = { version = "5", optional = true } | ||
ed25519-dalek = { version = "1", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "strict_encoding_derive" | ||
version = "1.0.0-rc.1" | ||
version = "1.0.0" | ||
license = "Apache-2.0" | ||
authors = ["Dr. Maxim Orlovsky <[email protected]>"] | ||
description = "Strict encoding derivation macro" | ||
|