specter-desktop/tests/bitcoin_core
Kim Neunert cb8968b5fb
Chore: Ci improvements (#103) (#1403)
* Ci improvements (#103)

* pin bitcoin to new v0.21.1 tag

* fix binary installation

* for binary install, pytest.ini is the file to use

* kick

* adjusted Dockerfile to have at least wget to download artifacts

* investigate test_hwibridge timing out

* restest with v0.20.1

* implements timeout, hope that was reason to hang

* remove livelogging again

* fix hanging test

* Enable bitcoind-log-output on demand

* Timeouts now raising SpecterErrors

* catch a bit more generic Exception

* increase timeout

* fix abandontx test

* simplified code

* increase timeout

* increased timeout also for pytest

* separate timeouts for liquid/bitcoin

* forget checkin

* increase timeout for bitcoin as well

* bugfix: node specific timeouts

* increase timeout for elm hotwallet

* Now timeouts for all occurences of broadcasting

* global vars done right

* Yet another ReadTimeoutError to take account for

* fix assertion

* fix not-defined issue

* proper status_code checking instead of error_code

* increase wait-time

* increase btc:mine wait to 15 s

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

* rollback to v0.20.1

* rollback - it is a src-install, stupid

* mixed up bitcoin and elements

* forgot to fix reference

* rollback test_abandon_purged_tx

* increase timeout to 30 s

* increase Liquid on cypress to 40s

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-09-19 22:33:13 +02:00
..
test/functional/test_framework Chore: Ci improvements (#103) (#1403) 2021-09-19 22:33:13 +02:00
README.md Feature: Add "Abandon transaction" option for low fee txs that have been purged from the mempool (#991) 2021-03-06 11:40:09 +01:00

These files have been directly copied from bitcoin core's test directory in order to test against more complicated node conditions.

  • messages.py:
    • Copied as-is. There are quite a number of classes and utility functions in here and it was more straightforward to leave them all intact.
    • siphash and util imports edited to relative imports so they'll work within the context of Specter's test runner.
  • siphash.py:
    • Copied as-is due to its simplicity.
  • util.py:
    • Heavily stripped down to its bare minimum.
    • Edits to create_lots_of_big_transactions to be compatible with Specter's test suite node handling.