Commit graph

10 commits

Author SHA1 Message Date
k9ert
5546b1f068
fix: auto-create BTC node from env vars on fresh install (#2598)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:56:36 +02:00
k9ert
3ee881805e
Chore: Porting chore/rid_of_defaultnode to uiux-revamp (#2098)
* Chore: Remove default node (#2072)

* change passwordaspin auth implementation

* env-var for RASPIBLITZ_SPECTER_RPC_LOGIN_BITCOIN_CONF_LOCATION

* remove default

* fix tests

* fix the tests part2

* fix cypress tests

* docstrings and other default removals

* improve error_handling

* do not raise exception

* fixed debugging artifact

* Spinning refresh icon if node is still syncing

* Cypress test for sync status

* remove notification of fully synced node

* Set timeout for sync check to 5min

---------

Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
2023-01-31 11:06:29 +01:00
moneymanolis
626bd4f5f7 adjusted node manager test 2023-01-10 20:03:03 +01:00
Manolis Mandrapilias
857f25a487
Chore: Node manager refactoring (#1974)
* refactoring of node manager + tests
Co-authored-by: k9ert <kim@swanbitcoin.com>
2022-11-23 17:50:25 +01:00
k9ert
de8f5af619
Feature: several things for Spectrum preparation (#1913)
* change Node persistence format

* Removing the Singleton

* mainly refactoring

* intermediate commit

* fix test

* Updated diagram

* fix tests

* removing simplejsons references

* fix tests

* remove update, tests working

* abstract Node

* refining Migration framework: run migrations until they suceed

* BrokenCoreConnectionException added to handle lost RPC + some minor error handling fixes

* clicking redirects to node config if there is no node connection

* AbstractNode

* BrokenCoreConnectionException added to handle lost RPC + some minor error handling fixes

* clicking redirects to node config if there is no node connection

* handling broken connection when there is no other error superseding (i.e. no wallets)

* Abstract Node improvements and issue fixing

* improving node_info handling

* fix test results, property device_manager in user, bcce in get_rpc in node, improved rpc property in node

* typos

* provide data_folders for extensions

* parametrizing include for node_info

* Remove initial_node_contribution refactoring welcome

* adding convenience methods

* extension data-storage

* Tests green

* Better failure resistence

* Enabling Node settings

* error handling

* adjust_view_model callback

* exception Handling

* Shielding core from extension flaws

* More consistent logging

* Refactoring wallets endpoints

* Make wallet_overview extendable

* butgifex and cleanup

* feedback by Manolis

* rename BusinessObject to PersistentObject

* fix Error-management and rollback information

* Nodes.md corrections

* frontend-aspects.md (small) corrections

* fix tests and address feedback and errormanagement

* fix tests, proper error-handling

* Fix test_util_reflection

* just some little addons to test_util_reflection

* fix cleanup_on_exit

* migration fix

* remove check, add redirect after saving node

* fix test (not that cool but what to do?)

* upgrade Flask as Flask-SQLAlchemy needs higher Flask version

* Revert "upgrade Flask as Flask-SQLAlchemy needs higher Flask version"

This reverts commit bf24120f89.

* update bug fixed + node manager added to node test

* cleanup external_node

Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
2022-10-29 15:54:34 +02:00
Manolis Mandrapilias
6fbe4b1ada
Bugfix: Internal server error when node connection breaks down (#1920)
* BrokenCoreConnectionException added to handle lost RPC + some minor error handling fixes

* clicking redirects to node config if there is no node connection

* handling broken connection when there is no other error superseding (i.e. no wallets)

* fix test results, property device_manager in user, bcce in get_rpc in node, improved rpc property in node

* fix at least one test

* fix for rest test

* doc string for _get_rpc

* fix for node test

* marked test as slow in wallet managers test

* safety checks in node controller

* fix last test, revert deletion of raising exception

Co-authored-by: Kim Neunert <k9ert@gmx.de>
2022-10-20 09:44:36 +02:00
Kim Neunert
b12d0ef016
Bugfix: fix keypoolrefill perfomance and adjusted callback logic (#1508)
* fix keypoolrefill perfomance and adjusted callback logic

* enable async storage_callbacks

* ELM autodetection
2022-01-05 17:05:00 +01:00
Kim Neunert
03ead8f62a
Feature: a framework for migrations and migrating single-node (#1414)
* a framework for migrations

* forgot testfile

* fix tests

* adding debugging for fixing tests

* troubleshoot tests

* check empty_folder

* moar logging

* some documentation

* kick

* kick

* kick

* kick (pers + logging)

* kick (assert)

* kick (reworked initial_data)

* remove False, final fix hopefully

* Preventing a clash with an existing node

* refactorings and tests

* Moving the whole stuff to util

* Some refactorings and adding description
2021-10-13 09:05:26 +02:00
Kim Neunert
1ae8b8b1a3
Docs: run tests and avoid elm-tests if you don't want them (#1326)
* fixes #1323

* fixing unintended deletion

* polishing
2021-08-17 17:27:21 +02:00
Kim Neunert
2b9e02f2fa
Elements testing (#1212) 2021-06-16 15:33:35 +02:00