preparescript: Add WALLET_ENCRYPTION_PWD env var.

Removed unnecessary START_DAEMONS env var.
Remove all cached addresses from the basicswap db for a wallet after reseeding.
Check that addresses retreived from the db are owned by teh wallet before they're used/displayed
This commit is contained in:
tecnovert
2022-11-17 00:36:13 +02:00
parent aabf865873
commit 0f7df9e5f1
12 changed files with 189 additions and 57 deletions

View File

@@ -170,12 +170,18 @@
<tr class="bg-white border-t hover:bg-gray-50">
<td class="py-4 px-6 bold">Bootstrapping:</td>
<td>{{ w.bootstrapping }}</td>
</tr>
</tr>
{% endif %}
{% if w.encrypted %}
<tr class="bg-white border-t hover:bg-gray-50">
<td class="py-4 px-6 bold">Locked:</td>
<td>{{ w.locked }}</td>
</tr>
{% endif %}
<tr class="bg-white border-t hover:bg-gray-50">
<td class="py-4 px-6 bold">Expected Seed:</td>
<td>{{ w.expected_seed }}</td>
{% if w.expected_seed != true %}
{% if w.expected_seed != true %} {# Only show addresses if wallet seed is correct #}
</tr>
</table>
</div>
@@ -411,4 +417,4 @@
</div>
{% include 'footer.html' %}
</body>
</html>
</html>