Commit Graph
1095 Commits
Author SHA1 Message Date
Mariano SorgenteandKyle Altendorf 87a3e93cc4 Ms.mypy enable (#13320)
* Remove mempool.additions

* Don't re run the program, and remove program from mempool item

* Removals only stores item ids, and stores a list

* Move pending cache down to prevent cache dos

* Separate validation from adding to pool, and remove mypy exceptions

* Fix bug with replacing

* Add to mypy

* Revert cbgui

* precommit fail

* Properly update the seen dict

* lint error

* Fix mempool bug

* Enable mypy for a bunch of files

* Update after merge with main

* 99/260 remaining

* Address comments

* Enable more mypy

* Merge conflict mypy file

* More fixes

* pytest.ini and cb-gui

* One more flake8 fix

* Flake8 and tests

* More test fixes

* isort

* Make LGTM happy

* Update chia/full_node/block_store.py

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

* Update chia/full_node/full_node_store.py

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

* Update chia/wallet/util/peer_request_cache.py

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

* Apply all suggestions from PR comments

* Revert cb-gui

* 100 back to 1000, minor tweaks

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-09-08 12:57:15 -05:00
Amine Khaldi baea40608a Merge commit '1fdacc75a7ecc8f5169b3c4297c2bf91d99207a5' into checkpoint/main_from_release_1.6.0_1fdacc75a7ecc8f5169b3c4297c2bf91d99207a5 2022-09-07 20:23:55 +01:00
Amine Khaldi bc41cd72e6 Merge commit '303c7e0eb0b9631007ddd76a705eab992a3bee66' into checkpoint/main_from_release_1.6.0_303c7e0eb0b9631007ddd76a705eab992a3bee66 2022-09-02 11:28:49 +01:00
Kyle Altendorf 3cc5ff9971 Merge commit '6272033abb0b2f6f0e737714b03611908eb35903' into checkpoint/main_from_release_1.6.0_6272033abb0b2f6f0e737714b03611908eb35903 2022-09-01 22:51:53 -04:00
Kyle Altendorf e73f6ddb56 fill_missing_services=True for data layer server https ps mirror (#13283) 2022-09-01 19:05:02 -05:00
Florin Chirica 1adc4d36b0 Add explicit timeout for atari client. (#13273) 2022-09-01 19:04:43 -05:00
Florin ChiricaandKyle Altendorf 484f232c39 Catch exception while tracking singleton. (#13266)
* Catch exception while tracking singleton.

* Update chia/data_layer/data_layer.py

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

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-09-01 19:03:46 -05:00
Florin Chirica 3e25de2553 Remove boolean from atari DB. (#13274) 2022-09-01 18:48:32 -05:00
Florin ChiricaandEarle Lowe 1fdacc75a7 Decouple atari server. (#13065)
* Checkpoint decouple atari server.

* Add click cli.

* Lint.

* Remove run_server.

* Updates to DL HTTP service

* Lint - config parameter optional with default

* changes based on comments

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2022-08-31 15:55:50 -05:00
Amine Khaldi 98237e6227 Reflect the changes from main on atari related code. 2022-08-30 22:35:57 +01:00
Amine Khaldi fd471e457f Reflect the changes from main on atari related code. 2022-08-30 20:31:51 +01:00
Kyle Altendorf 303c7e0eb0 clarify comment in DataLayerServer.stop() (#13216) 2022-08-30 02:59:35 -05:00
Florin Chirica 6272033abb Change override to overwrite atari add_missing_files. (#13224) 2022-08-30 02:59:13 -05:00
Amine Khaldi f11e0e3106 Reflect the change on datalayer related code. 2022-08-25 14:48:35 +01:00
Kyle Altendorf d9ee8b9363 Merge pull request #13079 from Chia-Network/atari-cancel_offer_rpc
atari - cancel offer rpc
2022-08-24 15:42:40 -04:00
Kyle Altendorf 754cfeef00 (fixed up) 2022-08-23 17:31:52 -04:00
Kyle Altendorf f2d6a158fa roll back pending roots on cancellation (but broken) 2022-08-23 15:09:17 -04:00
Kyle Altendorf 704575e09e Update data_layer.py 2022-08-23 12:43:35 -04:00
Kyle Altendorf 7844b6eee1 include wallet maker offer rpc call in transaction rollback region 2022-08-23 12:11:17 -04:00
Kyle Altendorf 783233349a Merge pull request #13095 from Chia-Network/fc.fix-duplicate-subscriptions
Fix duplicate subscriptions.
2022-08-22 13:31:22 -04:00
Kyle Altendorf 4bbcbc3439 Merge branch 'long_lived/atari' into atari-cancel_offer_rpc 2022-08-22 12:21:36 -04:00
Kyle Altendorf 2fbfe49605 Merge branch 'long_lived/atari' into atari-cancel_offer_rpc 2022-08-22 12:11:45 -04:00
Florin Chirica 1941f20f49 Fix duplicate subscriptions. 2022-08-22 18:17:39 +03:00
Kyle Altendorf e8a4f5d9a1 move wallet actions outside the lock 2022-08-22 10:11:24 -04:00
Kyle Altendorf 8a5fe871ba more lock=False 2022-08-21 11:33:31 -04:00
Kyle Altendorf a64ee459b7 Merge branch 'long_lived/atari' into atari-transactions_for_offers 2022-08-20 12:36:43 -04:00
Kyle Altendorf 2e6c1baa35 atari - call DataLayer._update_confirmation_status() more 2022-08-20 10:42:17 -04:00
Kyle Altendorf 90e0ca235b Merge branch 'long_lived/atari' into atari-transactions_for_offers 2022-08-20 09:50:49 -04:00
Kyle Altendorf 782f7cc41c Merge pull request #13080 from Chia-Network/atari-fixup_fee_optionality
atari - fixup fee optionality
2022-08-20 09:20:27 -04:00
Kyle Altendorf 52f518e26d atari - transactions for offers 2022-08-19 21:20:42 -04:00
Kyle Altendorf ebd4dfeaaa atari - fixup fee optionality 2022-08-19 17:09:15 -04:00
Kyle Altendorf b548bbe939 atari - trade_id not offer_id 2022-08-19 16:30:17 -04:00
Kyle Altendorf daac27e336 atari - preliminary /cancel_offer route and test 2022-08-19 16:08:54 -04:00
Kyle Altendorf fc08becefb relocate api classes to reduce cross importing 2022-08-19 10:14:15 -04:00
Kyle Altendorf b6b738b295 Merge branch 'long_lived/atari' into atari-fix_empty_store_offers 2022-08-18 23:05:31 -04:00
Kyle Altendorf a7cab59d26 add Proof.root() to avoid sometimes invalid -1 indexing 2022-08-18 20:15:49 -04:00
Florin Chirica 5584113bcb Only unique URLs. 2022-08-18 23:34:01 +03:00
Florin Chirica f8cedd204b Rstrip mirror links. 2022-08-18 23:25:50 +03:00
Kyle Altendorf d518f39386 verify offer in make_offer() prior to returning 2022-08-18 08:33:02 -04:00
Kyle Altendorf 4d2a278c48 add verify_offer route 2022-08-17 22:35:32 -04:00
Kyle Altendorf e76ef3e6de another todo 2022-08-17 18:55:34 -04:00
Kyle Altendorf d5674f7128 faster and better 2022-08-17 16:49:54 -04:00
Kyle Altendorf 80d205bbba Merge branch 'long_lived/atari' into atari-test_modified_key_in_offer 2022-08-17 15:03:21 -04:00
Kyle Altendorf 5b54c128c1 some store id/root checking of the actual offer vs. the reference data 2022-08-17 11:32:52 -04:00
Florin Chirica d07626c1e2 Atari change root primary key. 2022-08-17 17:41:05 +03:00
Kyle Altendorf d179e2d085 Merge pull request #12996 from Chia-Network/atari-blobs
atari - blobs
2022-08-17 09:56:01 -04:00
Kyle Altendorf ea50701457 Merge branch 'long_lived/atari' into atari-blobs 2022-08-16 19:08:20 -04:00
Kyle Altendorf a1ae6b5594 Merge branch 'long_lived/atari' into atari-offer_relocate_to_data_layer 2022-08-16 19:05:20 -04:00
Kyle Altendorf ac235ea6d1 Merge pull request #12411 from Chia-Network/atari-offer_rpc_stubs
atari - make and take offer routes
2022-08-16 19:02:36 -04:00
Kyle Altendorf 3beb220930 move most of the dl offer code to DataLayer (and dedupe) 2022-08-16 15:55:03 -04:00