Amine Khaldi
39dc201564
Arvid's fix flake8 warnings (PR #15897 ) ( #15900 )
...
fix flake8 warnings
Co-authored-by: arvidn <arvid@libtorrent.org>
2023-07-30 22:10:16 -05:00
wjblanke
40134512c0
remove chip13 ( #15871 )
...
* remove chip13
* flake8
* flake8
* flake8
* isort
* Remove chip-13 test
---------
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-26 21:00:55 -05:00
Arvid Norberg
99e4d5b412
bump softfork3 activation by about 2 weeks ( #15861 )
2023-07-26 20:26:21 -05:00
Arvid Norberg
ce8b1d43c8
fix initial-config for testnet fork points heights ( #15873 )
2023-07-26 19:23:31 -05:00
Arvid Norberg
0ebb7642e1
fix initial-config for testnet fork points heights ( #15870 )
2023-07-26 16:03:59 -05:00
Jeff
957a73bf75
Bump chia-blockchain-gui to 8e42142218d7ba52713c361bbc2016f721badbc9 ( #15865 )
2023-07-26 11:28:49 -05:00
Earle Lowe
e37bd47e64
Update chiavdf to 1.0.10 ( #15864 )
2023-07-26 11:25:59 -05:00
Earle Lowe
e5431cf91e
Change test to run only once per consensus mode as a flake workaround ( #15860 )
...
Change test to run only once per consensus mode
2023-07-25 21:52:12 -05:00
Kronus91
643b3e9b72
Skip clawback incoming txs while deleting the unconfirmed txs ( #15826 )
...
* Remove CAT1 UX guards (#15812 )
* Skip clawback incoming txs
* Add unit test
* Prevent delete clawback tx
---------
Co-authored-by: Matt Hauff <quexington@gmail.com>
2023-07-25 01:53:35 -05:00
William Allen
3a3b7e5ac2
Fix default parallel decompressor count ( #15845 )
2023-07-24 21:49:45 -05:00
William Allen
d7539b14c6
Update install plotters scripts ( #15838 )
...
* adding bladebit-cuda to install-plotter.sh
Signed-off-by: wallentx <william.allentx@gmail.com>
* cleanup install-plotter.sh
Signed-off-by: wallentx <william.allentx@gmail.com>
* optimize install-plotter.sh
Signed-off-by: wallentx <william.allentx@gmail.com>
* update install-plotter.ps1
Signed-off-by: wallentx <william.allentx@gmail.com>
* Update pyinstaller.spec
* Fix whitespace in pyinstaller.spec
* using an approved verb for ps1...
* Fixing Install-plotter.ps1, and expanding install-ploter.sh distro support
* Fixing linter
---------
Signed-off-by: wallentx <william.allentx@gmail.com>
2023-07-24 20:57:49 -05:00
Earle Lowe
1fed854268
Update testnet height for SOFT_FORK3 in initial-config ( #15848 )
2023-07-24 20:02:33 -05:00
Izumi Hoshino
2d65fc7114
Update cuda plot log-progress mapping ( #15839 )
2023-07-24 18:48:49 -05: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
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
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
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