From 6c6a0a598a1c23f0650d4e31a940f2f37f56b235 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 4 May 2022 08:52:41 +1000 Subject: [PATCH] Do minor grammar fixes Do a few minor grammar fixes to the final paragraph. --- docs/descriptors/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/descriptors/README.md b/docs/descriptors/README.md index 67f064e81a..8a3b0cb524 100644 --- a/docs/descriptors/README.md +++ b/docs/descriptors/README.md @@ -105,10 +105,10 @@ Some examples of valid BDK descriptors are: ### Implementation Details BDK extends the capabilities of [rust-miniscript](https://github.com/apoelstra/rust-miniscript) by introducing the concept of an *ExtendedDescriptor*: it represents a descriptor that contains one or more "derivable keys" like `xpubs` or `xprvs` -and can be "derived" to a normal Descriptor by deriving every single one of its keys. It is currently called "StringDescriptor" in the code, because it's implemented as a wrapped `miniscript::Descriptor`. +and can be "derived" from a normal Descriptor by deriving every single one of its keys. It is currently called "StringDescriptor" in the code, because it's implemented as a wrapped `miniscript::Descriptor`. ExtendedDescriptors are derived using a single index instead of a full derivation path: this is because normally most of the path is fixed and can be represented right after the xpub/xprv itself, and only the -final index changes for each address. This is what's normally called a *DescriptorExtendedKey* in codebase, and it's the represented with a similar syntax to Bitcoin Core's, such as: +final index changes for each address. This is what's normally called a *DescriptorExtendedKey* in the codebase, it is represented with a similar syntax to Bitcoin Core's, such as: ``` [d34db33f/44'/0'/0']xpub6ERApfZwUNrhL.......rBGRjaDMzQLcgJvLJuZZvRcEL/0/* -- 2.49.0