rpc: use importdescriptors with Core >= 0.21

Only use the old `importmulti` with Core versions that don't support
descriptor-based (sqlite) wallets.

Add an extra feature to test against Core 0.20 called `test-rpc-legacy`
This commit is contained in:
Alekos Filini
2022-06-07 13:14:52 +02:00
parent 32699234b6
commit e1a1372bae
6 changed files with 113 additions and 35 deletions

View File

@@ -95,6 +95,9 @@ jobs:
- name: rpc
testprefix: blockchain::rpc::test
features: test-rpc
- name: rpc-legacy
testprefix: blockchain::rpc::test
features: test-rpc-legacy
- name: esplora
testprefix: esplora
features: test-esplora,use-esplora-reqwest,verify