Skip to content

Commit

Permalink
v0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 8, 2021
1 parent be93316 commit 6e7bde0
Show file tree
Hide file tree
Showing 35 changed files with 161 additions and 137 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
- run: cd derive && cargo publish --all-features; sleep 30
- run: cargo publish --all-features; sleep 30
- run: cargo publish --all-features
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "descriptor-wallet"
version = "0.4.0-rc.1"
version = "0.4.0"
license = "Apache-2.0"
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
description = "Library for building descriptor-based bitcoin wallets"
repository = "https://github.com/rust-bitcoin/descriptor-wallet"
homepage = "https://lnp-bp.org"
keywords = ["bitcoin", "wallet", "cryptocurrency", "cryptography", "bip32"]
keywords = ["bitcoin", "wallet", "cryptocurrency", "descriptor", "miniscript"]
categories = ["cryptography::cryptocurrencies", "encoding", "parsing"]
readme = "README.md"
edition = "2018"
Expand Down
4 changes: 2 additions & 2 deletions slip132/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache 2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

#![recursion_limit = "256"]
// Coding conventions
Expand Down
9 changes: 5 additions & 4 deletions src/address.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use std::convert::{TryFrom, TryInto};
use std::fmt::{self, Display, Formatter};
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/components.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use regex::Regex;
use std::fmt::{self, Display, Formatter};
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/mod.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

mod components;
mod path;
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/path.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

#[cfg(feature = "serde")]
use serde_with::{As, DisplayFromStr};
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/pubkeychain.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use std::fmt::{self, Display, Formatter};
use std::str::FromStr;
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/range.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use std::cmp::Ordering;
use std::convert::TryFrom;
Expand Down
9 changes: 5 additions & 4 deletions src/bip32/traits.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use bitcoin::util::bip32::{ChildNumber, DerivationPath};

Expand Down
9 changes: 5 additions & 4 deletions src/bip32/xpubref.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use std::str::FromStr;

Expand Down
12 changes: 5 additions & 7 deletions src/blockchain.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
// Rust language amplification library providing multiple generic trait
// implementations, type wrappers, derive macros and other language enhancements
//
// Written in 2019-2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
// Martin Habovstiak <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

//! Blockchain-specific data types useful for wallets
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/contract.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use std::fmt::{self, Display, Formatter};
use std::str::FromStr;
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/deduction.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use amplify::Wrapper;
use std::convert::TryFrom;
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/derive.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

use bitcoin::Script;
use miniscript::{MiniscriptKey, TranslatePk2};
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/generator.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

#[cfg(feature = "serde")]
use serde_with::{As, DisplayFromStr};
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/legacy.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

// TODO: Move this back to BPro library

Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/mod.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

//! General workflow for working with ScriptPubkey* types:
//! ```text
Expand Down
9 changes: 5 additions & 4 deletions src/descriptor/script.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// LNP/BP Core Library implementing LNPBP specifications & standards
// Written in 2020 by
// Descriptor wallet library extending bitcoin & miniscript functionality
// by LNP/BP Association (https://lnp-bp.org)
// Written in 2020-2021 by
// Dr. Maxim Orlovsky <[email protected]>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// You should have received a copy of the Apache-2.0 License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
// If not, see <https://opensource.org/licenses/Apache-2.0>.

#[cfg(feature = "serde")]
use serde_with::{hex::Hex, As, DisplayFromStr};
Expand Down
Loading

0 comments on commit 6e7bde0

Please sign in to comment.