File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -810,10 +810,6 @@ impl DescriptorPublicKey {
810
810
}
811
811
}
812
812
813
- /// Whether or not the key has a wildcard
814
- #[ deprecated( note = "use has_wildcard instead" ) ]
815
- pub fn is_deriveable ( & self ) -> bool { self . has_wildcard ( ) }
816
-
817
813
/// Whether or not the key has a wildcard
818
814
pub fn has_wildcard ( & self ) -> bool {
819
815
match * self {
@@ -840,12 +836,6 @@ impl DescriptorPublicKey {
840
836
false
841
837
}
842
838
843
- #[ deprecated( note = "use at_derivation_index instead" ) ]
844
- /// Deprecated name for [`Self::at_derivation_index`].
845
- pub fn derive ( self , index : u32 ) -> Result < DefiniteDescriptorKey , ConversionError > {
846
- self . at_derivation_index ( index)
847
- }
848
-
849
839
/// Replaces any wildcard (i.e. `/*`) in the key with a particular derivation index, turning it into a
850
840
/// *definite* key (i.e. one where all the derivation paths are set).
851
841
///
Original file line number Diff line number Diff line change @@ -648,10 +648,6 @@ impl<Pk: MiniscriptKey> ForEachKey<Pk> for Descriptor<Pk> {
648
648
}
649
649
650
650
impl Descriptor < DescriptorPublicKey > {
651
- /// Whether or not the descriptor has any wildcards
652
- #[ deprecated( note = "use has_wildcards instead" ) ]
653
- pub fn is_deriveable ( & self ) -> bool { self . has_wildcard ( ) }
654
-
655
651
/// Whether or not the descriptor has any wildcards i.e. `/*`.
656
652
pub fn has_wildcard ( & self ) -> bool { self . for_any_key ( |key| key. has_wildcard ( ) ) }
657
653
@@ -684,12 +680,6 @@ impl Descriptor<DescriptorPublicKey> {
684
680
. map_err ( |e| e. expect_translator_err ( "No Context errors while translating" ) )
685
681
}
686
682
687
- #[ deprecated( note = "use at_derivation_index instead" ) ]
688
- /// Deprecated name for [`Self::at_derivation_index`].
689
- pub fn derive ( & self , index : u32 ) -> Result < Descriptor < DefiniteDescriptorKey > , ConversionError > {
690
- self . at_derivation_index ( index)
691
- }
692
-
693
683
/// Convert all the public keys in the descriptor to [`bitcoin::PublicKey`] by deriving them or
694
684
/// otherwise converting them. All [`bitcoin::secp256k1::XOnlyPublicKey`]s are converted to by adding a
695
685
/// default(0x02) y-coordinate.
You can’t perform that action at this time.
0 commit comments