chia-blockchain/tests/wallet
Kyle Altendorf 55f5e371b3
Block and transaction processing helpers (#11535)
* Block and transaction processing helpers

* flake8

* more and hints

* More

* separate tests of the simulator from tests using the simulator

* move fixture to conftest

* amounts are uint64

* remove unneeded while loop

* backoff instead of fixed sleep times

* .farm_blocks() only forces tx blocks when needed

* fix test_wallet_create_hit_max_send_amount

* fix test_wallet_tx_reorg

* fix test_address_sliding_window

* rename to farm_blocks_to_wallet

* rename to farm_rewards_to_wallet

* undo changes to protocol endpoints

* reword farm_blocks_to_wallet() loop

* rename process_blocks() to farm_blocks_to_puzzlehash() for now

* timeouts

* debug

* debug

* debug... for 3,7

* fix

* up timeout per block to 2 seconds

* increase transaction processing default timeout

* make debug maybe ok to leave around

* tidy

* intersperse sleeps again for wallet progression

* remove debug code

* review tidy

* cheat on uint64() type

* Update tests/simulation/test_simulator.py

* another import fix

* more fixes

* farm_blocks_to_puzzlehash

* more

* tweak

* fix the two-tx-blocks-instead-of-one dilemma

thanks to almog for figuring this out

* fix

* fixup

* rework since it was still broken on 3.7/3.8...

* oops

* yucky timeout

* more timeout

* cleanup todos

* add balance assertion after reorg before resubmission processing

* Apply suggestions from code review

* rename funds to expected_confirmed_balance

* catchup
2022-12-19 16:40:58 -06:00
..
cat_wallet Return existing CAT wallet instead of raising (#14101) 2022-12-13 22:46:16 -06:00
db_wallet Block and transaction processing helpers (#11535) 2022-12-19 16:40:58 -06:00
did_wallet Block and transaction processing helpers (#11535) 2022-12-19 16:40:58 -06:00
nft_wallet add system and os dependent timeout adjustments (#13778) 2022-12-15 20:00:00 -06:00
rpc Add WalletStateManager.get_wallet() to centralize wallet type checking (#14030) 2022-12-08 23:43:42 -06:00
simple_sync server: Move api call processing into WSChiaConnection (#14008) 2022-12-09 03:47:46 -06:00
sync Refactor test utils for import availability outside of repo (#13880) 2022-11-15 18:51:05 -06:00
__init__.py Fix tests. 2020-03-29 15:23:27 -07:00
config.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_address_type.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_bech32m.py strip input before bech32 decoding (#13759) 2022-10-31 10:45:08 -05:00
test_chialisp.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_coin_selection.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_nft_store.py Improve performance of wallets with many NFTs (#14023) 2022-11-29 14:35:25 -06:00
test_notifications.py tests: Use the self_hostname fixture in more places (#14067) 2022-12-08 11:33:40 -06:00
test_offer_parsing_performance.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_puzzle_store.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_singleton_lifecycle_fast.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_singleton_lifecycle.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_singleton.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_taproot.py correct test decoration and returns (#13703) 2022-10-25 17:47:54 -04:00
test_transaction_store.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_wallet_blockchain.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_wallet_coin_store.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_wallet_interested_store.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_wallet_key_val_store.py isort: Remove all tests.wallet exceptions and sort the related files (#13978) 2022-11-22 15:33:17 -06:00
test_wallet_node.py Refactor test utils for import availability outside of repo (#13880) 2022-11-15 18:51:05 -06:00
test_wallet_retry.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_wallet_trade_store.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_wallet_user_store.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_wallet.py Block and transaction processing helpers (#11535) 2022-12-19 16:40:58 -06:00