* Avoid importing `test_constants` as it takes a long time.
* Factor out `parse_*` functions.
* First crack at refactoring `Streamable.parse`.
* Don't add `_parse_functions` attribute to `Streamable`.
This no longer requires an extra `_parse_functions` attribute on a
`Streamable`, as it may be confusing serializers or other functions
that use `__annotations__`.
* Fix lint problems with `black`.
* Fix `parse_tuple`.
* Defer some parsing failures to parse time rather than class-creation time.
* Tidy up & remove some obsolete stuff.
* Decorate `RequestBlocks` as `streamable`.
* Fix wrong uses of Streamable class
Revert an earlier commit and error out on class creation in case a
Streamable subclass is instantiated incorrectly, e.g. containing a
non-serializable member.
Fix cases where Streamable parent class was forgotten.
* Fix wrong types when creating DerivationRecord and WalletCoinRecord
* additional unit tests for streamable parsers
* add type annotations (#3222)
Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
Co-authored-by: arvidn <arvid@libtorrent.org>
* deleted blockchain_check_conditions and added optional timestamp to mempool_check_conditions
* removed unnecessary code
* change back to < for block height
* time now passes on equal to condition value
* Specified two types of create_announcement
* Fix create_announce_with_puzhash in specific situation
* Removed unnecessary announcement functionality from a bunch of place
* Added tests for puzzle announcement and wallet features
* fix tests/clvm/coin_store.py to use new announcements
* fix test_blockchain_transactions
* update test_blockchain_transactions to use real names
* remove lingering ConditionVarPair
* Fix another lignering CVP issue
* fix broken test imports
* fix puzzle announcement test
* change announcement_names to set and rename some functions for clarity
* Rename conditions for consistency
* typing and typo fixes
* fix name conflict in test
* fix test coin_store to use sets
* renumber opcode
* force recompile and small fixes for new conditions numberings
* add sha256tree files for updated hex files
* Start aggsig me
* Pass in genesis challenge
* Update DID, and remove useless functions from coinbase.py
* Unused imports
* Revert GUI
* Use a different constant so forks of chia can easily change it
* rebase DID off main
* fix indentation and imports
* lint fixes
* fix test_compilation paths for new puzzles
* added _init__.py for did_wallet
* mypy typing fixes
* included did_wallet in setup.py module list
* stored pubkey & puzhash so that recovery_spend can choose not take them
* black missing comma
* added chialisp deserialisation puzzle
* Update clvm-deserialization-in-chialisp. Add test
* added new test_chialisp_deserialisation tests
* fix tests
* Reduce accepted atom size to 1MB during ChiaLisp native deserialization
* add lower_level generator
updates to python_lowerlevel
* add black formatting to lowerlevel
* fix puzzles references
* lowlevel generator improvement
lint fixes
* chialisp.py remove git ditritus
* pass the second arg to the block_program in low level generator
* use slightly more optimised string for lower level generator
* Restore cc.clvm to f79152d1ab
* Adjust compilation sanity checks - remove generator.clvm, add chialisp_deserialisation.clvm
* Update tests for building clvm assembly from python
* Adjust sha256tree commitments for puzzles
* black formatting for lint
* add #noqas to long hexstrings
Co-authored-by: matt <matt@chia.net>
Co-authored-by: Adam Kelly <aqk@aqk.im>
* Bump clvm versions and replace `((c P A))` with `(a P A)`. Again.
* Modernize some clvm.
* Fix some comments and naming in `cc.clvm`.
* Prohibit `CREATE_ANNOUNCEMENT` in inner puzzle.
* fix cc.clvm
initial commit for innerpuz announcement test
Co-authored-by: matt <matt@chia.net>
* Add checks for blockchain program generation
This is written in a verbose style for better error messages.
Note that src/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.clvm is temporarily moved aside, until it compiles to our intended bytecode.
* Remove CI clvm compilation check in favor of pytest check
* improve test failure message
* Enable clvm tests
* Formatting
Co-authored-by: Adam Kelly <aqk@aqk.im>
* Updated gui with sub block changes
* Move some files, validate fees in mempool
* Support for plots with pool address
* Fix test and new blocks
* chia-blockchain-gui good commit
* changelof
* Fix edge cases with unfinished blocks
* Update gui
* Add test fixtures