Backport 4649 to 0.3#4650
Conversation
|
👋 Thanks for assigning @tnull as a reviewer! |
|
No issues found. The change correctly extends v1 data detection to scan one directory level deeper, catching v1 layouts where files exist at depth 2 (e.g., |
FilesystemStoreV2 already rejected v1 data when a key file was found at the store root, but it did not inspect namespace directories. This missed v1 layouts such as primary/key, where v2 expects primary to contain secondary namespace directories. For example, an ldk-node store can contain a BDK descriptor below a namespace directory. The previous check would accept that directory as v2 data because the root contained only directories, leaving the incompatible descriptor file undetected. Backport of 668b35b
d570bfb to
3bfd2c0
Compare
See #4649