* Rename notification config
* Change unit test
* Fix test
* Set minimum required notification amount
---------
Co-authored-by: Matt Hauff <quexington@gmail.com>
* Updated `verify_signature` RPC to support signatures made by `sign_message_by_*` RPCs
* Updated RPC to use "signing_mode" param name with value "chip_0002"
Added CHIP_0002_SIGN_MESSAGE_PREFIX string constant
* Tests for verify_signature
* Update chia/wallet/wallet.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Adds SigningMode enum with CHIP-0002 and BLS message augmentation schemes
chia keys sign/verify support JSON output
chia keys verify now accepts the -b as_bytes option
* Fix a mypy warning
* Updated link to CHIP-0002
* isort
* Fix tests
* improve error handling
* comment how test data was generated
* Update chia/rpc/wallet_rpc_api.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Update chia/rpc/wallet_rpc_api.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* fix fee bug
The fee should not be taken into account when dealing with CAT's or other non XCH coins.
* fix broken CAT removals
it was never implemented ...
* Update wallet_rpc_api.py
* Add a unit test for sending a spend bundle (with a coin eligible for deduplication) twice.
* Have spend_bundle_from_conditions take a coin that defaults to TEST_COIN.
* Improve the expected cost readability.
* Prepare get_coin_record_for_test_coins for reuse in future tests.
* Limit rate of spammy log messages when farmer is disconnected from pool
* Remove typo
* Use reliably increasing clock
* Make test faster, more reliable
* Add NFT bulk transfer API
* Fix pre-commit
* Improve unit test
* Fix precommit
* Improve unit test
* Fix response json serialization
* Fix bulk API missing transaction
* Remove print
* Change names used to look up estimated spendbundle sizes in get_fee_estimate RPC
* Update tests
* add test for get_spendbundle_type_cost
* add spend_count to get_fee_estimate
* Update chia/rpc/full_node_rpc_api.py
Co-authored-by: Jeff <jeff@chia.net>
Co-authored-by: Jeff <jeff@chia.net>
* disallow empty SpendBundles from being added to the mempool
* Update chia/full_node/mempool_manager.py
Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
* make daemon heartbeat configurable and increase default
* Fix up daemon rpc test
* Fix dumb error with parameters
* Restore formatting
* Various updates from feedback
* Update tests/core/test_daemon_rpc.py
use config value for heartbeat
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* black fixes
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Add a height timestamp for wallet notifications
* import sqlite3
* lint
* isort
* catch specific error
* Add a test for db backcompat
* Add a test for correct height
* mypy
* Add MempoolRemoveReason, which represents why we are removing a MempoolItem
* Add integration tests for remove_from_pool. Generalize call count tracking in mock Fee Estimator.
* add local max subscription config
* add and use trusted wallet config
tests
* lint
* unused import
* break early
* dont break because we need to iterate for hints
* fix off by one
* lint
* Hold a ref to the fee estimator when the Mempool is destroyed and re-created. Unify the sharing of information between Mempool and MempoolManager
* Adjust tests to new Mempool create interface
* Store dynamic Mempool info in the FeeEstimator and static info in the Mempool
* Adjust tests
* Restore logging of block cost % calculation to use documented full block size
* Omit check for nil self.last_mempool_info
* Annotate Mempool members
* Add integration test for add_mempool_item
* Annotate types in BitcoinFeeEstimator class
* Fixes the case when a fee estimation request is made before the FullNode has initialized a peak
* Clarify code by setting defaults early
* Only spawn one full node in test