mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 16:41:14 +03:00
d136b84498
* trade_store: Migrated the `is_my_offer` property from the serialized trade_record to a new `is_my_offer` column in the trade_records table. Rewrote get_trades_between to move the query/sorting into the database. This supports the presentation of offers in the GUI (two lists sorted by relevance). RPC: get_all_offers now accepts options to restrict the listing to completed offers, my offers, taken offers. Added get_offers_count call to return a breakdown of the number of offers (my offers, taken offers, total). CLI: Updated `chia wallet get_offers` to include options to exclude created/taken offers, as well as an option to reverse the listing. The -ia|--include-all option has been renamed -ic|--include-completed to make sense in the context of the --exclude-[my-offers|taken-offers] options. The full listing is now output, fixing the issue with hitting the prior paging cap of 50 records. * Linter fixes * Updated trade tests. Fixed reverse sort when ordering offers by relevance. * Make column spec explicit on insert to better support possible future migrations. If a future migration adds a new column with a default value, inserts/updates made by an older client will fail unless the insert explicitly indicates which columns are being updated. By explicitly listing the columns to update, any unspecified columns will have their default value applied. |
||
---|---|---|
.. | ||
cat_wallet | ||
did_wallet | ||
rl_wallet | ||
rpc | ||
simple_sync | ||
sync | ||
__init__.py | ||
test_bech32m.py | ||
test_chialisp.py | ||
test_puzzle_store.py | ||
test_singleton_lifecycle_fast.py | ||
test_singleton_lifecycle.py | ||
test_singleton.py | ||
test_taproot.py | ||
test_wallet_blockchain.py | ||
test_wallet_interested_store.py | ||
test_wallet_key_val_store.py | ||
test_wallet_store.py | ||
test_wallet_user_store.py | ||
test_wallet.py |