Commit Graph
14659 Commits
Author SHA1 Message Date
Chris MarslenderandGitHub 4ac563e0d0 Add to_address param to get_transactions RPC (#10319)
* Add `address` param to get_transactions to enable filtering transactions by the receiving address

* move address where to the same line as the other where, so query segments are logically grouped

* Update param to `to_address` and use timeout assert in the test
2022-02-22 09:38:59 -08:00
Chris MarslenderandKyle Altendorf 2780e2620b Pin back to windows-2019 for now, since windows-latest is updated to 2022 (#10372) 2022-02-22 12:32:17 -05:00
Florin Chirica ed67d6bf15 Use none_bytes everywhere. 2022-02-22 18:11:44 +02:00
Florin Chirica 930369d1b0 Fix another bug. 2022-02-22 18:03:42 +02:00
Chris MarslenderandGitHub 7232b1cd2d Pin back to windows-2019 for now, since windows-latest is updated to 2022 (#10372) 2022-02-22 09:55:26 -06:00
Kyle AltendorfandGitHub 8518eab2a1 Merge pull request #10353 from Chia-Network/atari_wallet_high_cpu 2022-02-22 10:52:23 -05:00
Florin Chirica ace4c77f54 Log consistently. 2022-02-22 17:29:44 +02:00
Florin Chirica e9e1796e3f Fix another bug. 2022-02-22 17:18:29 +02:00
Florin Chirica bc22eff35c Add more fixes. 2022-02-22 16:22:38 +02:00
Kyle AltendorfandGitHub 6b8b4e41bf rework _fetch_header_blocks_inner() (#10326)
* rework _fetch_header_blocks_inner()

* flake8

* drop selected_peer_node_id

* black

* disconnect peer for None response
2022-02-21 20:08:54 -08:00
Arvid NorbergandGitHub 58019afd5b chunk coin_store request into smaller sql queries (#10359)
* chunk coin_store request into smaller sql queries, to not exceed the limit of 999 on old versions of sqlite

* extend tests for chunks
2022-02-21 20:07:05 -08:00
Matt Hauff 5e9f861b7a another forgotten lock 2022-02-21 16:00:54 -07:00
Florin Chirica c3ef650d8a Initial commit bug fixes. 2022-02-21 22:16:17 +02:00
matt 6f773a6a50 Begin conversion to trade price list 2022-02-21 17:49:35 +00:00
Patrick MaslanaandGitHub e35174c268 Fixed two typos in the initial-config.yaml (#10357)
* Fixed two typos in the initial-config.yaml

* Changed the letter case for a word.
2022-02-21 09:19:47 -08:00
Matt Hauff 4a8e506414 Mark actions as done 2022-02-21 08:55:20 -07:00
Matt Hauff 486569b299 Whoops pass a parameter 2022-02-21 08:35:35 -07:00
Matt Hauff 4a6d23d587 Whoops again 2022-02-21 08:32:52 -07:00
Matt Hauff bc36586514 Whoops 2022-02-21 08:29:51 -07:00
Matt Hauff 43bfa2e6fc Check if we alreayd have launcher 2022-02-21 07:43:08 -07:00
Matt HauffandGitHub 3b8f21baec Return if the launcher has already been seen 2022-02-21 07:32:43 -07:00
matt b2d2495410 change puzzle to remove need for receive spend when trade_price = 0 2022-02-21 12:50:00 +00:00
Kyle AltendorfandGitHub e3fb3ce96e Move black from SuperLinter to upload workflow, use 21.12b0 in pre-commit (#10103)
* black==21.12b0 in pre-commit

Match `setup.py`.

* move black from super linter to upload workflow

* black (updated)

* configure so black . works

* --check --diff for black
2022-02-20 21:33:09 -08:00
Kyle AltendorfandGitHub 8a5c125418 apply stricter mypy to all new files (#10133)
* just put __init__.py files where we have .py files

* and the rest

* remove unused ignore

* update mypy ignore list

* remove chia.util.clvm pass-through file

* import ConsensusConstants from actual definition

* in tests too

* import ConditionOpcode from actual definition

* a little less ignore

* update mypy reduced-strictness set

* update mypy reduced-strictness set
2022-02-20 21:32:23 -08:00
dustinfaceandGitHub 3608d25c80 type_checking: Drop some redundant None checks (#10334) 2022-02-20 21:30:57 -08:00
Arvid NorbergandGitHub 48a1c26232 make mempool tests independent, i.e. possible to run individually (#10317) 2022-02-20 21:30:07 -08:00
wjblankeandGitHub a59979b8c8 unused locks (#10320)
* unused locks

* unused locks

* unused locks

* unused locks

* unused locks

* unused locks

* removed unused import
2022-02-20 21:29:16 -08:00
b544e75cd7 Align the wallet node's weight proof timeout with the full node's value. (#10341)
* Align the wallet node's weight proof timeout with the full node's value.

* Give the wallet config its own weight_proof_timeout value.

* Apply Kyle's cleaner version.

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Apply Kyle's anchors suggestion.

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-02-20 21:28:43 -08:00
Kyle AltendorfandGitHub b3175d6121 Merge pull request #10283 from Chia-Network/atari_get_kv_diff 2022-02-20 18:23:17 -05:00
Chris MarslenderandGitHub 7ab1152a17 Check if secrets are available for triggering dev docker builds (#10337) 2022-02-20 09:49:39 -06:00
Arvid NorbergandGitHub 71406efe81 make blockchain.height_to_hash() return None on failure, rather than assert (#10331) 2022-02-20 10:40:46 -05:00
almog 4ce13a2e67 revert removal of unsubscribe
add delete to kv test
2022-02-20 11:39:16 +02:00
Mariano SorgenteandGitHub 45c39f235b Fix infinite loop (#10324) 2022-02-19 18:38:46 -08:00
Kyle AltendorfandGitHub 9358a7b3e1 fix service restart (#10312)
https://github.com/Chia-Network/chia-blockchain/pull/10233/files
2022-02-19 12:57:07 -08:00
Arvid NorbergandGitHub b6b57aa2ab reduce output from running tests (#10281)
* reduce output from running tests to mostly include logs from failed tests

* back-paddle on the log level
2022-02-19 12:40:26 -08:00
Arvid NorbergandGitHub 29bd136238 name processes we spawn in tests with a test_ prefix, to make it easier and find and kill them in case they're left running (#10318) 2022-02-19 12:39:17 -08:00
Chris MarslenderandGitHub 17fcd08914 Add trigger workflow on PR for dev docker images (#10305) 2022-02-19 11:28:37 -06:00
William Blanke 3f94eae9e1 updated gui to 800a0f6556b89e928b1cf027c996b5ed010a7799 2022-02-18 19:53:50 -08:00
bea709d979 Ms.memory leak2 (#10287)
* Start fixing other issues

* Fork point, sync cancelling, random peer

* Reduce logging

* Improve performance and have a fallback peer for fetching

* Disconnect not synced peers

* Make sure try catch doesn't fail

* Fix memory leaks and keep track of sync target height

* Fix lint

* Update chia/wallet/wallet_node.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Pylint has a bug so ignore pylint for this line

* Fix memory leaks

* Increase cache size

* Fix flaky test

* Fix mistake

* Spawn for memory

* Revert spawn for now

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: wjblanke <wjb98672@gmail.com>
2022-02-18 19:52:00 -08:00
Kyle AltendorfandGitHub 53aaa823ee add another wallet is synced assert to test_subscribe_for_ph (#10309) 2022-02-18 18:57:40 -08:00
Kyle AltendorfandGitHub 443ff34265 Merge pull request #10306 from Chia-Network/atari-fix_setuptools_scm_no_local_version
Fix setuptools_scm local_scheme configuration (#10296)
2022-02-18 20:03:39 -05:00
Earle LoweandGitHub 9c84cf3d80 Merge branch 'atari' into atari_get_kv_diff 2022-02-18 14:28:25 -08:00
Mariano SorgenteandGitHub 095bb03b56 Fix the flaky test (#10304)
* Fix the flaky test

* Fix MacOS flaky test

* Add missing import
2022-02-18 13:41:24 -08:00
Kyle Altendorf b98d9a56f6 Fix setuptools_scm local_scheme configuration (#10296)
* only configure setuptools_scm in pyproject.toml

* unban setuptools 60.9.1 and 60.9.2
2022-02-18 15:58:24 -05:00
Kyle AltendorfandGitHub 7d59e1e8d6 Merge pull request #10303 from Chia-Network/fc.get_local_root
Get local root.
2022-02-18 15:55:56 -05:00
Kyle AltendorfandGitHub 5654ca1bae Merge pull request #10266 from Chia-Network/fc.fetch-data-improvements
Fetch data improvements
2022-02-18 15:54:09 -05:00
almog 20e9c5f772 fix test 2022-02-18 22:08:12 +02:00
Arvid NorbergandGitHub 9a0095b5aa improve checking arguments when converting the blockchain db (#10272)
* improve checking arguments when converting the blockchain db

* don't print stack traces on errors in chia db upgrade
2022-02-18 10:19:40 -08:00
William Blanke 2f40ca5321 updated gui to 485c4eeb70cb5e1823051cf397c820d48d5b4df3 2022-02-18 10:16:49 -08:00
Kyle AltendorfandGitHub a17e5fc100 Split full node tests directory for parallelism (#10108)
* Split full node tests directory for parallelism

* reduce full node job timeout to 40, duplicate config to new directory

* rebuild workflows

* add missing __init__.py

* update some imports

* oops

* isort

* Revert "isort"

This reverts commit 03d8360342.

* update isort exclude list
2022-02-18 07:51:52 -08:00