* 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
* fix fee ammt
* remove unit type
* fix fee calc
* Revert "Merge commit '30b9173eb205db5476b72bba8ef61dd2c3d34645' into checkpoint/main_from_release_1.6.2_30b9173eb205db5476b72bba8ef61dd2c3d34645"
This reverts commit 9884a729ac, reversing
changes made to 39d733599d.
* clear up cli args
* Update coins.py
* fix lint
* add seperate error for only 1 coin with combine.
* fix for short option collision
* Use coins_to_exclude as variable name
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* match click with parameter
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* we want to only use new addrs
* change to decimals on coin list output
* Revert "we want to only use new addrs"
This reverts commit 1d7a8f965f.
* resolve duplicate ph's by checking for them when adding them to spend bundle.
* isort
* Update chia/cmds/wallet_funcs.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* clear up code
* Update chia/cmds/coin_funcs.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* remove second loop
* remove unique addresses
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* add max coin amount everywhere
* add excluded amounts to bare minimum
offers really does not need it passed.
* add excluded coin ids
* finish rpc stuff
* finalize commands
add coins command group & expand various coin selection methods
* fix argument processing & clean up code
* fix grammer
* small miss
* Update wallet_rpc_api.py
* fix test
* add combination command
* fix error
* move command group
* add new built in funcs for direct wallet coin searches.
* add get coin rpc
* add last command
* switch to pageable function
* fix args
* expand multi rpc call and tests
+ fix other things
* da lint
* add reverse coin sorting and ability to select coins
* Update wallet_state_manager.py
* fix types
* align with protocol
* fix asserts
* fix imports
* isort
* Update wallet_coin_store.py
* Update wallet_rpc_api.py
* chia keys show --json (display all keys as json)
* black (linting) chia keys show --json (display all keys as json)
* output a root object containing the keys array
* support key with empty label
* add test_show_json and test_show_mnemonic_json to test_keys
* chia keys show --json -- do not format json output
* tests/core/cmds/test_keys.py -- result.output.find(<value>) != -1
* tests/core/cmds/test_keys.py -- result.output.find(<value>) != -1 -- black
* Pass root_path in show_all_keys and fix tests
Co-authored-by: Jeff Cruikshank <jeff@chia.net>