File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ static void WalletShowInfo(CWallet* wallet_instance)
95
95
LOCK (wallet_instance->cs_wallet );
96
96
97
97
tfm::format (std::cout, " Wallet info\n ===========\n " );
98
+ tfm::format (std::cout, " Name: %s\n " , wallet_instance->GetName ());
99
+ tfm::format (std::cout, " Format: %s\n " , wallet_instance->GetDatabase ().Format ());
100
+ tfm::format (std::cout, " Descriptors: %s\n " , wallet_instance->IsWalletFlagSet (WALLET_FLAG_DESCRIPTORS) ? " yes" : " no" );
98
101
tfm::format (std::cout, " Encrypted: %s\n " , wallet_instance->IsCrypted () ? " yes" : " no" );
99
102
tfm::format (std::cout, " HD (hd seed available): %s\n " , wallet_instance->IsHDEnabled () ? " yes" : " no" );
100
103
tfm::format (std::cout, " Keypool Size: %u\n " , wallet_instance->GetKeyPoolSize ());
Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ def test_tool_wallet_info(self):
98
98
out = textwrap .dedent ('''\
99
99
Wallet info
100
100
===========
101
+ Name: \
102
+
103
+ Format: bdb
104
+ Descriptors: no
101
105
Encrypted: no
102
106
HD (hd seed available): yes
103
107
Keypool Size: 2
@@ -137,6 +141,10 @@ def test_tool_wallet_info_after_transaction(self):
137
141
out = textwrap .dedent ('''\
138
142
Wallet info
139
143
===========
144
+ Name: \
145
+
146
+ Format: bdb
147
+ Descriptors: no
140
148
Encrypted: no
141
149
HD (hd seed available): yes
142
150
Keypool Size: 2
@@ -164,6 +172,9 @@ def test_tool_wallet_create_on_existing_wallet(self):
164
172
Topping up keypool...
165
173
Wallet info
166
174
===========
175
+ Name: foo
176
+ Format: bdb
177
+ Descriptors: no
167
178
Encrypted: no
168
179
HD (hd seed available): yes
169
180
Keypool Size: 2000
You can’t perform that action at this time.
0 commit comments