Rationale: show importable descriptors with listdescriptors
RPC
It uses #19136 to derive xpub at the last hardened step.
Before:
0[
1 {
2 "desc": "wpkh(tpubD6NzVbkrYhZ4YUQRJL49TWw1VR5v3QKUNYaGGMUfJUm19x5ZqQ2hEiPiYbAQvD2nHoPGQGPg3snLPM8sjmYpvx7XQhkmyfk8xhsUwKbXzyh/84'/1'/0'/0/*)#p4cn3erf",
3 "timestamp": 1613982591,
4 "active": true,
5 "internal": false,
6 "range": [
7 0,
8 999
9 ],
10 "next": 0
11 },
12 ...
13]
After:
0[
1 {
2 "desc": "wpkh([d4ade89c/84'/1'/0']tpubDDUEYcVXy6Vh5meHvcXN3sAr4k3fWwLZGpAHbkAHL8EnkDxp4d99CjNhJHfM2fUJicANvAKnCZS6XaVAgwAeKYc1KesGCN5qbQ25qQHrRxM/0/*)#8wq8rcft",
3 "timestamp": 1613982591,
4 "active": true,
5 "internal": false,
6 "range": [
7 0,
8 999
9 ],
10 "next": 0
11 },
12 ...
13]