Bitcoin Forum
January 07, 2026, 05:00:17 AM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Core error trying to import miniscript wallet  (Read 104 times)
OudGozer (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
October 15, 2025, 02:08:00 AM
Merited by pooya87 (2), ABCbits (1)
 #1


If anyone has experience importing a miniscript wallet into Core 28.1.0 I'd appreciate any insight into why this is returning an error.

Below is the 'importdescriptors' command parameters I'm using, xpubs redacted for privacy. I have run it through a json validator and looks fine. Core is returning a "Key path value '<0;1>' is not a valid uint32" error. I looked in the Core code for where that error is thrown, and it is the area that parses content within the angle brackets. Stepping through the code I don't see why it would fail given my input, but by the time it throws that error the string in single quotes should be either the '0' or the '1', not the full bracket string output in the error.

If anyone sees the issue I'd be grateful!

Summary of policy: 2-of-3 multisig OR (single key AND after block 999999)

importdescriptors "[{\"desc\": \"wsh(or_d(multi(2,[369a1776/48'/0'/0'/2']xpub6DtZzm/<0;1>/*,[7de76f74/48'/0'/0'/2']xpub6DjqDNkD7x/<0;1>/*,[d1545269/48'/0'/0'/2']xpub6EDQL4ESvxWR/<0;1>/*),and_v(v:pk([6b642bb7/48'/0'/0'/2']xpub6DoxsMYpT/<0;1>/*),after(999999))))#6zth9pvk\", \"range\":[0, 1000], \"timestamp\":\"now\", \"keypool\":true, \"active\":true, \"watchonly\":true}]"


achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3864
Merit: 7549


Just writing some code


View Profile WWW
October 15, 2025, 02:08:49 PM
Merited by pooya87 (4), ABCbits (3), vapourminer (2), DaveF (2)
 #2

Those type of descriptors (referred to as multipath descriptors) were not implemented until 29.0. 28.1 does not support multipath descriptors.

OudGozer (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
October 15, 2025, 03:17:04 PM
Merited by DaveF (1)
 #3


Those type of descriptors (referred to as multipath descriptors) were not implemented until 29.0. 28.1 does not support multipath descriptors.

Upgraded to 29.0 and imported successfully, thanks!

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!