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
Kyle Altendorf
9aae96df08
avoid DataLayer insert precheck ( #15691 )
...
* avoid DataLayer insert precheck
* just check the string...
* Update test_data_store.py
* Update data_store.py
* no cover `:[`
2023-07-17 13:15:41 -05:00
Kyle Altendorf
ca34240b43
add sql logging config for DataLayer ( #15690 )
...
* add sql logging config for DataLayer
* add test
* data_sql.log
2023-07-17 13:15:22 -05:00
Izumi Hoshino
fcde4bd619
Added blocks_won
and last_time_farmed
to get_farmed_amount
Wall… ( #15778 )
...
* Added `blocks_won` and `last_time_farmed` to `get_farmed_amount` Wallet RPC API
* Updated code according to the review
* Fixed performance degradation
* Fixed lint error
2023-07-17 10:23:20 -05:00
Matt Hauff
494e6e7f22
Add RPC client and tests for cancel_offers endpoint ( #15758 )
2023-07-17 10:22:52 -05:00
Arvid Norberg
eda68c0cdd
solution_generator ( #15768 )
...
* use solution_generator() from rust
* farm blocks with backrefs
* update BlockTools to generate block generators serialized with backrefs
* support deserializing programs with backrefs
2023-07-17 10:05:37 -05:00
Jack Nelson
5d1d328682
Cleanup & Fix Simulator Sub Epoch Logic ( #15698 )
...
* cleanup sub slot logic
* cleanup + fix code
* add more comments
2023-07-15 18:18:45 -05:00
Izumi Hoshino
e1b17c61de
Updated UI_ACTUAL_SPACE_CONSTANT_FACTOR
to 0.78 ( #15771 )
2023-07-14 22:27:04 -05:00
Matt Hauff
be847b6dff
Fix whitespace on legacy-support-policy.md ( #15779 )
...
Fix legacy-support-policy.md
2023-07-14 19:49:41 -05:00
Kyle Altendorf
2d28d62ab2
move sqlite host parameter limit to db wrapper ( #15755 )
...
* move sqlite host parameter limit to db wrapper
* pylint
* E
* oops
* fixup
2023-07-14 19:38:36 -05:00
Jack Nelson
9713c3f5f4
Fix Cli error when exiting on some builds of python. ( #15762 )
...
* change from exit to sys.exit and remove catch
* change error to ClickException and move error messages
* cleanup wallet func
2023-07-14 17:39:30 -05:00
Justin England
6a5293df6b
Create legacy-support-policy.md ( #15766 )
...
* Create legacy-support-policy.md
* Update legacy-support-policy.md
* Update legacy-support-policy.md
* Update legacy-support-policy.md
* Update legacy-support-policy.md
* Update legacy-support-policy.md
2023-07-14 15:57:21 -06:00
Kyle Altendorf
fb15774ccb
use actual chiapos version when testing daemon ( #15754 )
...
* use actual chiapos version when testing daemon
* isort
2023-07-14 15:48:24 -05:00
Izumi Hoshino
15fa5f3764
Added quality lookup time info to FarmingInfo ( #15775 )
2023-07-14 14:23:34 -05:00
Kyle Altendorf
42a6d1afa6
remove support for Python 3.7 ( #14611 )
...
* remove support for Python 3.7
* python_requires=">=3.8, <4"
* 3.8.1+
* catchup
* remove todos handled in https://github.com/Chia-Network/chia-blockchain/pull/15755
2023-07-14 12:49:58 -05:00
wjblanke
69674ccf46
Fixed add lock around plot info ( #15767 )
...
* add lock around plot info
* set threads back to 5
2023-07-14 10:15:22 -05:00
xchdata.io
344a7bbb80
Fix variable name typo ( #15680 )
2023-07-14 02:09:46 -05:00
Arvid Norberg
849166361d
bump chia_rs dependency to 0.2.9 ( #15760 )
2023-07-13 23:19:46 -05:00
dustinface
3253718324
wallet: Convert coin ids in _add_coin_states
to bytes32
( #15556 )
2023-07-13 15:41:32 -05:00
dustinface
ede354c58f
protocols: Introduce error
protocol message ( #15493 )
...
* protocols: Introduce `error` protocol message
* Add `Optional` extra data `Error.data`
* Test `Err` entries
2023-07-13 13:46:20 -05:00