File tree Expand file tree Collapse file tree 8 files changed +12
-65
lines changed Expand file tree Collapse file tree 8 files changed +12
-65
lines changed Original file line number Diff line number Diff line change 1
- // Miniscript
2
- // Written in 2019 by
3
- // Thomas Eizinger <thomas@coblox.tech>
4
- //
5
- // To the extent possible under law, the author(s) have dedicated all
6
- // copyright and related and neighboring rights to this software to
7
- // the public domain worldwide. This software is distributed without
8
- // any warranty.
9
- //
10
- // You should have received a copy of the CC0 Public Domain Dedication
11
- // along with this software.
12
- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13
- //
1
+ // Written by Thomas Eizinger <thomas@coblox.tech>
2
+ // SPDX-License-Identifier: CC0-1.0
14
3
15
4
//! Example: Create an HTLC with miniscript using the policy compiler
16
5
Original file line number Diff line number Diff line change 1
- // Miniscript
2
- // Written in 2019 by
3
- // Andrew Poelstra <apoelstra@wpsoftware.net>
4
- //
5
- // To the extent possible under law, the author(s) have dedicated all
6
- // copyright and related and neighboring rights to this software to
7
- // the public domain worldwide. This software is distributed without
8
- // any warranty.
9
- //
10
- // You should have received a copy of the CC0 Public Domain Dedication
11
- // along with this software.
12
- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13
- //
1
+ // SPDX-License-Identifier: CC0-1.0
14
2
15
3
//! Example: Parsing a descriptor from a string.
16
4
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
use bitcoin:: consensus:: encode:: deserialize;
2
4
use bitcoin:: hashes:: hex:: FromHex ;
3
5
use bitcoin:: psbt:: Psbt ;
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
use std:: collections:: BTreeMap ;
2
4
use std:: str:: FromStr ;
3
5
Original file line number Diff line number Diff line change 1
- // Miniscript
2
- // Written in 2019 by
3
- // Andrew Poelstra <apoelstra@wpsoftware.net>
4
- //
5
- // To the extent possible under law, the author(s) have dedicated all
6
- // copyright and related and neighboring rights to this software to
7
- // the public domain worldwide. This software is distributed without
8
- // any warranty.
9
- //
10
- // You should have received a copy of the CC0 Public Domain Dedication
11
- // along with this software.
12
- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13
- //
1
+ // SPDX-License-Identifier: CC0-1.0
14
2
15
3
//! Example: Signing a 2-of-3 multisignature.
16
4
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
use std:: collections:: HashMap ;
2
4
use std:: str:: FromStr ;
3
5
Original file line number Diff line number Diff line change 1
- // Miniscript
2
- // Written in 2019 by
3
- // Andrew Poelstra <apoelstra@wpsoftware.net>
4
- //
5
- // To the extent possible under law, the author(s) have dedicated all
6
- // copyright and related and neighboring rights to this software to
7
- // the public domain worldwide. This software is distributed without
8
- // any warranty.
9
- //
10
- // You should have received a copy of the CC0 Public Domain Dedication
11
- // along with this software.
12
- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13
- //
1
+ // SPDX-License-Identifier: CC0-1.0
14
2
15
3
//! Example: Verifying a signed transaction.
16
4
Original file line number Diff line number Diff line change 1
- // Miniscript
2
- // Written in 2019 by
3
- // Andrew Poelstra <apoelstra@wpsoftware.net>
4
- //
5
- // To the extent possible under law, the author(s) have dedicated all
6
- // copyright and related and neighboring rights to this software to
7
- // the public domain worldwide. This software is distributed without
8
- // any warranty.
9
- //
10
- // You should have received a copy of the CC0 Public Domain Dedication
11
- // along with this software.
12
- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13
- //
1
+ // SPDX-License-Identifier: CC0-1.0
14
2
15
3
//! Example: Parsing a xpub and getting an address.
16
4
You can’t perform that action at this time.
0 commit comments