Commit Graph
14659 Commits
Author SHA1 Message Date
matt 795afedd72 more chialisp changes working towards CAT royalties 2022-02-24 18:38:19 +00:00
dustinfaceandGitHub cdf48f7b29 benchmarks: Implement benchmarks for streamable (#10388)
* benchmarks: Implement benchmarks for streamable

* benchmarks: Collect iterations per time instead of time per iterations

* benchmarks: Add standard deviation to streamable benchs

* benchmarks: Add ns/iteration to streamable benchs

* benchmarks: Move object creation out or the runs loop

* benchmarks: Use `click.Choice` for `--data` and `--mode`

* benchmarks: Its µ

* benchmarks: Improve logging

* benchmarks: Drop unused code

* benchmarks: Use `process_time` as clock

* benchmarks: Add stdev `us/iterations %` + more precission

* benchmarks: Add `--live/--no-live` option to enable live results
2022-02-24 10:19:57 -08:00
Florin Chirica 10720f5fa3 Temp folder path. 2022-02-24 16:11:28 +02:00
dustinfaceandGitHub 55c4eb3d28 farmer: Send a PUT /farmer if the signature verification failed (#10364)
Due to the bug which was fixed in #9922 some pools obviously still have 
incorrect authentication public keys from their farmers. This PR is to 
make sure that the farmers update their authentication public key on the 
pool if they get an `INVALID_SIGNATURE` response error from a `GET 
/farmer`.
2022-02-24 08:46:28 -05:00
Florin Chirica f603dfab97 Get side from seed. 2022-02-24 15:23:42 +02:00
Florin Chirica e67910a303 RuntimeError instead of asert. 2022-02-24 14:53:08 +02:00
Florin Chirica 55f110607e Try to fit test into timeout. 2022-02-24 14:33:24 +02:00
dustinfaceandGitHub 2ba0b9f41d farmer: Log POST/PUT requests data with DEBUG log level (#10405) 2022-02-23 22:29:50 -05:00
Kyle AltendorfandGitHub 1c96b21b7c Add pytest to mypy pre-commit environment (#10397)
* Add pytest to mypy pre-commit environment

* Update .pre-commit-config.yaml
2022-02-23 18:20:52 -08:00
Chris MarslenderandGitHub c82840eb69 Fix s3 destination for intel dev installers (#10403) 2022-02-23 17:44:59 -06:00
Kyle AltendorfandGitHub 51dbf804bb Merge pull request #10394 from Chia-Network/fc.track_on_startup 2022-02-23 18:01:22 -05:00
Kyle AltendorfandGitHub 75667bd67e Merge pull request #10400 from Chia-Network/atari_wallet_high_cpu 2022-02-23 17:59:32 -05:00
b6ffc92195 Update chia/data_layer/data_store.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-02-23 22:01:57 +02:00
Florin Chirica 96ae1acf10 Increase timeout as tests take more time now. 2022-02-23 22:00:32 +02:00
matt ea0fe10028 remove unused code 2022-02-23 19:24:31 +00:00
Matt Hauff eb7f1f0cc8 flake8 2022-02-23 12:24:07 -07:00
Florin Chirica 1158903a84 Fix test. 2022-02-23 21:08:35 +02:00
Matt Hauff f52a4adb9a Fix DL wallet sync and add logging 2022-02-23 12:02:44 -07:00
Florin Chirica d98632264c Fix outdated test format. 2022-02-23 19:37:03 +02:00
matt 5d786ad226 fix clvm testss 2022-02-23 17:31:07 +00:00
Florin Chirica 5e9144e471 Try to fix test. 2022-02-23 19:27:21 +02:00
Florin Chirica 0675f6a293 Merge branch 'atari' into fc.dl_optimizations 2022-02-23 19:25:09 +02:00
matt e2b1e9db9e Move towards goals in chialisp 2022-02-23 16:05:19 +00:00
Florin Chirica afae169999 Add test. 2022-02-23 17:57:12 +02:00
Arvid NorbergandGitHub d80293e390 more test fixes (#10395)
* WIP: fix more hard coded listen sockets in tests

* correct comment

* remove seemingly redundant event_loop fixtures (that sometimes seem to cause problems)

* when a test fails, the error is the most important thing to print

* fix mempool tests to me truly independent, by giving each test case a fresh block, and fresh reward coins to use for the test
2022-02-23 07:51:18 -08:00
joshpainterandGitHub 8a2e876e45 Added CAT wallet name parameter (#10381)
The create_wallet_for_cat method call accepts a "name" parameter for the new CAT being created, but we weren't passing that "name" variable here so all new wallets created via this method end up being named "CAT WALLET" (the default for name parameter in create_wallet_for_cat) even if you specified a wallet name here.
2022-02-23 10:11:24 -05:00
Florin Chirica 7c111a8867 Benchmark slow version as well. 2022-02-23 16:59:11 +02:00
Kyle Altendorf d44951b18a fixup hints 2022-02-23 08:51:09 -05:00
Kyle Altendorf 874684ba0a Merge branch 'atari' into atari-update_mypy_strict_list 2022-02-23 08:32:54 -05:00
Kyle AltendorfandGitHub d5aacd87f8 Stop launching more wallet receipt and validation tasks during shut down (#10384)
* Stop launching more wallet receipt and validation tasks during shut down

* info not error

* less f-string
2022-02-23 08:31:32 -05:00
Mariano SorgenteandGitHub d0ed4fb0d5 Ms.fix get transactions (#10380)
* Increase limit from 50 to unlimited

* Increase limit from 50 to unlimited, and allow configuring from CLI call

* Use max uint32
2022-02-23 08:28:03 -05:00
Florin Chirica 5b33082dc4 Track on startup for subscriptions. 2022-02-23 14:26:29 +02:00
Gene HoffmanandGitHub f6af022728 Improve SQLite version string (#10387) 2022-02-23 00:39:31 -08:00
Kyle AltendorfandGitHub 925356a42b Merge pull request #10361 from Chia-Network/fc.fixes 2022-02-22 22:38:38 -05:00
Mariano SorgenteandGitHub c844016019 Improve trusted sync performance (#10377)
* Improve trusted sync performance

* Fix broken CLI

* Decrease timestamp cache size

* Add all valid states at the right time
2022-02-22 18:37:51 -08:00
Kyle AltendorfandGitHub 001effae61 asyncify wallet weight proof validation (#10376) 2022-02-22 17:39:46 -08:00
Arvid NorbergandGitHub 97ef7b275a use free listen ports when running tests (#10307) 2022-02-22 16:22:11 -08:00
Florin Chirica 23b7358215 More mypy. 2022-02-23 00:46:35 +02:00
Florin Chirica 15560e5923 CancelledError. 2022-02-22 23:25:55 +02:00
dustinfaceandGitHub 8eb2a29834 streamable: Enable flake8 and pylint (#10355) 2022-02-22 12:42:05 -08:00
dustinfaceandGitHub d9154f6229 tests: Use pytest.raises in some places (#10335)
* tests: Use `pytest.raises` in some places

* tests: Fix `test_StrictDataClassLists`
2022-02-22 12:41:45 -08:00
Florin Chirica b50dbda847 mypy. 2022-02-22 22:35:59 +02:00
Mariano SorgenteandGitHub e1e779ee3c Add auth key back (#10374)
* Add auth key back

* PK not SK
2022-02-22 12:34:53 -08:00
Florin Chirica def1e4cbfb Refactor validate batch. 2022-02-22 21:02:50 +02:00
Chris MarslenderandGitHub b895de80eb Update to download.chia.net bucket and use cached url for webseed (#10365) 2022-02-22 12:59:34 -06:00
artyandGitHub 062dfe9feb Add info dump about how to use singletons (#9559)
* Add info dump about how to use singletons

* Add a comment re: matt howard pointing out that the eve spend can also be simulataneous

* Fix commentary

* Add commentary according to feedback
2022-02-22 10:24:40 -08:00
matt 090bd14c76 fix test to new trade_price_list system 2022-02-22 18:23:33 +00:00
Florin Chirica 57fbcc6554 Add test. 2022-02-22 20:21:28 +02:00
Kyle AltendorfandGitHub dad8d7a221 Merge pull request #10375 from Chia-Network/pin_windows_worker 2022-02-22 12:59:44 -05:00
Arvid NorbergandGitHub aa33d7e94b use a proper temporary file for the blockchain database in tests, rather than files in the current directory with potentially colliding names (#10369) 2022-02-22 09:39:38 -08:00