Kyle Altendorf
5052cc2fd4
limit DataStore.get_pending_root()
query ( #15607 )
2023-07-24 20:02:18 -05:00
Kyle Altendorf
345f096192
limit DataStore.get_tree_root()
query ( #15604 )
2023-07-24 20:02:09 -05:00
Kyle Altendorf
74b02fa44e
test installed code, not source ( #15532 )
...
* explore testing installed code, not source
* non-editable install
* hmm
* yup
* bash it up
* test-single.yml: defaults: run: shell: bash
* try removing windows specific steps
* env.GITHUB_WORKSPACE
* Update test-single.yml
* Update test-single.yml
* Update test-single.yml
* also Install.ps1
* ,
* more
* Update test-single.yml
* Update .coveragerc
* whitespace
2023-07-24 20:02:00 -05:00
Kyle Altendorf
7fe09a3b12
recursive query for DataStore.get_terminal_node_for_seed()
( #15602 )
...
* recursive query for `DataStore.get_terminal_node_for_seed()`
* only select needed columns
* recover matching node selection
* no more limit
* limit
* ignore
* fixup
2023-07-24 20:01:15 -05:00
Kyle Altendorf
5f8881ee66
limit DataStore._insert_ancestor_table()
query ( #15606 )
2023-07-24 20:01:05 -05:00
Kyle Altendorf
839a2a7f13
limit DataStore.tree_id_exists()
query ( #15608 )
2023-07-24 20:00:58 -05:00
Kyle Altendorf
d3698b2873
limit DataStore.get_node_type()
query ( #15609 )
2023-07-24 20:00:48 -05:00
Kyle Altendorf
02d1d609fc
limit DataStore.get_node()
query ( #15611 )
2023-07-24 20:00:40 -05:00
Kyle Altendorf
9a08be7b0b
cleanup basic asyncio.CancelledError
uses for 3.8 ( #15801 )
2023-07-24 20:00:14 -05:00
Kyle Altendorf
e32a6c94b7
use venv for pre-commit flake8 ( #15808 )
2023-07-24 19:59:27 -05:00
Kyle Altendorf
53022db167
more precommit tidy ( #15810 )
2023-07-24 19:58:59 -05:00
Izumi Hoshino
2d65fc7114
Update cuda plot log-progress mapping ( #15839 )
2023-07-24 18:48:49 -05:00
William Allen
8f830ddabe
checkpoint: into main from release/2.0.0 @ bce770962c
( #15844 )
...
Source hash: bce770962c
Remaining commits: 2
2023-07-24 18:46:31 -05:00
Amine Khaldi
29adda0a55
Merge commit 'bce770962c912351d7a85663c13a35d099cf91e8' into checkpoint/main_from_release_2.0.0_bce770962c912351d7a85663c13a35d099cf91e8
2023-07-24 17:23:26 +01:00
William Allen
8224d2fd65
checkpoint: into main from release/2.0.0 @ 83192be416
( #15842 )
...
Source hash: 83192be416
Remaining commits: 3
2023-07-24 11:22:47 -05:00
Matt Hauff
217e81f478
Move some puzzles out of chia.wallet.puzzles ( #15822 )
2023-07-24 10:39:16 -05:00
Matt Hauff
53502518c9
Dedup offer cancellation logic ( #15804 )
...
* Dedup offer cancellation logic
* Forgot continue
* cancel_pending_offer -> cancel_pending_offers
* Fix broken NFT test
* Fix typo
* Remove writer
* Change dl cancellation test (more efficient)
* Add a bit of coverage
* Address comment by @trepca
2023-07-24 10:38:49 -05:00
Amine Khaldi
b5fc043f48
Merge commit '83192be416bbc57d52db5e27307a1f2bccd2c22b' into checkpoint/main_from_release_2.0.0_83192be416bbc57d52db5e27307a1f2bccd2c22b
2023-07-24 13:22:17 +01:00
William Allen
591e794ee7
Didn't save my arm changes
2023-07-22 05:30:27 -05:00
William Allen
cc8811450b
Fixing issue with pre-release CI
2023-07-22 05:24:38 -05:00
William Allen
bce770962c
use chiapos and bladebit release-candidates ( #15833 )
...
* use chiapos and bladebit release-candidates
* pull down bladebit, and bladebit-cuda artifacts
* Fixed wildcard problem with chmod
* Set loop to find macos bladebit
* Cleanup shellscript
2023-07-22 04:33:01 -05:00
Matt Hauff
b565f606c8
Add uncurried args to debug_spend_bundle ( #15813 )
...
* Add uncurried args to debug_spend_bundle
* Add <curried puzzle> designator
* simplify control flow
2023-07-21 23:34:41 -05:00
Earle Lowe
83192be416
Update testnet height for SOFT_FORK3 and fix Chip-13 logic ( #15831 )
...
Update testnet height for SOFT_FORK3 and fix some logic issues in Chip-13 implementation
2023-07-21 23:34:21 -05:00
William Allen
145532c3be
checkpoint: into main from release/2.0.0 @ 97245c959d
( #15830 )
...
Source hash: 97245c959d
Remaining commits: 0
2023-07-21 21:27:43 -05:00
Brandon Butler
c06fbb1f11
Add check to ubuntu_cmake_install for distribution ID ( #15828 )
...
Add check to ubuntu_cmake_install for distribution ID in install-timelord.sh
2023-07-21 17:29:34 -05:00
Amine Khaldi
96b4c27f7d
Merge commit '97245c959df4441687d1b2efb694edcc9d196d4b' into checkpoint/main_from_release_2.0.0_97245c959df4441687d1b2efb694edcc9d196d4b
2023-07-21 21:56:20 +01:00
William Allen
97245c959d
Chip13 ( #15688 ) ( #15825 )
...
* Chip13 (#15688 )
* Chip13
* Lint.
* Black.
* Lint.
* Fix BlockTools.
* Trigger the soft fork.
* Parametrize bt.
* Syntax.
* Add softfork3 to empty_blockchain too.
* Skip test.
* Skip test.
* Try fix.
* Add persistent blocks.
* Lint.
* Run tests without block cache.
* Try to fix tests.
* Revert "Try to fix tests."
This reverts commit f10c7fc847
.
* WIP plot filters.
* pytest.
* Lint.
* Skip cache tests.
* Try to lower the constraints.
* Try to increase timeout.
* Test blockchain.
* Store test.
* Revert to main
* Revert to main
* Revert to main
* Add tests with new interface
* Test.
* Fixtures.
* Fixtures.
* Lint.
* Add first test.
* Improve test.
* Isort.
* merge fix
* fix counter
* Bump test-cache version to soft_fork3.0 DBs
* Enable tests.
* Enable all.
* Syntax.
* Attempt higher timeouts.
* Try to skip big test.
* Revert tests larger timeouts.
* Try to get test to work with 4000.
* Skip 10000 blocks.
* Test.
* Update test_full_node_store.py
* Update test_blockchain.py
* Update test_blockchain.py
* Update tests/conftest.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Update tests/blockchain/test_blockchain.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Address some comments.
* Some more comments.
* Use new passes_plot_filter signature.
* Lint.
* Lint.
* Reduce benchmark timeout.
* Skip test.
* Address review comments.
* Delete leftovers.
* Review comments.
* await.
* Revert async call.
* Validate in body too.
* Fix test.
---------
Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: wallentx <william.allentx@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Fix daemon test to use client ssl context
* fix daemon test to close client
---------
Co-authored-by: Florin Chirica <fchirica96@gmail.com>
Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-21 15:54:11 -05:00
Florin Chirica
7c6cf2cfe9
Chip13 ( #15688 )
...
* Chip13
* Lint.
* Black.
* Lint.
* Fix BlockTools.
* Trigger the soft fork.
* Parametrize bt.
* Syntax.
* Add softfork3 to empty_blockchain too.
* Skip test.
* Skip test.
* Try fix.
* Add persistent blocks.
* Lint.
* Run tests without block cache.
* Try to fix tests.
* Revert "Try to fix tests."
This reverts commit f10c7fc847
.
* WIP plot filters.
* pytest.
* Lint.
* Skip cache tests.
* Try to lower the constraints.
* Try to increase timeout.
* Test blockchain.
* Store test.
* Revert to main
* Revert to main
* Revert to main
* Add tests with new interface
* Test.
* Fixtures.
* Fixtures.
* Lint.
* Add first test.
* Improve test.
* Isort.
* merge fix
* fix counter
* Bump test-cache version to soft_fork3.0 DBs
* Enable tests.
* Enable all.
* Syntax.
* Attempt higher timeouts.
* Try to skip big test.
* Revert tests larger timeouts.
* Try to get test to work with 4000.
* Skip 10000 blocks.
* Test.
* Update test_full_node_store.py
* Update test_blockchain.py
* Update test_blockchain.py
* Update tests/conftest.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Update tests/blockchain/test_blockchain.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Address some comments.
* Some more comments.
* Use new passes_plot_filter signature.
* Lint.
* Lint.
* Reduce benchmark timeout.
* Skip test.
* Address review comments.
* Delete leftovers.
* Review comments.
* await.
* Revert async call.
* Validate in body too.
* Fix test.
---------
Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: wallentx <william.allentx@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2023-07-20 21:25:23 -05:00
Matt Hauff
e325bf99da
Remove CAT1 UX guards ( #15812 )
2023-07-20 16:30:07 -05:00
Amine Khaldi
de05016ce0
New aggregate signature conditions ( #15769 )
...
* New aggregate signature conditions.
* compute domain strings on the fly (but cache them) (#2 )
* Addendum to Arvid's idea.
* Fix a typo.
* more test coverage (#3 )
* Fix a typo.
* Refactor final message creation logic into make_aggsig_final_message.
* Cover make_aggsig_final_message exception cases.
* Refactor processing spends' agg sig lists in pkm_pairs.
* Construct a Coin out of a Spend and use it in make_aggsig_final_message.
* Adopt Richard's dictionary trick to simplify make_aggsig_final_message.
* Leverage make_aggsig_final_message in WalletTool's sign_transaction.
---------
Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>
2023-07-20 15:29:10 -05:00
Earle Lowe
4c004f4d91
Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 ( #15821 )
...
* Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 for macos 10.14 build support
* Switch back to 10.14 runners for installer
2023-07-20 14:59:49 -05:00
Izumi Hoshino
ec5ef087fe
Added defaults to get_harvester_config
API ( #15820 )
2023-07-20 13:25:16 -05:00
wjblanke
bc00bc71d3
Bump chia-blockchain-gui to 2.0.0-rc1 ( #15815 )
...
* Bump chia-blockchain-gui to 80dc27d5348a89e17018cd095868bcf67c94abb1
* Refactor TX filter to use TransactionTypeFilterMode Enum by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1837
* Update Electron to 25.1.1 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1858
* Add spendClawbackCoins to WalletConnect commands by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1853
* Update lerna to 7.0.0 and node to 16.20.1 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1861
* Updated mui and lingui by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1865
* Fixed dapp disconnect by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1866
* Used new useAuth hook for logIn by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1868
* Specify copyright owner in LICENSE by @hoffmang9 in https://github.com/Chia-Network/chia-blockchain-gui/pull/1877
* Updated locales by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1887
* Fixed scroll overflow in the header by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1874
* Add useGetWalletAddressesQuery RPC hook by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1892
* Correct Farm.svg attributes by @wallentx in https://github.com/Chia-Network/chia-blockchain-gui/pull/1895
* Clawback button compare time with latest block time by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1884
* Move wallet balance cards for CAT txns by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1903
* VC fixed rendering by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1888
* Plot compression UX updates by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/1772
* Update WalletConnect package to 2.9.0 by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1897
* Address book feature by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1910
* Bugfix: Crash importing malformed local VC by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1890
**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2...2.0.0-rc1
* 11
---------
Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2023-07-20 00:45:59 -05:00
William Allen
458750219d
Update chiapos ( #15816 )
2023-07-20 00:45:44 -05:00
Matt Hauff
7c904c6cf0
Fix CLI indentation ( #15811 )
2023-07-19 14:39:48 -05:00
Earle Lowe
a4471bfa8a
pass DataLayer root and generation instead of requerying ( #15613 )
...
* Cache root changes in insert_batch loop
* Reduce selects for root and generation
* remove sql logging, extracted to https://github.com/Chia-Network/chia-blockchain/pull/15690
* remove optimization extracted to https://github.com/Chia-Network/chia-blockchain/pull/15691
* remove optimization extracted to https://github.com/Chia-Network/chia-blockchain/pull/15728
* Delete test_batch_speed.py
benchmark provided in another already merged pr
* add `Root.to_row()`
* shift optimization to `DataStore.get_keys_values_dict()`
* rename to `intermediate_root`
* less tuple returning
* Revert "shift optimization to `DataStore.get_keys_values_dict()`"
This reverts commit b12ae08e3b
.
* add `test_data_store.test_insert_batch_reference_and_side()`
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-07-19 13:47:17 -05:00
Jeff
e037b447a7
Bump chia-blockchain-gui to c5387ea116a4ed18c3f7ff15a711ecd2bb89fa15 ( #15806 )
...
Includes plotting/harvesting UI updates for compressed plots
2023-07-18 23:44:40 -05:00
Izumi Hoshino
5c76f50117
Farmer now returns missing signage points ( #15765 )
...
* Farmer now returns missing signage points
* Added test
* Fixed lint error
* Ignored strange pylint behavior
* Fixed lint error
---------
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-18 21:04:03 -05:00
Izumi Hoshino
85d14f561a
Added compression level and harvesting mode to harvester protocol/mes… ( #15776 )
...
* Added compression level and harvesting mode to harvester protocol/messages
* Added test
* Fixed lint error
2023-07-18 16:24:56 -05:00
Izumi Hoshino
1f9081a225
Added total_effective_plot_size
for get_harvesters
RPC API ( #15770 )
...
* Added `total_effective_plot_size` for `get_harvesters` RPC API
* Fixed lint error
* Change the type of `total_effective_plot_size` in Receiver to `int`
* Fixed lint error
* Fixed lint error 2
* Changed text
* Added test
* Fixed lint error
* Fixed lint error 2
* Fixed a test issue
* Added config.py to tests/cmds
2023-07-18 12:36:12 -05:00
Izumi Hoshino
b772ac91db
Added cuda and plot compression support for bladebit 3 ( #15774 )
...
* Added cuda and plot compression support for bladebit 3
* Update chia/plotters/bladebit.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Update chia/plotters/bladebit.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Fixed issues
* Fixed lint error
---------
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2023-07-18 12:33:42 -05:00
Izumi Hoshino
dd1fbeb040
Added get_keys_for_plot
daemon server API ( #15772 )
...
* Added `get_keys_for_plot` daemon server API
* Fixed isort error
* Added assertion code
* Added tests
* Fixed flake8 error
* Applied review suggestion
* Added test cases for daemon client
* Renamed `get_keys_for_plot` -> `get_keys_for_plotting`
2023-07-18 12:26:48 -05:00
Izumi Hoshino
3b116c738b
Added average_block_time
to get_blockchain_state
FullNode RPC API ( #15777 )
...
* Added `average_block_time` to `get_blockchain_state` FullNode RPC API
* Updated the code according to the review
* Fixed lint error
* Fixed lint error 2
* Fixed lint error 3
* Applied review suggestion
* Fixed lint error
* Update
* Added tests
* Fixed test
2023-07-17 16:34:04 -05:00
Izumi Hoshino
e772e4ff69
Improved pool stats handling ( #15764 )
...
* Improved pool stats handling
* Minor update
* Made `increment_pool_stats` free function
* Updated `increment_pool_stats` function args
* Fixed isort issue
* WIP: Adding test cases
* Fixed lint error
* Fixed lint error 2
* Fixed lint error 3
* Added test case
2023-07-17 15:39:00 -05:00
Kyle Altendorf
aa3e1563e8
avoid DataLayer insert ancestors precheck ( #15728 )
...
* avoid DataLayer insert ancestors precheck
* remove original change
* update
* no cover `:[`
2023-07-17 15:37:27 -05:00
Matt Hauff
80c07a7476
Remove references to old offer mod ( #15694 )
...
* Remove references to old offer mod
* Add guards in RPC against parsing old offers
* Fix benchmark test
* test coverage
2023-07-17 15:02:04 -05:00
Kyle Altendorf
79c71cb192
fixup per file matrix generation config ( #15761 )
2023-07-17 14:22:47 -05:00
Kyle Altendorf
a76071e752
Report certificate errors directly for CLI connection errors ( #15518 )
...
improve clarity of cli connection errors around certificates
2023-07-17 14:21:41 -05:00
Arvid Norberg
99c55fea67
Announce conditions limit ( #15790 )
...
* Test announcement condition limits for soft-fork 3
* run slow wallet-sync tests in plain mode only
---------
Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
2023-07-17 13:17:48 -05:00
Matt Hauff
ac4c2ca2ee
Fix flaky CAT test ( #15759 )
...
* Fix flaky CAT test
* Update test_transaction_store test
2023-07-17 13:16:51 -05:00