Commit graph

9 commits

Author SHA1 Message Date
roshii
0229bb7d62
Fix node2 RPC port & add missing elm mark (#2438)
- Set second test bitcoin node RPC port to 18545 (i/o 18544) to avoid P2P port conflict with first node
- Add missing "elm" mark to test_node_controller.py::test_node_running_elements

Signed-off-by: Simon Castano <roshii@riseup.net>
Co-authored-by: k9ert <k9ert@gmx.de>
2024-05-16 22:23:51 +02:00
Wim van der Ham
a52fec89d8
Fix install_noded.sh (#2422)
* Fix install_noded.sh

* reestablish finally

---------

Co-authored-by: Wim van der Ham <wfjvdham@gmail.com>
Co-authored-by: k9ert <k9ert@gmx.de>
Co-authored-by: Kim Neunert <kim@swanbitcoin.com>
2024-05-16 17:58:38 +02:00
k9ert
db8e413891
Chore: Remove docker support (#2054)
* Chore: Remove docker support

* use pip instead of pip3

* kick

* kick

Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
2023-01-16 18:33:59 +01:00
Kim Neunert
337dec90aa
Chore: misc changes (#1733)
* misc changes

* respecting none as None

* fix test

* add a flask_before_request callback
2022-05-27 14:59:21 +02:00
Kim Neunert
3c8ae70142
Bugfix: price provider uses wrong user (#1640)
* remove import, add proper streaming, testing

* refactor tests
2022-04-02 12:55:21 +02:00
kdmukai
26c8ee2723
Chore: Taproot test case (#1482)
* Bump test version of bitcoin core to v22 for basic taproot test

* Bugfix for timing issue on inconsistent test case

* Assume prod Elements release

* Hack to fix Cirrus CI setup

* Fixes Elements node version target

* fix hardcoded version-numbers and unskip tests

* fix test

Co-authored-by: Kim Neunert <k9ert@gmx.de>
2021-11-25 12:58:20 +01:00
Kim Neunert
e10cea0456
Feature: Api framework (#1232)
* Included API end points

Included 3 API end points:

###/api/specter ["GET"]
Basic Specter info from app.specter class

###/api/full_txlist/ ["GET"]
Full Transaction list for all wallets

###"/api/wallet_info/<wallet_alias>/ ["GET"]
More detailed wallet info and transactions from the app.specter.wallet_manager class

* Update src/cryptoadvance/specter/controller.py

Include `wallet.check_unused()`

Co-authored-by: benk10 <ben.kaufman10@gmail.com>

* API Update

Made a few changes:
- Flattened the wallet list to be similar to full transaction list
- included versioning on url `/v1alpha/`
- Included `wallet.utxo` data
- Improved `safe_serialize` for better json output

Pending Updates:
- Create a separate file for API (as a blueprint)
- Explore using Flask-restful for improved authentication (downside is that it is another dependency - not sure if already a requirement for specter)

* adding a rest-api

* Implemented API end points inside of example.py

* Merging with remote

* Fixed API.md

* Removing example-resources

* migrating to focal due to cryptography needs newer pip

* fix the image

* black and tidy up

* Deleted more useless stuff

* first take for psbt (still broken)

* get tests to work

* fix devices_signed undefined

* fix part2

* fix part 3

* fix part 4

* Rest Get-Requests for psbt working

* fix part 5

* extending psbt_creator with json format

* tests finished. bitcoind_regtest changed to scope session

* speed up tests

* fix tests

* tiny test for LiquidRpc, probes improvements

* try fixing testing-infra

* kick

* finally fix infra, hopefully

* removing assertion

* refactoring and fixing API

* fix the rest-tests

* fix last liquid failing test

* polishing: error_handling via decorator

* split-up docs

* fix requirements.in

* polishing REST-API

* optimize startup for internal_nodes

* Update src/cryptoadvance/specter/internal_node.py

Co-authored-by: benk10 <ben.kaufman10@gmail.com>

Co-authored-by: Alpha Zeta <40473443+pxsocs@users.noreply.github.com>
Co-authored-by: benk10 <ben.kaufman10@gmail.com>
Co-authored-by: Alpha Zeta <alphazeta@protonmail.com>
Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-07-08 13:10:14 -05:00
kdmukai
d0f7d3c842
Export device types and labels (#1226)
* Tests passing

UI flow not yet tested

* UI fixes, test suite fixes

* blackify cleanup

* blackify reformat in tests

* Update src/cryptoadvance/specter/cli/cli_noded.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update descriptor.py

* Update src/cryptoadvance/specter/util/descriptor.py

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>

* Corrected wallet type determination

* Adding Jade and SeedSigner to DeviceTypes

* Removing test suite artifacts

* differentiate p2sh vs p2pkh

Co-authored-by: Kim Neunert <kneunert@gmail.com>
Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-06-17 11:09:53 -05:00
benk10
19d940dd04
Merge in Liquid branch (#1174) 2021-05-20 18:26:10 +03:00