mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-18 13:26:08 +01:00
BIP88: Add definition for "length of the template", "length of the path"
This commit is contained in:
parent
b628a13e21
commit
abc113edd4
@ -162,11 +162,11 @@ Implementations MAY support parsing partial templates and matching portions of t
|
||||
|
||||
==Parsing result==
|
||||
|
||||
The result of successful parsing of a valid path template can be represented by a list of sections, where each section is a list of index ranges, where index range is a tuple of (range_start, range_end).
|
||||
The result of successful parsing of a valid path template can be represented by a list of sections, where each section is a list of index ranges, where index range is a tuple of (range_start, range_end). The length of the list of sections is also referred to as the "length of the template".
|
||||
|
||||
==Matching==
|
||||
|
||||
The matching is to be performed against a list of integer values that represent a BIP32 path (or a portion of BIP32 path, for partial templates).
|
||||
The matching is to be performed against a list of integer values that represent a BIP32 path (or a portion of BIP32 path, for partial templates). The length of this list is referred to as the "length of the path".
|
||||
|
||||
Non-hardened indexes in this list should be represented by values from 0 to 2147483647.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user