* Add the request types
* Add the request types
* some test fixes
* Add the client ports
* Fix tests
* Add cmd support and fix a test
* Missed a couple
* Add test for `CreateNewWallet.__post_init__()`
* Port `spend_clawback_coins` to `@marshal`
* fix tests
* fix test again
* how do I keep missing these?
* Port `select_coins` to `@marshal`
* fix tests
* fix test
* Port `get_spendable_coins`
* Port `get_coin_records_by_names`
* bad port of `include_spent_coins`
* Less bad replace logic
* Actually autofill the CoinSelectionConfigLoader in `get_spendable_coins`
* Comments by @altendky
* Use fully recursive JSON logic for compound clvm streamable types
* Accomodate rust types
* Accomodate dicts
* Broaden function to handle type[object] instead of type[Streamable] (with a little mypy workaround)
* Whoops, delete that
* Small bug
* Okay a complete rework
* Delete some now unused stuff
* Some edge cases
* Add RCATs to wallet
* undo outer puzzle changes and fix tests
* logging
* update testnet overrides in wallet
* some empirical debugging
* comments by @altendky
* fix an accident
* a bit better
* comment by @altendky
* Add RCAT to all relevant enumerations
* reorder
---------
Co-authored-by: arvidn <arvid@libtorrent.org>
* migrate casts to wallet util
* reset mempool_check_conditions
* ruff to re-order imports
* reset full_node_rpc_api
* add tests for casts
* ruff and type
* move to util to avoid consensus depending on wallet
* ruff again
* add a deterministic seed for random
* bump chia_rs
* update db_graftroot test
* update SerializedProgram and Program use, to accommodate new chia_rs interface
* review comments
* review comments
---------
Co-authored-by: Matthew Howard <m.o.howard97@gmail.com>
* add dependency for chia_puzzles_py
* migrate cat and dao wallets to new repo
* migrate did wallet
* more migration and deduplication
* change singleton launcher hash import in rpc
* stop importing singleton launcher from nft_puzzles in nft_wallet
* remove SINGLETON_LAUNCHER_PUZZLE import from nft_puzzles
* remove unused import
* ruff check and fix
* use graftroot dl offers from chia_puzzles_py
* get rid of more non explicit exports
* remove circular dependency
* ruff check
* migrate py files in puzzles to use chia_puzzles_py
* fix import
* fix more imports
* migrate clawback wallet and fix typo (requires version update of chia_puzzles_py)
* delete puzzles and separate nft puzzles from puzzle_utils
* use 0.19.1 version of chia_puzzles_py
* more nft puzzle detangling
* use latest chia_puzzles_py and migrate pools
* ruff fixes
* delete pool puzzles folder
* remove load_clvm from test_singleton and test_singleton_lifecycle_fast
* mypy fixes
* ruff fixes
* remove manage_clvm check precommit hook
* update version
* update chia_puzzles dependency to 0.19.4
* remove full_node puzzles
* remove test for condition codes
* change generator type to SerializedProgram
* remove remaining load_clvms that can be factored out
* delete consensus puzzles
* fix test_singleton_lifecycle_fast
* cast debug_spend_bundle coin name to bytes32
* ruff debug_spend_bundle
* update chia-puzzles and fix typo
* fix line endings
* fix typo in ROM_BOOTSTRAP_GENERATOR references
* remove bytes32 cast from debug_spend_bundle
* update chia-puzzles-py dependency to version 0.20.1 and refactor ACS_TRANSFER_PROGRAM initialization
* remove unused puzzle files
* singleton_top_layer exports hashs now which are imported from chia_puzzles
* remove .get_tree_hash() in favor of importing the hash
* remaining hash imports
* regenerate poetry.lock and pyproject.toml from main
* import singleton launcher hash from explicit export
* import SINGLETON_LAUNCHER_HASH from chia.wallet.singleton in test_pool_rpc.py
* import SINGLETON_MOD_HASH from chia.wallet.puzzles.singleton_top_layer in test_pool_puzzles_lifecycle.py
* poetry lock --no-update post-rebase
* re-regenerate lock file --no-update
* fix rebased block_tools
* put otherwise unheld tasks into the pit
* and the rest too
* cull less often
* task referencer
* private
* report unexpectedly unreferenced tasks
* also warn for automated catching in tests
* reporting task
* undo some
* fixup for 3.9
* ban asyncio.create_task
* oof
* simplify including using `Task.add_done_callback()` for culling
* Repin hsms
* Add to sdist only allowed list
* Signer protocol tweaks
* Convert wallet RPC client to deserialized types
* Introduce @tx_out_cmd decorator
* Make execute_signing_instructions RPC
* Add transport layer support
* Add signer commands
* Rework wallet execute_signing_instructions
* Inadvertent merge changes
* Fix signer command tests
* Try a different approach: recursive flattening
* Bump hsms
* Add comments
* Test coverage
* Coverage ignores
* Remove inadvertent time traveler
* Bring in lost time traveler
* pylint
* Attempt to make qr test less flaky
* Actually test coverage ignore
* Small refactor for test coverage
* transport -> translation
* missed one
* transport -> translation
* Fix asdict error
* coverage
* Forgoe rotation testing for now
* Test coverage
* jsonify_unsigned_txs -> full_jsonify
* Move a class
* Add better type checking to framework
* explicitly state kwargs on _CommandParsingStage
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Address comments by @altendky
* Consolidate add_private_key and add_public_key
* Consolidate get_key_for_fingerprint and get_public_key_for_fingerprint
* Test fix
* Merge fix
* Bad merge
* Bad merge
* oops
* pylint
* Tweak keychain_proxy.get_key_for_fingerprint
* Fix wallet RPC test?
* pragma: no cover
* Redesign clvm_streamable
* Fix test imports
* black
* fix one more test
* Address comments by @altendky
* Test coverage
* bytes32
* Better CLI mnemonic check
* Use functools.partial
* Rename full jsonify to chip 29
* whoops missed a couple
* Better CLI mnemonic check
* black
* pylint
* Missed one
* black
* Farm at least one block
* Revert last change and fix 0 block farming
* black
* bad merge
* Merge fix
* Inadvertent changes
* Inadvertent changes
* Syncronize with quex.tx_out_decorator2
* These are no longer dictionaries.
* Use new clvm_streamable pattern
* Fix offer endpoint
* Add @tx_out_cmd decorator
* Bump ecdsa version
* Fix @marshal util to return proper transactions
* Add get_public_key
* port `chia wallet send` to @tx_out_cmd
* merge fix of puzzle hash derivation
* Port `chia wallet coins` to @tx_out_cmd
* Port chia wallet clawback to @tx_out_cmd
* Port `chia wallet take/cancel_offer` to @tx_out_cmd
* Port `chia wallet did ...` to @tx_out_cmd
* Port `chia wallet nft ...` to @tx_out_cmd
* Port `chia wallet notifications send` to @tx_out_cmd
* Port `chia wallet vcs ...` to @tx_out_cmd
* Port `chia dao ...` to @tx_out_cmd
* Exclude data layer and plotnft functions
* [no ci]
* Address comments by @AmineKhaldi
* Fix rpc util
* add test for BSTLSigningInstructions
* [UNDO] d9c6f54398
* [UNDO] 7fc1d2adfd
* [UNDO] 23c9ee8549
* [UNDO] aacc9f0228
* [UNDO] 548465403b
* Undo unintentional changes
* Stuff that's not part of this
* More stuff that doesn't belong
* One last thing that doesn't belong
* Unintentional change
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
* use the NULL_HASHTREE constant instead of re-computing the hash on the fly
* optimize puzzle hash computations by using shatree_atom() and shatree_pair() directly, rather than constructing a Program to call get_tree_hash() on.
* cache synthetic public keys and private keys
* rename NULL_TREEHASH -> NIL_TREEHASH
* drop in merkle set from rust
* add test of non-inclusion
* migrate sync_utils to use chia_rs
* remove unused import
* flake8 fixes
* mypy fix
* more lint fixes
* isort
* remove old merkle_set.py
* make test proof of exlcusion more explicit
* covnert test_merkle_set to use chia_rs MerkleSet
* isort again
* Update source to black 24 spec
* update black to 24.1.1
* update pylint to ignore multiple-statements
* update test file
* black updates
* format updates
* Update test_network_protocol_files.py
* Update test_network_protocol_files.py
* transition validate_removals() to use the fast function to compute a merkle tree root
* add type annotations to test_merkle_set.py
* add tests for validate_removals() and validate_additions(), just the case of including all items
* undo redundant type-casts from slots, SubEpochSummary and SubEpochData
* undo redundant type-casts from proof-of-space, reward chain and foliage types
* undo redundant type-casts from VDFInfo, VDFProof and ClassgroupElement
* remove unnecessary type annotation