Matt Hauff and GitHub
40db4635a8
[LABS-245] Enable PEP604 Ruff rules ( #20269 )
...
* Enable PEP604 Ruff rules
* Fix harcoded signature in test
* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00
Kyle Altendorf and GitHub
1224006bc9
more memoryview ( #19759 )
2025-06-25 09:46:24 -07:00
Richard Kiss and GitHub
1a0eb383dc
Remove dependency chia.types so chia.util no longer depends on it ( #19633 )
...
* Move chia.util.full_block_utils to chia.full_node.full_block_utils
* chia.util.generator_tools => chia.consensus.generator_tools
* chia.util.vdf_prover => chia.simulator.vdf_prover
* Move 'chia.util.condition_tools' to 'chia.consensus'.
2025-05-27 09:03:23 -07:00
Kyle Altendorf and GitHub
1911044e97
use chia_rs directly for more types ( #19475 )
...
* use chia_rs directly for more types
* more more
* undo submodule change...
2025-04-18 11:45:44 -05:00
Kyle Altendorf and GitHub
39c4c5fefc
chia rs 0 22 0 ( #19508 )
...
* update chia_rs to 0.22.0
* remove use of `.SOFT_FORK6_HEIGHT`
* remove use of `ENABLE_KECCAK`
* remove `"SOFT_FORK6_HEIGHT"` literals
* delete more
2025-04-17 09:17:17 -05:00
Rigidity and GitHub
3118c1802e
CHIA-2685: Enable keccak softfork in the wallet ( #19481 )
...
Enable keccak softfork in the wallet
2025-04-09 11:22:09 -07:00
Kyle Altendorf and GitHub
d50b6e0883
use chia_rs directly for sized bytes ( #19326 )
2025-02-28 09:35:25 -08:00
Amine Khaldi and GitHub
0df990ac7c
CHIA-2222 Annotate analyze-chain.py ( #19143 )
...
Annotate analyze-chain.py.
2025-01-27 08:20:46 -07:00
Matt Hauff and GitHub
6084112d48
[CHIA-1553] Replace pylint with ruff ( #18759 )
...
* Replace pylint with ruff
* poetry
* remove pylint
* Address comments by @altendky
* Undo formatting
* actually undo formatting
2024-10-25 15:55: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
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
Arvid Norberg and GitHub
d1844b6b15
CHIA-1101: update BlockGenerator type ( #18508 )
...
change the type of ref_list to List[bytes] instead of List[SerializedProgram]. Also, avoid passing the block generator twice to the worker process for validation
2024-08-23 01:08:27 +08:00
66a8554211
Bump chia rs 0.10.0 ( #18135 )
...
* extend test_full_node
* bump chia_rs dependency to 0.10.0
* initialize new AGG_SIG_*_ADDITIONAL_DATA fields in ConsensusConstants. Increase end-to-end test coverage of validating message suffixes as it's moving to condition parsing
* remove validaton from pkm_pairs
* NO_RELATIVE_CONDITIONS_ON_EPHEMERAL is always enabled in chia_rs 0.10.0
* Update chia/_tests/core/full_node/test_conditions.py
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org >
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org >
2024-06-11 20:17:49 -05:00
Arvid Norberg and GitHub
a4c11433f9
bump chia_rs to 0.8.0 and update G1Element handling ( #18037 )
...
* bump chia_rs to 0.8.0 and update G1Element handling
* use real keys and signatures in mempool tests
2024-05-21 13:42:21 -05:00
Arvid Norberg and GitHub
eb543fd888
transition FullBlock and BlockRecord to rust ( #17525 )
...
* use rust version of FullBlock and UnfinishedBlock
* use rust type for BlockRecord
2024-02-20 13:11:31 -08:00
Arvid Norberg and GitHub
95e5b97557
Use bls from chia rs ( #16715 )
...
* replace blspy imports with chia_rs imports for BLS types
* remove blspy-stubs, since we're dropping the blspy dependency. chia_rs has type stubs already
2023-11-07 09:06:52 -08:00
Arvid Norberg and GitHub
621c75e4ba
Fork infrastructure ( #15299 )
...
* remove softfork-logic for 1.7 softfork (which has already activated)
* add new constants for soft-fork3, hard-fork and the other plot-filter adjustments
2023-05-18 20:20:11 -05:00
Arvid Norberg and GitHub
536830b09b
Generator mod cleanup and simplification ( #15055 )
...
* remove unused run_generator_mempool() function
* move run_generator_unsafe() into the tests, which is the only place it's used
* remove (somewhat meaningless) setup_generator_args() and create_generator_args()
* remove unused GENERATOR_MOD in mempool_check_conditions.py
* remove redundant get_generator() function
* transition analyze-chain.py to use run_block_generator() and drop dependency on GENERATOR_MOD
* fixup type hints in test_rom.py
* fixup type hints in test_compression.py
* fixup type hints in test_generator_types.py
2023-04-18 16:30:10 -05:00
Kyle Altendorf and GitHub
ff5ef6e073
remove leading newlines from indented code blocks ( #14653 )
...
* remove leading newlines from indented code blocks
* catch another one
2023-02-23 21:53:48 -06:00
d315097b2a
full node optimizations ( #14562 )
...
implement async opt merge
Co-authored-by: William Allen <wallentx@users.noreply.github.com >
Co-authored-by: Florin Chirica <16658074+fchirica@users.noreply.github.com >
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2023-02-13 22:34:31 -06:00
dustinface and GitHub
42f6a883ae
isort: Remove the remaining exceptions and sort the related files ( #14124 )
2022-12-13 17:10:55 -06:00
Arvid Norberg and GitHub
53a570ebe1
Add option to analyze-chain to validate block signatures ( #13917 )
2022-11-16 13:59:21 -06:00
Richard Kiss and GitHub
42406f9e96
Recompress generators ( #13376 )
...
* Add `start`. Speed start-up. Format better.
* Add `--call` argument to invoke other python code.
2022-09-29 11:24:07 -05:00
Arvid Norberg and GitHub
0d78058daa
optimize get_block_store ( #13263 )
...
* optimize the block_store for the get_puzzle_and_solution_for_coin to not parse the full block. We just need the block generator and generator regs.
* optimize analyze-block
* address review comments
2022-09-03 01:34:05 -05:00
Arvid Norberg and GitHub
3c2fc1947d
upgrade chia-rs to streamable support ( #11503 )
...
* upgrade chia-rs to streamable support
* bump chia_rs dependency
2022-06-01 12:56:11 -05:00
Arvid Norberg and GitHub
21fb6f260e
transition to using chia_rs module ( #11094 )
2022-04-08 09:37:10 -07:00
Arvid Norberg and GitHub
c33dc256c8
update analyze_blockchain tool to read v2 blockchain databases ( #9983 )
...
* update analyze_blockchain tool to read v2 blockchain databases and introduce option to run all generators in mempool mode. Also update to use the new clvm_rs API
* update gnuplot file for the new output from analyze_blockchain.py
2022-02-02 10:39:21 -08:00
Arvid Norberg and GitHub
b2ed21307b
add tool to analyze the chain from the blockchain database, and run all generator programs ( #9616 )
2021-12-21 10:20:17 -08:00