Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 690d94555d unpin types-click as well 2022-01-15 00:29:07 -05:00
Kyle Altendorf 0d40cb298c skip failing wallet test, to be replaced soon 2022-01-15 00:08:36 -05:00
Kyle Altendorf ed0afdef45 black 2022-01-15 00:05:49 -05:00
Kyle AltendorfandGitHub 90426f84d8 Unpin mypy 2022-01-14 23:35:59 -05:00
Matt Hauff 33e73c7558 Fix CLVM tests 2022-01-14 20:45:14 -07:00
Matt Hauff a7b087bd07 Lint but mypy mostly 2022-01-14 20:30:31 -07:00
Matt Hauff 6e899f5992 Merge commit '89f15f591cc3cc3e8ae40e95ffc802f7f2561ece' into atari-merge_main_89f15f591cc3cc3e8ae40e95ffc802f7f2561ece 2022-01-14 20:11:22 -07:00
Kyle AltendorfandGitHub bff6d7a517 Merge pull request #9823 from Chia-Network/atari-merge_main_0ba838b7a8ea2b5410d438ac70295df699a30dae 2022-01-14 22:03:13 -05:00
Kyle Altendorf dff08d4b25 parameter is now coin_announcements_to_consume 2022-01-14 20:45:28 -05:00
Kyle Altendorf 1d7d48a966 rebuild workflows 2022-01-14 19:22:04 -05:00
Kyle Altendorf 2a79868a61 Merge commit '0ba838b7a8ea2b5410d438ac70295df699a30dae' (main) into atari-merge_main_0ba838b7a8ea2b5410d438ac70295df699a30dae 2022-01-14 19:21:13 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ec15343ec2 Bump dnslib from 0.9.14 to 0.9.17 (#9795)
Bumps [dnslib](https://github.com/paulc/dnslib) from 0.9.14 to 0.9.17.
- [Release notes](https://github.com/paulc/dnslib/releases)
- [Commits](https://github.com/paulc/dnslib/commits)

---
updated-dependencies:
- dependency-name: dnslib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 14:40:09 -08:00
Chris MarslenderandGitHub 943b355153 Cleanup all global node modules + uninstall node to start fresh on each CI run (#9820) 2022-01-14 15:26:58 -06:00
wjblankeandGitHub 6283f82f85 update sauce (#9816) 2022-01-14 11:59:46 -08:00
almog 524415ac29 lint 2022-01-14 19:04:38 +02:00
almog 4688b60bdb lint 2022-01-14 18:56:36 +02:00
almog b0cdb93e88 get_root
get_roots
create_wallet
rename
2022-01-14 17:58:26 +02:00
dustinfaceandGitHub 896ef6e988 harvester: Reuse plot_public_key instead calculating it in each lookup (#9789) 2022-01-13 17:58:25 -08:00
Jack NelsonandGitHub 137f108671 Exclude Files created by wheel. (#9806)
* Exclude Files created by wheel.

* end of line

* Update .gitignore
2022-01-13 17:43:27 -08:00
dustinfaceandGitHub a22ad28edf tests: Fix plot creation if exclude_final_dir is set (#9646)
With `exclude_final_dir` set (introduced in #9578) the created plot 
don't gets added to `expected_plots` hence the private key stays the 
same for the three plots added with missing keys. This only worked on CI 
because it uses the cached plots there which i created before i 
introduced `exclude_final_dir` in that PR so i also had them locally 
already.
2022-01-13 17:41:44 -08:00
dustinfaceandGitHub 25d30a4c72 tests: Fix and improve plot manager caching tests (#9785)
* tests: Fix plot manager caching tests

The new plot manager was compared to itself instead to the one from the 
test environment. This is an old issue introduced in #8875.

* tests: Compare the loaded cache data also, not only the cache size
2022-01-13 17:41:15 -08:00
Arvid NorbergandGitHub 2851bedbcc sanity check the blockchain database on startup. If we can't find a peak, we also should not find any coins (#9780) 2022-01-13 14:53:48 -08:00
Arvid NorbergandGitHub 93d967525b revert allow-upgrades configuration option. It makes it significantly more complicated to do proper database migrations (#9768) 2022-01-13 14:53:27 -08:00
516f5639db Add testnet10 config (#9805)
* Add testnet10 config

* Add testnet10 to missed files

Co-authored-by: Jack Nelson <jack@jacknelson.xyz>
2022-01-13 13:13:05 -08:00
89f15f591c Merge standalone wallet into main (#9793)
* wallet changes from pac

* cat changes

* pool tests

* pooling tests passing

* offers

* lint

* mempool_mode

* black

* linting

* workflow files

* flake8

* more cleanup

* renamed

* remove obsolete test, don't cast announcement

* memos are not only bytes32

* trade renames

* fix rpcs, block_record

* wallet rpc, recompile settlement clvm

* key derivation

* clvm tests

* lgtm issues and wallet peers

* stash

* rename

* mypy linting

* flake8

* bad initializer

* flaky tests

* Make CAT wallets only create on verified hints (#9651)

* fix clvm tests

* return to log lvl warn

* check puzzle unhardened

* public key, not bytes. api caching change

* precommit changes

* remove unused import

* mypy ci file, tests

* ensure balance before creating a tx

* Remove CAT logic from full node test (#9741)

* Add confirmations and sleeps for wallet (#9742)

* use pool executor

* rever merge mistakes/cleanup

* Fix trade test flakiness (#9751)

* remove precommit

* older version of black

* lint only in super linter

* Make announcements in RPC be objects instead of bytes (#9752)

* Make announcements in RPC be objects instead of bytes

* Lint

* misc hint'ish cleanup (#9753)

* misc hint'ish cleanup

* unremove some ci bits

* Use main cached_bls.py

* Fix bad merge in main_pac (#9774)

* Fix bad merge at 71da0487b9

* Remove unused ignores

* more unused ignores

* Fix bad merge at 3b143e7050

* One more byte32.from_hexstr

* Remove obsolete test

* remove commented out

* remove duplicate payment object

* remove long sync

* remove unused test, noise

* memos type

* bytes32

* make it clear it's a single state at a time

* copy over asset ids from pacr

* file endl linter

* Update chia/server/ws_connection.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

Co-authored-by: Matt Hauff <quexington@gmail.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-01-13 12:08:32 -08:00
Arvid NorbergandGitHub 0ba838b7a8 New clvm generator api (#9645)
* use the new run_generator2() and run_chia_program() API of clvm_rs

* bump clvm_rs dependency to 0.1.17
2022-01-11 15:32:43 -08:00
Arvid NorbergandGitHub c143b71c22 log the synchronous mode used to open the blockchain database in (#9781) 2022-01-11 15:32:05 -08:00
Earle LoweandGitHub 34d44c1324 Limit server to TLS 1.2 and set cipher list (#9195)
* Limit server to TLS 1.3 (also ran isort)

* Set minimum to TLS1.2 and add warning
2022-01-10 21:02:23 -08:00
xchdata.ioandGitHub 1495d40ff3 Cosmetic: fix timelord import sort order (#9441)
As introduced by the previous commit
ae8bdbc3c7.
2022-01-10 21:01:28 -08:00
artyandGitHub 8610ab704a Add commentary about sign_coin_spends and p2_delegated_puzzle_or_hidden_puzzle (#9452) 2022-01-10 21:00:24 -08:00
Kyle AltendorfandGitHub e498a406a0 Make the hard coded 2 reserved cores configurable (#9709)
* Make the hard coded 2 reserved cores configurable

* add missing reserved_cores parameters

* add missing reserved_cores parameters
2022-01-10 20:58:29 -08:00
ChiaMineJPandGitHub ab74bd0d1c Fixed an issue where LGTM on chia-blockchain-gui did not work (#9750)
* Fixed an issue where LGTM on chia-blockchain-gui did not work

* Added newline at end of the file

* Changed newline character to LF from CRLF
2022-01-10 20:56:46 -08:00
7ef619274a extend more tests to run with both v1 and v2 blockchain database schema (#9656)
* extend more tests to run with both v1 and v2 blockchain database schema

* cleanup db_version fixture

* extend test timeouts

* Update tests/core/full_node/config.py

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

* Update tests/conftest.py

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

* fixup timeout

* fix typo in TODO comment

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-01-10 20:55:40 -08:00
xchdata.ioandGitHub af0d6385b2 Remove unused Timelord#potential_free_clients (#9680)
`Timelord`'s `potential_free_clients` attribute is no longer used
anywhere. Seems to be a left-over from a big restructuring in
bbb3d28559.
2022-01-08 19:45:22 -03:00
Jack NelsonandGitHub d22976aebe Add coin announcement to create signed transaction rpc call (#9735)
This will allow pool operators and developers to have more control of the types of transactions they create using the wallet RPC.
2022-01-07 10:16:24 -03:00
Kyle AltendorfandGitHub e7270df93c Update pre-commit mypy to 0.930 (#9648)
* Update pre-commit mypy to 0.921

* Update .pre-commit-config.yaml
2022-01-06 18:59:56 -08:00
Kyle AltendorfandGitHub 831f18cd89 Merge pull request #9610 from Chia-Network/atari-add_init_files 2022-01-05 11:33:28 -05:00
YostraandGitHub 13ff7489b6 better optimization of mempool (#9125) 2021-12-23 15:00:37 -08:00
Arvid NorbergandGitHub 659f4f4890 remove (redundant) spent field on CoinRecord. Replace it with a property (#9658) 2021-12-22 18:50:32 -08:00
Arvid NorbergandGitHub 3e895f9b62 remove zero condition cost constants. They only contribute complexity. They must be zero by consensus rules, they won't change. (#9657) 2021-12-22 18:49:52 -08:00
Kyle AltendorfandGitHub 639904c2e3 Merge pull request #9558 from Chia-Network/atari-fixtures_to_conftest
Move data layer fixtures to conftest
2021-12-21 22:56:34 -05:00
Kyle AltendorfandGitHub 4e2cb221fb Merge pull request #9554 from Chia-Network/atari-test_insert_existing_key_value 2021-12-21 21:54:19 -05:00
Arvid NorbergandGitHub b2ed21307b add tool to analyze the chain from the blockchain database, and run all generator programs (#9616) 2021-12-21 10:20:17 -08:00
Kyle AltendorfandGitHub 43e7802bf9 Use IntEnum with data_layer_types.Status for consistency (#9560) 2021-12-21 10:19:39 -08:00
Mariano SorgenteandGitHub 5ff92076b6 Add a comment for mempool replacement rules (#9632) 2021-12-21 10:18:47 -08:00
William AllenandGitHub 1efdcd4551 Modifying install.sh to account for python3.10.x (#9633) 2021-12-21 10:14:16 -08:00
Kyle Altendorf f1e2afdd64 remove unused import 2021-12-21 12:02:58 -05:00
Matt Hauff 12cc8b7854 delete unnecessary functions 2021-12-21 09:53:58 -07:00
Mariano SorgenteandGitHub 92c44bbe10 Increase timeout from 10 to 30 seconds while syncing, to allow for some slowdowns in peers. (#9634) 2021-12-20 19:08:21 -08:00
dustinfaceandGitHub 6bc8a3e204 harvester: Refine log in Harvester._plot_refresh_callback (#9400)
Adds the total number of loaded plots to the plot refresh log of the
harvester's refresh callback and moves `started` and `batch_processed`
event logs from `INFO` to `DEBUG` level to reduce plot refresh related
logging.
2021-12-20 10:43:22 -08:00