5725 Commits
Author SHA1 Message Date
William AllenandGitHub d154105a6b Adding changelog (#11223) 1.3.4 2022-04-19 10:38:55 -07:00
William AllenandGitHub 4a6c1903b7 Adding changelog (#11223) 2022-04-19 10:38:44 -07:00
Chris MarslenderandGitHub d3e73a75ab Revert "Pin mac intel installer to 10.15 (#11209)" (#11210)
This reverts commit 93a61eece1.
2022-04-18 15:42:09 -06:00
Chris MarslenderandGitHub 93a61eece1 Pin mac intel installer to 10.15 (#11209) 2022-04-18 15:34:27 -06:00
Chris MarslenderandGitHub 10f7bcde5c Add start_crawler and start_seeder to pyinstaller config (#11205) 2022-04-18 15:58:44 -05:00
Chris MarslenderandGitHub 7567b4ea9c Fix filename of latest intel dev installer (#11203) 2022-04-18 10:18:59 -05:00
Arvid NorbergandGitHub 36a610f038 fix block_tools feature when specifying a list of block references. Also add feature keep_going_until_tx_block. (#11185) 2022-04-15 16:23:37 -07:00
Chris MarslenderandGitHub 82c01ff2bc Simplify how the chia symlink is created in the CLI .deb (#11188) 2022-04-15 14:13:00 -05:00
Arvid NorbergandGitHub 511c13e632 add tool to generate a blockchain with full blocks, as a benchmark (#11146) 2022-04-15 10:11:42 -07:00
Chris MarslenderandGitHub 2fbe062e78 Build cli only version of debs (#11166)
* Build cli only version of debs

* Export the vars needed by j2

* Fix paths

* Add symlink to chia in /usr/local/bin/

* Upload the cli only debs to s3

* Add init.py

* Ensure SHA is on the dev build for amd64
2022-04-14 19:32:26 -05:00
Chris MarslenderandGitHub 3ea3a4dc0c Use get latest release endpoint for plotters, so that we ignore any pre-releases that could be returned by listReleases (#11165) 2022-04-13 18:06:50 -05:00
Arvid NorbergandGitHub 6259643c36 make listen port colissions in CI less likely (#11164) 2022-04-13 14:47:14 -07:00
Arvid NorbergandGitHub 56804a0b4c optimize wallet tool by not caching the puzzle_hash -> derivation index, but caching puzzle_hash -> secret key (which is the lookup we're actually interested in). This avoids duplicating the actual derivation (#11154) 2022-04-13 12:13:25 -07:00
William Blanke 9a8556acde updated gui to 81303fb962f4a627a2e1c55098e187a9057745da 2022-04-13 12:10:05 -07:00
Chris MarslenderandGitHub b3a9459fea Mark the github workspace as safe (#11159)
* Mark the github workspace as safe

* Move the git config step after git is installed in the test containers
2022-04-13 09:35:42 -06:00
wjblankeandGitHub a99c3be36b Revert "derivation from just a master public key (#11140)" (#11143)
This reverts commit db536c615a.
2022-04-13 07:21:46 -07:00
William Blanke 26466d54d9 updated gui to d5b75bcf7a0fe1ef76775e7f1d5e12d169069676 2022-04-12 16:15:10 -07:00
Patrick MaslanaandGitHub de5ed625bf Add dependencies macos rhel chiavdf (#11142)
* Added steps, when building the chiavdf wheel for macos and rhel-based systems, to install cmake and/or gmp.
2022-04-12 10:51:29 -07:00
YostraandGitHub db536c615a derivation from just a master public key (#11140) 2022-04-12 10:29:36 -07:00
Matt HauffandGitHub 151fd6476a rebase and more fixes (#10885) 2022-04-12 10:15:33 -07:00
9ff3fc993f Ms.plot load perf2 (#10978)
* 2.7 seconds -> 0.45 seconds

* Merge

* Work on create_plots refactor

* Try to fix tests

* Try to fix tests

* Use new functions

* Fix block_tools by adding dir

* Extra argument

* Try to fix cyclic import

* isort

* Drop warning

* Some cleanups around `exclude_final_dir` and directory adding

* Cleanup `min_mainnet_k_size` checks

* Drop unrelated changes

* Fixes after rebase

* Fix cyclic import

* Update tests/block_tools.py

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

* Update tests/block_tools.py

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

Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-04-11 09:16:01 -07:00
YostraandGitHub 0e9c917119 Expose farm_block RPC for simulator (#10830)
* expose farm block api to RPC for simulator

* lint

* pre-commit lint
2022-04-10 21:18:18 -07:00
dustinfaceandGitHub a48fd43100 streamable: Simplify and force correct usage (#10509)
* streamable: Merge `strictdataclass` into `Streamable` class

* tests: Test not supported streamable types

* streamable: Reorder decorators

* streamable: Simplify streamable decorator and force correct usage/syntax

* streamable: Just move some stuff around in the file

* streamable: Improve syntax error messages

* mypy: Drop `type_checking.py` and `test_type_checking.py` from exclusion

* streamable: Use cached fields instead of `__annotations__`

This is now possible after merging `__post_init__` into `Streamable`

* Introduce `DefinitionError` as `StreamableError`

* `/t` -> `    `
2022-04-08 18:29:32 -07:00
William Blanke 930a4b6825 updated gui to fccbd3e10d27673e39c01f0f89e47b5455b8331a 2022-04-08 15:03:13 -07:00
William Blanke 5dea4a238e updated gui to 5f8b23fc7deb0b07f665c075ed491059f4d8b95c 2022-04-08 14:11:04 -07:00
Kyle AltendorfandGitHub 2d4045b9d2 only check the version once in installer build workflows (#11099) 2022-04-08 13:49:21 -07:00
William Blanke f928283b3d updated gui to d714c21b4ee3ebbc7d18b5f819772cd9868d0bf5 2022-04-08 10:17:32 -07:00
Kyle AltendorfandGitHub e6f60c572e git -C and consistent activation in installer builds (#11098) 2022-04-08 09:59:59 -07:00
Kyle AltendorfandGitHub 13512be2b2 consistently name installer github actions artifact zips (#11096) 2022-04-08 09:59:36 -07:00
34d48a108b Changelog from 1.3.3 (#11081)
* Updating changelog

* Update appdmg to 0.6.4 to work with macos 12.3 (#10886)

* restrict click to < 8.1 for black

https://github.com/pallets/click/issues/2225

Doing this instead of updating since updating black will change several
files due to some formatting change.  I would like to take that on
separately from unbreaking CI.

* Check for vulnerable openssl (#10988)

* Check for vulnerable openssl

* Update OpenSSL on MacOS

* First attempt - openssl Ubuntu 18.04 and 20.04

* place local/bin ahead in PATH

* specify install openssl

* correct path

* run ldconfig

* stop building and check for patched openssl

* spell sudo right by removing it

* Remove openssl building - 1st attempt RHs

* Test Windows OpenSSL version HT @AmineKhaldi

* Get updated openssl version (#10991)

* Get updated openssl version

* Update pyinstaller

* Fix typo

* lets try this

* Let's try this

* Try this

Co-authored-by: Earle Lowe <e.lowe@chia.net>

* Gh 1.3.3v2 (#11011)

* Non Hobo patch the winstaller for CVE-2022-0778 (#10995)

* install.sh is not upgrading OpenSSL on MacOS (#11003)

* MacOS isn't updating OpenSSL in install.sh

* Exit if no brew on MacOS

* Code the if tree like a pro instead.

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

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

* Remove hobo patch

* apt show not needed (#10997)

* install/upgrade openssl on Arch Linux also

* Update CHANGELOG

* revert Arch change backport

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

Co-authored-by: wallentx <william.allentx@gmail.com>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: William Allen <wallentx@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2022-04-08 09:59:10 -07:00
Kyle AltendorfandGitHub 415236bf67 can we get by without dead snakes? (#11070)
* can we get by without dead snakes?

* Update install-timelord.sh

* Revert "Update install-timelord.sh"

This reverts commit cba3250b09.

* do not install python dev package for timelords build in ci

it is already there...

* more quotes for sh
2022-04-08 09:58:46 -07:00
2f9e718073 Ms.fast test blockchain (#11051)
* more work on test blockchain

* Optimize test_blockchain.py

* Fix weight proof bug

* Rename variable

* first rc_sub_slot hash bug

* New plots

* try with a new ID

* Run without cache

* Address test blocks and plots preparation.

* Update constant in test_compact_protocol().

* Update this constant too.

* Revert accidental altering of the gui submodule in ae7e3295f280a591e76c4dffdea75fb74ea5de6f.

* Fix benchmark test

* Revert mozilla-ca change

* Rebase on main

Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2022-04-08 09:57:59 -07:00
Adam KellyandGitHub 7cd23b0077 Fix the case of claiming a large number of coins (#11038)
* Fix the case of claiming a large number of coins with a fee from a pool wallet

* Revert change to unrelated test

* Set PoolWallet.DEFAULT_MAX_CLAIM_SPENDS to 300

* A few review improvements
2022-04-08 09:57:08 -07:00
Arvid NorbergandGitHub 21fb6f260e transition to using chia_rs module (#11094) 2022-04-08 09:37:10 -07:00
Kyle AltendorfandGitHub 02a880fbac rebuild workflows (#11092) 2022-04-07 20:43:27 -07:00
Chris MarslenderandGitHub c7a89fc425 Add wallentx as additional assignee on mozilla CA update PRs (#11089) 2022-04-07 19:43:14 -05:00
ded9f68583 chia|tests|github: Implement, integrate and test plot sync protocol (#9695)
* protocols|server: Define new harvester plot refreshing protocol messages

* protocols: Bump `protocol_version` to `0.0.34`

* tests: Introduce `setup_farmer_multi_harvester`

Allows to run a test setup with 1 farmer and mutiple harvesters.

* plotting: Add an initial plot loading indication to `PlotManager`

* plotting|tests: Don't add removed duplicates to `total_result.removed`

`PlotRefreshResult.removed` should only contain plots that were loaded
properly before they were removed. It shouldn't contain e.g. removed
duplicates or invalid plots since those are synced in an extra sync step
and not as diff but as whole list every time.

* harvester: Reset `PlotManager` on shutdown

* plot_sync: Implement plot sync protocol

* farmer|harvester: Integrate and enable plot sync

* tests: Implement tests for the plot sync protocol

* farmer|tests: Drop obsolete harvester caching code

* setup: Add `chia.plot_sync` to packages

* plot_sync: Type hints in `DeltaType`

* plot_sync: Drop parameters in `super()` calls

* plot_sync: Introduce `send_response` helper in `Receiver._process`

* plot_sync: Add some parentheses

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

* plot_sync: Additional hint for a `Receiver.process_path_list` parameter

* plot_sync: Force named parameters in `Receiver.process_path_list`

* test: Fix fixtures after rebase

* tests: Fix sorting after rebase

* tests: Return type hint for `plot_sync_setup`

* tests: Rename `WSChiaConnection` and move it in the outer scope

* tests|plot_sync: More type hints

* tests: Rework some delta tests

* tests: Drop a `range` and iterate over the list directly

* tests: Use the proper flags to overwrite

* test: More missing duplicates tests

* tests: Drop `ExpectedResult.reset`

* tests: Reduce some asserts

* tests: Add messages to some `assert False` statements

* tests: Introduce `ErrorSimulation` enum in `test_sync_simulated.py`

* tests: Use `secrects` instead of `Crypto.Random`

* Fixes after rebase

* Import from `typing_extensions` to support python 3.7

* Drop task name to support python 3.7

* Introduce `Sender.syncing`, `Sender.connected` and a log about the task

* Add `tests/plot_sync/config.py`

* Align the multi harvester fixture with what we do in other places

* Update the workflows

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-04-07 17:10:44 -07:00
Arvid NorbergandGitHub 8c0cdda880 extend tests in test_blockchain to include more conditions, as well as ensuring consensus rules allow unknown condition parameters (#11079) 2022-04-07 12:04:44 -07:00
Mariano SorgenteandGitHub 4c9a0edc64 Increases the probability of connecting to local trusted node (#10633) 2022-04-07 09:24:59 -07:00
ffd3b19315 Add /cat_get_unacknowledged API for accessing unknown CATs (#10382)
* Add /cat_get_unacknowledged API for accessing unknown CATs

* Reformat & fix cast issue

* Integration tested & add unit test

* Handle optional uint32

* Reformat

* Reformat

* Reformat

* Merge PR 10308

* Reformat

* Fix concurrent issue

* Add state change notification

* rename API

* Fix failing tests

* Updated state_change name

Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2022-04-07 09:22:59 -07:00
dustinfaceandGitHub c8468bea07 wallet: Improve logging in create_more_puzzle_hashes (#10761)
* wallet: Improve logging in `create_more_puzzle_hashes`

It's pretty spammy currently when scanning puzzle hashes.

* scan -> create, Scanning -> Creating

* `scanning_msg` -> `creating_msg`
2022-04-07 09:21:08 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ab71236215 Bump cryptography from 3.4.7 to 36.0.2 (#10787)
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.4.7 to 36.0.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.4.7...36.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 09:20:30 -07:00
dustinfaceandGitHub 0917d0ae78 wallet: Drop puzzles/genesis_checkers.py and related puzzles (#10790)
Its all duplicated code and puzzles as far as i can tell, see 
`chia/wallet/puzzles/tails.py`.
2022-04-07 09:19:37 -07:00
d892e14c64 Handle INSTALL_PYTHON_VERSION in Install.ps1, otherwise search 3.9/3.8/3.7 (#11034)
* Handle INSTALL_PYTHON_VERSION in Install.ps1, otherwise search 3.9/3.8/3.7

* fix python availability check in Install.ps1

* when Install.ps1 does not find an acceptable python, list supported versions in order

* Update Install.ps1

Co-authored-by: Matt Hauff <quexington@gmail.com>

Co-authored-by: Matt Hauff <quexington@gmail.com>
2022-04-07 09:18:54 -07:00
Kyle AltendorfandGitHub c0d346d428 Remove dead snakes usage from benchmark tests (#11053) 2022-04-07 09:18:15 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42245d74eb Bump github/super-linter from 4.9.1 to 4.9.2 (#11067)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.9.1...v4.9.2)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 09:17:53 -07:00
Amine KhaldiandGitHub 6026d734cf Significantly speedup preparing test blocks and plots by opting for a release download instead of a shallow git clone, and also by putting a caching layer on top of that. (#11065) 2022-04-06 20:15:10 -07:00
JeffandGitHub d35c414c09 Set keychain_proxy to None in await_closed() to support reinitialization (#11075)
* Set keychain_proxy to None in await_closed() to support reinitialization.

* Added `shutting_down` param to _await_closed() to control whether the keychain_proxy is closed.
2022-04-06 20:14:49 -07:00
Kyle AltendorfandGitHub c238ce17ba add -d for Install.ps1 (#11062) 2022-04-05 17:00:10 -07:00
Arvid NorbergandGitHub 492503f109 print average block rate at different block height windows (#11064) 2022-04-05 16:11:03 -07:00