xch-blockchain/tests/util
Matt Hauff 424c51072d
Fix hint parsing for CATs and DIDs (#15259)
* Fix hint parsing for CATs and DIDs

* Handle not hinted coins

* Fix compute_coin_hints condition checking

* don't try to sync non-singleton children of singleton

* coverage ignores

* rename function

* Make function do what it says

* wallet: Some suggestions from #15274 for #15259 (#15547)

* wallet: Some suggestions from #15274 for #15259

* Return a dict with the coin id as key

* Drop `compute_hint_for_coin`, Test `compute_spend_hints_and_additions`

---------

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2023-06-30 13:42:09 -05:00
..
__init__.py Added tests, improved serialization 2019-08-05 14:38:16 +09:00
benchmark_cost.py remove leading newlines from indented code blocks (#14653) 2023-02-23 21:53:48 -06:00
bip39_test_vectors.json util: Drop partially implemented BIP39 passphrase support (#12748) 2022-08-06 09:50:33 -05:00
blockchain.py Annotate tests/util/blockchain.py (#15117) 2023-05-04 13:19:27 -05:00
build_network_protocol_files.py tests: Run `build_network_protocol_files` as test (#15511) 2023-06-15 16:43:11 -05:00
config.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
db_connection.py Rephrase async contextmanager DBConnection to use asynccontextmanager (#15538) 2023-06-16 16:42:14 -05:00
gen_ssl_certs.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
generator_tools_testing.py Remove no longer needed cost_per_byte cases (#14850) 2023-03-24 18:29:50 -05:00
key_tool.py util: Cleanup `Tuple[Optional[Err], ..]` returns in `condition_tools.py` (#15009) 2023-04-14 15:20:36 -06:00
misc.py Fix hint parsing for CATs and DIDs (#15259) 2023-06-30 13:42:09 -05:00
network_protocol_data.py move SerializedProgram to its own file (#14391) 2023-01-27 17:20:23 -06:00
protocol_messages_bytes-v1.0 Request header blocks, and new rate limits (#11636) 2022-06-11 01:35:41 -05:00
protocol_messages_json.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
rpc.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
temp_file.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_build_job_matrix.py add build-job-matrix.py --timeout-multiplier (#15526) 2023-06-29 20:49:03 -05:00
test_build_network_protocol_files.py tests: Run `build_network_protocol_files` as test (#15511) 2023-06-15 16:43:11 -05:00
test_collection.py Check Wallet DB integrity (#14401) 2023-02-21 18:35:15 -06:00
test_dump_keyring.py hint and test dump keyring (#15355) 2023-05-22 14:54:46 -05:00
test_full_block_utils.py remove leading newlines from indented code blocks (#14653) 2023-02-23 21:53:48 -06:00
test_limited_semaphore.py add LimitedSemaphore (#13642) 2022-11-06 11:38:25 -06:00
test_logging_filter.py remove leading newlines from indented code blocks (#14653) 2023-02-23 21:53:48 -06:00
test_misc.py util: Improve `list_to_batches` (#15415) 2023-06-06 12:00:07 -05:00
test_network.py util: Async DNS lookups (#14999) 2023-04-28 13:37:28 -05:00
test_network_protocol_files.py update build_network_protocol_files.py (#15345) 2023-05-23 14:30:07 -05:00
test_network_protocol_json.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_network_protocol_test.py protocols: Give rust wallet types an alias, don't use `__all__` (#15186) 2023-05-04 13:16:33 -05:00
test_paginator.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
test_pprint.py Check Wallet DB integrity (#14401) 2023-02-21 18:35:15 -06:00
test_priority_mutex.py rework `LockQueue` as `PriorityMutex` (#14920) 2023-06-07 14:08:45 -05:00
test_struct_stream.py util: Some tweaks to `StructStream` and sized ints (#15090) 2023-06-16 09:32:17 -05:00
test_testnet_overrides.py use a more aggresive activation schedule on testnet10 (#15376) 2023-06-09 05:09:24 -05:00
test_tests_misc.py add `datacases()` and `named_datacases()` (#15265) 2023-05-12 12:58:45 -05:00
test_trusted_peer.py no need for [] checks with ipv6 address 2023-03-02 13:30:47 -08:00