chia-blockchain/chia/util
dustinface d00d045d9c
farmer|rpc|tests: Implement paginated harvester plot endpoints (#11365)
* farmer|rpc|tests: Implement paginated harvester plot endpoints

* Simplify filtering

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Let the API handle the exceptions

* Simplify the other filtering too

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Simplify count assertions

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Refactor `is_filter_match` to `plot_matches_filter`

And just convert to `Plot` in tests.

* Move `chia.util.misc.KeyValue` to `chia.rpc.farmer_rpc_api.FilterItem`

* Rename `peer_id` to `node_id` to be match `get_harvesters_{summary}`

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-05-03 09:17:05 -07:00
..
__init__.py git mv src chia 2021-04-04 21:41:39 -07:00
api_decorators.py Reply type decorator (#8276) 2021-09-20 11:31:15 -07:00
bech32m.py Add remaining offer code to main (#9886) 2022-01-20 14:49:31 -08:00
block_cache.py Fix remaining linting issues (#10962) 2022-04-02 13:22:55 -07:00
byte_types.py stub and use SizedBytes.fromhex() until upstream is released (#9458) 2021-12-10 14:59:49 -08:00
cached_bls.py Optimize BLS verification when public key is repeated (#11318) 2022-04-27 11:38:48 -07:00
chain_utils.py Fullnode related changes from wallet protocol and unharded derivation (#8522) 2021-09-18 10:27:34 -07:00
check_fork_next_block.py daemon|util: Don't remove from list while iterating (#11208) 2022-04-22 10:55:57 -07:00
chia_logging.py Remove code related to no-longer-used websockets library (#11123) 2022-04-20 11:18:42 -07:00
chunks.py chunk coin_store request into smaller sql queries (#10359) 2022-02-21 20:07:05 -08:00
condition_tools.py run_generator2 rust call and compact conditions data structure (#8862) 2022-04-04 11:53:13 -07:00
config.py Switch to integrated lock_and_load_config() context manager (#10698) 2022-03-28 12:52:51 -07:00
create_alert_file.py git mv src chia 2021-04-04 21:41:39 -07:00
db_synchronous.py make db_sync setting default to FULL. Extend the configuration to cover all of OFF, NORMAL and OFF (#8836) 2021-10-16 09:02:18 -07:00
db_version.py await the db commit in the async version of set_db_version (#10906) 2022-03-28 12:48:14 -07:00
db_wrapper.py new DBWrapper supporting concurrent readers (#10166) 2022-03-28 11:58:00 -07:00
default_root.py STANDALONE_ROOT_PATH now expands to a different env variable to avoid (#10114) 2022-02-07 11:06:36 -08:00
dump_keyring.py Renamed chia.util.ssl to avoid conflicting with aiohttp's ssl import. (#8805) 2021-10-12 13:59:29 -07:00
english.txt pre-commit: Add initial config and run it for all files (#7053) 2021-08-02 10:48:22 -07:00
errors.py Move BLS validation to other processes during sync (#9746) 2022-01-20 14:50:41 -08:00
file_keyring.py Properly assign keyring observer to instance field (#9556) 2021-12-13 22:41:51 -08:00
files.py Peer db new serialization (#9079) 2021-11-19 11:12:58 -08:00
full_block_utils.py transition to using chia_rs module (#11094) 2022-04-08 09:37:10 -07:00
generator_tools.py run_generator2 rust call and compact conditions data structure (#8862) 2022-04-04 11:53:13 -07:00
hash.py git mv src chia 2021-04-04 21:41:39 -07:00
initial-config.yaml single thread executor (#10919) 2022-03-28 12:47:46 -07:00
inline_executor.py single thread executor (#10919) 2022-03-28 12:47:46 -07:00
ints.py mypy: warn_unused_ignores = true (and remove some) (#9085) 2021-11-23 12:44:53 -08:00
json_util.py reverting 7645 (#7708) 2021-07-22 09:00:36 -07:00
keychain.py Fix exception when chia keys migrate is run without needing migration (#10655) 2022-03-11 16:23:24 -08:00
keyring_wrapper.py asyncio.get_event_loop() is deprecated in 3.10, stop using it (mostly) (#10418) 2022-03-28 13:20:50 -07:00
lock.py Enable clvm_tools_rs by default (#10554) 2022-03-17 09:08:36 -07:00
log_exceptions.py Add data to wallet RPCs to support metrics (+ update log_exceptions helper) (#9996) 2022-01-31 18:53:43 -08:00
lru_cache.py Use lru cache (#2433) 2021-04-26 23:21:58 -07:00
make_test_constants.py import ConsensusConstants from actual definition (#10131) 2022-02-07 13:15:35 -08:00
merkle_set.py simplify merkle set (#11416) 2022-05-03 07:49:29 -07:00
misc.py farmer|rpc|tests: Implement paginated harvester plot endpoints (#11365) 2022-05-03 09:17:05 -07:00
network.py Ms.wallet refactor (#10146) 2022-02-14 11:28:36 -08:00
paginator.py util: Implement Paginator class as interface to access a list by pages (#11247) 2022-04-29 18:35:47 -07:00
partial_func.py git mv src chia 2021-04-04 21:41:39 -07:00
path.py git mv src chia 2021-04-04 21:41:39 -07:00
permissions.py Create SSL keys/certs with proper permissions, also verify/fix existing installs (#7972) 2021-08-15 15:53:54 -07:00
pip_import.py git mv src chia 2021-04-04 21:41:39 -07:00
prev_transaction_block.py git mv src chia 2021-04-04 21:41:39 -07:00
profiler.py add profiler to wallet process (#6019) 2021-05-26 11:01:17 -07:00
recursive_replace.py Add more types (#3441) 2021-05-12 15:32:21 -07:00
safe_cancel_task.py Add more types (#3441) 2021-05-12 15:32:21 -07:00
service_groups.py Crawler RPC (#10141) 2022-02-14 11:48:35 -08:00
setproctitle.py spawn (not fork) for multiprocessing (#10322) 2022-02-24 20:08:06 -08:00
significant_bits.py Fix edge case with negative input (#8529) 2021-09-22 10:45:26 -07:00
ssl_check.py Add configuration locking (#10680) 2022-03-12 06:52:47 -08:00
streamable.py streamable: Enable isort + more mypy (#10539) 2022-04-20 11:09:41 -07:00
struct_stream.py apply isort (#10280) 2022-02-17 19:46:51 -08:00
validate_alert.py git mv src chia 2021-04-04 21:41:39 -07:00
vdf_prover.py git mv src chia 2021-04-04 21:41:39 -07:00
ws_message.py DaemonProxy request IDs should be hinted as strings (#9584) 2021-12-16 15:13:41 -08:00