Patrick Maslana and GitHub
263f7ac458
checkpoint: into main from release/2.4.4 @ 3973952021 ( #18717 )
...
Source hash: 3973952021
Remaining commits: 0
2024-10-17 14:38:34 -07:00
Richard Kiss and GitHub
f69233aa08
Move some files closer to where they should live. ( #18465 )
...
* Move to `chia.full_node.util.safe_cancel_task`
* Move to `chia/wallet/util/pprint.py`
* Separate out `IPAddress` into `ip_address.py`
2024-10-17 14:25:05 -07:00
wjblanke and GitHub
23b1cb5318
Fix bluebox shutdown ( #18725 )
...
### Purpose:
Use a temporary file as a flag for when bluebox threads should abort
out. This allows for the timelord to shutdown cleanly.
### Current Behavior:
On exit, timelord hangs waiting for bluebox threads and daemon must kill
it. On windows this kills the owning console instead.
### New Behavior:
Bluebox threads abort out and timelord shuts down cleanly
2024-10-17 05:25:28 -07:00
William Blanke
658d3562a9
fix bluebox
2024-10-16 18:12:37 -07:00
Kyle Altendorf and GitHub
9c8557a1f8
Remove Python 3.8 support and update source to 3.9 standards ( #18687 )
...
* manual python 3.8 removals
* poetry
* pyupgrade
* black
* isort
* manually tidy imports
* work around shadowed type
* catch up build network protocol files for pyupgrade changes
* placate pylint
* re-enable 20.04
* placate flake8
2024-10-16 14:21:15 -07:00
Matt Hauff and GitHub
3ce4acb49c
[CHIA-1635] Add default for number_of_coins in CombineCoins ( #18704 )
...
Add default for `number_of_coins` in `CombineCoins`
2024-10-16 11:25:03 -07:00
Kyle Altendorf
3b3e2e3bf6
rust earlier
2024-10-16 13:27:46 -04:00
Kyle Altendorf
e456cc14f6
back a few revs
2024-10-16 12:42:21 -04:00
Amine Khaldi
bf90e1376f
Merge commit '39739520211670d398173f87cd1e97c755274195' into checkpoint/main_from_release_2.4.4_39739520211670d398173f87cd1e97c755274195
2024-10-16 17:20:04 +01:00
Kyle Altendorf
9c9640daad
add use of rust datalayer merkle blob
2024-10-16 12:16:09 -04:00
Patrick Maslana and GitHub
3973952021
Add combine_coins Known Issue to changelog ( #18702 )
...
Add Known issue around `combine_coins`
2.4.4
2024-10-16 09:05:44 -07:00
Patrick Maslana and GitHub
ce6733a4b0
checkpoint: into main from release/2.4.4 @ ef11555e45 ( #18713 )
...
Source hash: ef11555e45
Remaining commits: 0
2024-10-16 08:51:44 -07:00
matt-o-how and GitHub
21c6f397ef
Require fewer arguments for chia wallet coins split in the CLI ( #18689 )
...
* initial commit
* add test the other way around
* isort
* black and mypy
* catch coin not found
* black
* add extra tests for code coverage
* remove assert coins is not None
2024-10-16 08:50:44 -07:00
Kyle Altendorf
3f2ea38d75
Merge commit 'd678131ded709e6264127984ae5fc12c6823cafa' into catchup/long_lived_datalayer_merkle_blob_from_main_d678131ded709e6264127984ae5fc12c6823cafa
2024-10-16 11:15:12 -04:00
Amine Khaldi
04431a5ac9
Merge commit 'ef11555e45c4222f1ac481479cda3d2f731ca523' into checkpoint/main_from_release_2.4.4_ef11555e45c4222f1ac481479cda3d2f731ca523
2024-10-16 15:38:43 +01:00
5cd6bcd8a3
standalone merkle blob for datalayer ( #18403 )
...
* add `chia.data_layer.util.merkle_blob`
* raw node [de]serialization tests
* `NewType`s and other
* just `RawLeafMerkleNode.key_value`
* drop the root node type, internal or leaf might be the root
* trivial tree deserialization
* comment
* add `MerkleBlob.get_lineage()`
* store the index on the raw node objects (great? or not...?)
* Checkpoint.
* Some linting.
* Some type checking.
* Lint.
* Add proof of inclusion code.
* Fix test.
* Lint.
* Add free positions.
* Lint.
* Improve test.
* Lint.:
* Lint.
* Add upsert.
* Go with lower limits.
* Apply Kyle's change.
* Lint.
* ignore astuple mypy complaint
* add `c_profile` fixture
* Add cache.
* Lint.
* Lint.
* Add batch autoinsert.
* Lint.
* Checkpoint split keys and values ids.
* Lint.
* Lint.
* Lint.
* Lint.
* Fix tests.
* Lint.
* Add reference and side.
* Update merkle_blob.py
* Lint.
* Lint.
* Lint.
* Lint.
* Lint
* Improve coverage.
* Lint.
* Improve coverage.
* Lint.
* Improve test.
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-10-15 22:13:57 -04:00
Florin Chirica
1a6153fd8b
Some linting.
2024-10-16 04:41:22 +03:00
Florin Chirica
1bbbcf8cd3
Lint.
2024-10-16 04:29:56 +03:00
Florin Chirica
24495ab5ba
Cherry pick CHIA-1427.
2024-10-16 04:22:45 +03:00
Florin Chirica and GitHub
743c455ed2
Merge branch 'long_lived/datalayer_merkle_blob' into fc.dl_integration
2024-10-16 03:56:51 +03:00
Florin Chirica
4f4c18591a
Download working.
2024-10-16 03:42:29 +03:00
Earle Lowe and GitHub
ea5402f594
Update CHANGELOG.md
2024-10-15 12:29:33 -07:00
Earle Lowe and GitHub
ef11555e45
Update changelog for 2.4.4 ( #18700 )
2024-10-15 11:01:51 -07:00
Arvid Norberg and GitHub
d678131ded
[CHIA-1087] validate blocks in thread pool (instead of process pool) ( #18681 )
...
* bump chia_rs dependency and accomodate for changes to SpendBundleConditions and run_block_generator()
* use ThreadPoolExecutor instead of ProcessPoolExecutor in pre_validate_blocks_multiprocessing
* don't serialize BlockRecords when passing into pre_validate_blocks_multiprocessing
* dont' pickle the list of full blocks passed into batch_pre_validate_blocks
* don't serialize conditions when passed to batch_pre_validate_blocks
* don't serialize previous session blocks passed to batch_pre_validate_blocks
* don't serialize the return value from batch_pre_validate_blocks
* make the batch size 1, in pre_validate_blocks_multiprocessing(). With the jobs running in a thread pool, there's no serialization cost we need to amortize over a batch
* make batch_pre_validate_blocks() only validate a single block at a time. rename it to pre_validate_block()
* avoid copying recent_blocks into each validation job. since they run in a thread we can just use the blockchain object directly
* merge loops over the blocks in pre_validate_blocks_multiprocessing(), to simplify the code and to build fewer temporary lists
2024-10-15 09:40:47 -07:00
Patrick Maslana and GitHub
fd4a59af19
checkpoint: into main from release/2.4.4 @ 08a9a4d2b7 ( #18697 )
...
Source hash: 08a9a4d2b7
Remaining commits: 0
2024-10-15 08:47:35 -07:00
Amine Khaldi
8f8fddaf6b
Merge commit '08a9a4d2b7f833730a59c8b970f9bcd16b846bec' into checkpoint/main_from_release_2.4.4_08a9a4d2b7f833730a59c8b970f9bcd16b846bec
2024-10-15 12:04:35 +01:00
Arvid Norberg and GitHub
837f0e2d47
bump chia_rs dependency ( #18695 )
...
bump chia_rs dependency and accomodate for changes to SpendBundleConditions and run_block_generator()
2024-10-11 13:43:31 -07:00
Starttoaster and GitHub
1481118b84
checkpoint: into main from release/2.4.4 @ b5987621d0 ( #18691 )
...
Source hash: b5987621d0
Remaining commits: 1
2024-10-11 12:52:40 -07:00
William Allen and GitHub
5041c8ce2d
Fix install.sh upgrade issue ( #18673 )
2024-10-11 12:52:20 -07:00
Amine Khaldi
0f45239718
Update the anchor.
2024-10-10 21:57:33 +01:00
Arvid Norberg and GitHub
5f01fccdc6
[CHIA-598] virtual project structure ( #18616 )
...
slightly modified subset of Quexington's virtual project structure. All files default to be treated as belonging to chia-blockchain project. No default annotations. no default exclusions.
2024-10-10 13:56:33 -07:00
Amine Khaldi
cf1d28c574
Merge commit 'b5987621d0e06087cbfc73fef40a61e41da39f2f' into checkpoint/main_from_release_2.4.4_b5987621d0e06087cbfc73fef40a61e41da39f2f
2024-10-10 21:55:16 +01:00
Starttoaster and GitHub
8e4e84690d
checkpoint: into main from release/2.4.4 @ 0912c377e7 ( #18684 )
...
Source hash: 0912c377e7
Remaining commits: 2
2024-10-10 13:52:54 -07:00
Amine Khaldi
14d0a0215b
Merge commit '0912c377e71c6ddc36f50c0d73688d503921452a' into checkpoint/main_from_release_2.4.4_0912c377e71c6ddc36f50c0d73688d503921452a
2024-10-08 22:36:34 +01:00
Starttoaster and GitHub
74a34af51f
checkpoint: into main from release/2.4.4 @ 74536ba781 ( #18676 )
...
Source hash: 74536ba781
Remaining commits: 2
2024-10-08 14:18:34 -07:00
Amine Khaldi and GitHub
221c6e6771
CHIA-1593 Annotate test_cached_bls.py ( #18678 )
...
Annotate test_cached_bls.py.
2024-10-08 14:18:02 -07:00
Amine Khaldi and GitHub
8e39d5e5d7
CHIA-1602 Remove no longer needed TestNetwork class ( #18682 )
...
Remove no longer needed TestNetwork class.
2024-10-08 14:17:51 -07:00
Matt Hauff and GitHub
08a9a4d2b7
[CHIA-1569] Fix fee behavior with chia wallet coins combine ( #18679 )
...
* Fix coin fees wrt coin combining
* Add override behavior
2.4.4-rc3
2024-10-08 12:11:14 -07:00
Florin Chirica
870df12d61
Fix more tests.
2024-10-08 04:39:42 +03:00
5f6c336e75
[CHIA-621] Add a configurable limit to the amount of DIDs that can be automatically added to the users wallet from transfer ( #18655 )
...
* add cap to amount of DID wallets that can be automatically created
* add further testing
* add extra tests for recovering discarded DID and making new DIDs above the limit
* lint fix
* add types to test functions
* add log warning when ignoring DID
* typing fixes for tests
* a few more typing fixes
* black
* Update chia/_tests/wallet/did_wallet/test_did.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org >
* fix wrong wallet node get_wallet() call
* fix rebase
* remove unused typeignore
---------
Co-authored-by: Arvid Norberg <arvid@libtorrent.org >
2024-10-07 11:09:41 -07:00
Arvid Norberg and GitHub
e7241ebfe0
simplify passing around difficulty, sub slot iterators and prev_ses_block ( #18660 )
...
* combine current sub slot iterations, current difficulty and previous ses block into ChainState, to make it easier to pass around and update
* address review comments
* address review comments. rename ChainState -> ValidationState. add more comments
2024-10-07 11:09:15 -07:00
Amine Khaldi and GitHub
a810384448
CHIA-1564 Simplify WalletSpendBundle class by leveraging some parent class methods ( #18666 )
...
Simplify WalletSpendBundle class by leveraging some parent class methods.
2024-10-07 11:08:44 -07:00
Amine Khaldi
853046de88
Merge commit '74536ba7813bbf91746ca95ab0065c8bbcb1f608' into checkpoint/main_from_release_2.4.4_74536ba7813bbf91746ca95ab0065c8bbcb1f608
2024-10-07 12:23:36 +01:00
Starttoaster and GitHub
54ad7b4a91
checkpoint: into main from release/2.4.4 @ b353a398fe ( #18670 )
...
Source hash: b353a398fe
Remaining commits: 0
2024-10-04 15:34:53 -07:00
Earle Lowe and GitHub
b5987621d0
Update GUI to 7e6f90e ( #18671 )
...
Update chia-blockchain-gui to 7e6f90e
2.4.4-rc2
2024-10-04 15:34:26 -07:00
Earle Lowe and GitHub
0912c377e7
CHIA-1567: Update aiohttp to 3.10.4 ( #18663 )
...
Update aiohttp to 3.10.4
2024-10-04 15:34:12 -07:00
Amine Khaldi and GitHub
2efb374b74
CHIA-1570 Annotate generator_tools_testing.py ( #18669 )
...
Annotate generator_tools_testing.py.
2024-10-04 09:00:51 -07:00
wjblanke and GitHub
74536ba781
CHIA-1568: fix object has no attribute code errors ( #18665 )
...
* fix object has no attribute code errors
* fix
2024-10-04 09:00:29 -07:00
Amine Khaldi
f3a0240869
Merge commit 'b353a398fef5d04e0da45de8310e322aaddd6cef' into checkpoint/main_from_release_2.4.4_b353a398fef5d04e0da45de8310e322aaddd6cef
2024-10-04 12:21:28 +01:00
Kyle Altendorf and GitHub
b353a398fe
stop asking for zero random bits of data ( #18668 )
2024-10-03 13:32:02 -07:00