Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub d44aa1f284 Merge pull request #12709 from Chia-Network/checkpoint/long_lived_atari_from_main_b54e3c315c60d3650f317ba0c3f1407063c6e8b1 2022-07-31 14:25:36 -04:00
Amine Khaldi 61b4113a3d Merge commit 'b54e3c315c60d3650f317ba0c3f1407063c6e8b1' into checkpoint/long_lived_atari_from_main_b54e3c315c60d3650f317ba0c3f1407063c6e8b1 2022-07-31 19:20:39 +01:00
Kyle AltendorfandGitHub ddfc3aeaae Merge pull request #12708 from Chia-Network/checkpoint/long_lived_atari_from_main_95803f09feafd8e71ff5c7dc3f9563593dde519b 2022-07-31 14:19:54 -04:00
Amine Khaldi 9ef02c0eb0 Merge commit '95803f09feafd8e71ff5c7dc3f9563593dde519b' into checkpoint/long_lived_atari_from_main_95803f09feafd8e71ff5c7dc3f9563593dde519b 2022-07-31 19:15:34 +01:00
Kyle AltendorfandGitHub 990cc351af Merge pull request #12707 from Chia-Network/checkpoint/long_lived_atari_from_main_e57a8e41f4c7767534565326e567a8150533983a 2022-07-31 14:14:56 -04:00
Amine Khaldi 3457373061 Merge commit 'e57a8e41f4c7767534565326e567a8150533983a' into checkpoint/long_lived_atari_from_main_e57a8e41f4c7767534565326e567a8150533983a 2022-07-31 19:11:25 +01:00
Kyle AltendorfandGitHub 275a99c00f Merge pull request #12701 from Chia-Network/checkpoint/long_lived_atari_from_main_3ada87671884a8fb1caf16f5adcc9c21633d2f5c 2022-07-31 14:10:43 -04:00
Kyle AltendorfandGitHub dfcdc412c0 Merge pull request #12706 from Chia-Network/atari-make_flake8_happy 2022-07-31 13:30:29 -04:00
Kyle Altendorf c45d1e0407 make flake8 5 happy
(cherry picked from commit a8c3723b9a)
2022-07-31 09:30:07 -07:00
Kyle Altendorf 597743fc15 correct parameter order in call to WalletNode.fetch_puzzle_solution() 2022-07-30 21:48:13 -07:00
Amine Khaldi 773bb72413 Merge commit '3ada87671884a8fb1caf16f5adcc9c21633d2f5c' into checkpoint/long_lived_atari_from_main_3ada87671884a8fb1caf16f5adcc9c21633d2f5c 2022-07-30 22:56:41 +01:00
Kyle AltendorfandGitHub 1defcd565c Merge pull request #12700 from Chia-Network/checkpoint/long_lived_atari_from_main_e57025a83e43077473da67b1281e230a1676f1de
checkpoint: into long_lived/atari from main  @ e57025a83e
2022-07-30 14:43:28 -04:00
Amine Khaldi f9fc59484e Merge commit 'e57025a83e43077473da67b1281e230a1676f1de' into checkpoint/long_lived_atari_from_main_e57025a83e43077473da67b1281e230a1676f1de 2022-07-30 19:33:18 +01:00
Kyle AltendorfandGitHub d4ad23874d Merge pull request #12699 from Chia-Network/checkpoint/long_lived_atari_from_main_52df955a1ad3d0333a53a4dc4b4b4cda578b69b1
checkpoint: into long_lived/atari from main  @ 52df955a1a
2022-07-30 12:35:49 -04:00
Amine Khaldi 6611f58983 Merge commit '52df955a1ad3d0333a53a4dc4b4b4cda578b69b1' into checkpoint/long_lived_atari_from_main_52df955a1ad3d0333a53a4dc4b4b4cda578b69b1 2022-07-30 17:25:14 +01:00
Kyle AltendorfandGitHub 874cca1974 Merge pull request #12696 from Chia-Network/checkpoint/long_lived_atari_from_main_ef1d2af651ae71f6c189e549639becf49a9b4f93
checkpoint: into long_lived/atari from main  @ ef1d2af651
2022-07-30 11:44:12 -04:00
Amine Khaldi c10228b09e Merge commit 'ef1d2af651ae71f6c189e549639becf49a9b4f93' into checkpoint/long_lived_atari_from_main_ef1d2af651ae71f6c189e549639becf49a9b4f93 2022-07-30 16:13:14 +01:00
Kyle AltendorfandGitHub 6d4dc6e388 Merge pull request #12694 from Chia-Network/checkpoint/long_lived_atari_from_main_b07c6635221052a867d4d5717d2ca0479727c0f1
checkpoint: into long_lived/atari from main  @ b07c663522
2022-07-30 10:05:19 -04:00
Amine Khaldi e760da529d Merge commit 'b07c6635221052a867d4d5717d2ca0479727c0f1' into checkpoint/long_lived_atari_from_main_b07c6635221052a867d4d5717d2ca0479727c0f1 2022-07-30 10:56:31 +01:00
William AllenandGitHub 83f08b5807 Merge pull request #12687 from Chia-Network/1.5.0_to_main_for_history
1.5.0 to main for history
2022-07-29 20:17:59 -05:00
Kyle Altendorf ee9749d378 Merge branch 'catchup/main_from_long_lived_post_1.5.0_916ccee549b1594349c19fcbb0d0d210698c899b' into 1.5.0_to_main_for_history 2022-07-29 15:49:48 -07:00
Kyle AltendorfandGitHub 9e861d1fd0 Merge pull request #12681 from AmineKhaldi/update_init_data_layer
Update service construction in init_data_layer()
2022-07-29 18:41:43 -04:00
Arvid NorbergandGitHub f318f98fc7 update protocol message checks (#12608) 2022-07-29 17:23:46 -05:00
JeffandGitHub a3f5a4e65d Support for remembering the last used wallet key (#12550)
* Support for remembering the last used wallet key

* Added tests for WalletNode login/logout, last_used_fingerprint,
and get_private_key functionality.

Create intermediate dirs when writing last used fingerprint.

Return KeyringKeyNotFound when KeychainProxy is a local proxy and a key isn't found by fingerprint.

* Fixed Windows test failure

* Test fix

* Refactored get_private_key into two methods for clarity.
Added test to cover case where last_used_fingerprint file contains whitespace.
Other PR feedback addressed.

* Changes related to PR feedback

* Reverted changes to test_wallet_rpc.py

* Removed unnecessary try:except:

* Updated tests now that a dependent fixture has moved to conftests.py
2022-07-29 17:08:37 -05:00
+5 e5bc89e5b6 catchup: into main from long_lived/post_1.5.0 @ 916ccee549 (#12629)
* updated wallet name

* deprecated series

* swap to cat2

* updating .gitmodule to point to defender-gui

* Remove break (its preventing other sockets from getting data when earlier ones have an error) (#12241)

* Convert DID Wallet to use the new coin selection algorithm that the normal wallet and the CAT wallet already use (#12063)

* small type change

* use coin_selection.py with DID Wallet

use more efficient coin selection methods.

* Add special DID edgecase + fix int type

* Ms.fix coin selection (#12261)

* Fix coin selection bug

* Fix properly

* Fallback in cases of too many coins selected

* Also check for num coins

* Lint issues.

* Add another test

* No sorting, and faster knapsack

* Lint fix

* Remove comment and useless check

* Lint line

* Tx submission idempotance, and prioritize wallet (#12282)

* Tx submission idempotance, and prioritize wallet

* TODO comment

* Updating gui modules

* extend min_coin to rpc calls & cli for coin selection  (#12274)

* add tests to test if min_coin is working

they are passing, but no harm in being safe

* expand min coin amount across wallet.py

* extend to trade_manager

* add new options to rpc's

almost done lol.

* add min_coin_amount to wallet send

* make param non optional

alleviate None errors

* add cat wallet changes, rpc and all + fix a bug i accidentally made

oops

* Fix offer compression backwards compatibility

* bumping gui pin to head of release/1.5.0

* Calculate NFT royalty amount

* Create NFT wallet after the DID created (#12175)

* Bumping gui

* Show total amount to be paid for NFT offers

* Fix for NFT0 and NFT+Royalty detection suggested by quex

* Linter fix and formatting change

* Add RPCs for getting/extending the current derivation path index (#12472)

* Sleep to allow neworking layer to execute (#12463)

* Sleep to allow neworking layer to execute

* Add comment

* Added param to indicate how many additional phs create_more_puzzle_hashes should create. (#12493)

Account for range() not including last_index when `up_to_index` is provided.

* Fixed the wallet db rename from v2/v1 to v2_r1.
Removed vestigial code for dealing with the lite wallet db now that
we're syncing v2_r1 from scratch.

* When extending the derivation index, make sure we don't mark previously (#12513)

unused indices as used. This helps minimize gaps in the address space.

* Updating SBX asset ID

* Adding 1.5.0 changelog (#56)

* Adding 1.5.0 changelog

* Adding CVE fix

* Updating gitmodules (#57)

* Updating gitmodules

* Pinning gui

* black fixes

* mypy fixes

* xfail some run_block tests that need CAT2 update

* fix test

* Fix test based on series<->edition changes

* Drop EOL impish and hirsute (#12559)

(cherry picked from commit 189790ced2)

* Expand select_coins rpc  (#12360)

* change type to uint64, 128 is too big anyway

* add new options to select_coins endpoint

* oops

* add tests and finalize

* oops

(cherry picked from commit d5bf4d8b59)

* .resolve() for wallet db path tests in windows

* followup to actually fix the wallet db path tests

* Update .gitmodules

* Update wallet_node.py

* Update trade_manager.py

Co-authored-by: Sebastjan <trepca@gmail.com>
Co-authored-by: matt <matt@chia.net>
Co-authored-by: William Allen <wallentx@users.noreply.github.com>
Co-authored-by: wallentx <william.allentx@gmail.com>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
Co-authored-by: Jack Nelson <jack@jacknelson.xyz>
Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com>
Co-authored-by: Matt Hauff <quexington@gmail.com>
Co-authored-by: Jeff Cruikshank <jeff@chia.net>
Co-authored-by: Kronus91 <t.yu@chia.net>
Co-authored-by: Justin England <justin@chia.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2022-07-29 16:58:21 -05:00
Amine Khaldi 3047bc262a Update service construction in init_data_layer(). 2022-07-29 21:42:45 +01:00
Matt Hauff f344aa95eb pre-commit 2022-07-29 14:53:14 -05:00
Matt Hauff d599f7f19a RPCs working 2022-07-29 14:39:25 -05:00
Kyle AltendorfandGitHub 6d1d3802fb Merge pull request #12679 from Chia-Network/checkpoint/long_lived_atari_from_main_9cc5b729d566a57aadabdb8225ac89c13671af47 2022-07-29 15:36:03 -04:00
Amine Khaldi a01937a032 Merge commit '9cc5b729d566a57aadabdb8225ac89c13671af47' into checkpoint/long_lived_atari_from_main_9cc5b729d566a57aadabdb8225ac89c13671af47 2022-07-29 20:28:58 +01:00
Kyle AltendorfandGitHub bd0cf188e9 Merge pull request #12678 from Chia-Network/checkpoint/long_lived_atari_from_main_e569817ac750d6271ed0c03e4c817156a92372a0 2022-07-29 15:22:23 -04:00
Amine Khaldi 6305ab770b Merge commit 'e569817ac750d6271ed0c03e4c817156a92372a0' into checkpoint/long_lived_atari_from_main_e569817ac750d6271ed0c03e4c817156a92372a0 2022-07-29 20:20:36 +01:00
Kyle AltendorfandGitHub 8961e57b92 Merge pull request #12677 from Chia-Network/checkpoint/long_lived_atari_from_main_60a7581df8c32a48ea57e71ed9cac73dac6d8c12 2022-07-29 15:19:30 -04:00
Amine Khaldi ff25825915 Merge commit '60a7581df8c32a48ea57e71ed9cac73dac6d8c12' into checkpoint/long_lived_atari_from_main_60a7581df8c32a48ea57e71ed9cac73dac6d8c12 2022-07-29 19:37:01 +01:00
Kyle AltendorfandGitHub 293158e082 Merge pull request #12676 from Chia-Network/checkpoint/long_lived_atari_from_main_299718aac9bad9f31308d6ead14c484e159587ec
checkpoint: into long_lived/atari from main  @ 299718aac9
2022-07-29 14:36:06 -04:00
Amine Khaldi f149f32ee7 Merge commit '299718aac9bad9f31308d6ead14c484e159587ec' into checkpoint/long_lived_atari_from_main_299718aac9bad9f31308d6ead14c484e159587ec 2022-07-29 19:35:00 +01:00
Kyle AltendorfandGitHub 30e3133fdc Merge pull request #12675 from Chia-Network/checkpoint/long_lived_atari_from_main_8055468579514e78f6eb162b0b516f77812d8607
checkpoint: into long_lived/atari from main  @ 8055468579
2022-07-29 14:34:33 -04:00
Amine Khaldi 0e6b46b010 Merge commit '8055468579514e78f6eb162b0b516f77812d8607' into checkpoint/long_lived_atari_from_main_8055468579514e78f6eb162b0b516f77812d8607 2022-07-29 19:30:03 +01:00
Kyle AltendorfandGitHub 2c0dd5668c Merge pull request #12674 from Chia-Network/checkpoint/long_lived_atari_from_main_39c55994fbfae7b4c0938459fe5b3fda82de6912 2022-07-29 14:29:28 -04:00
Amine Khaldi 90a81f34b8 Merge commit '39c55994fbfae7b4c0938459fe5b3fda82de6912' into checkpoint/long_lived_atari_from_main_39c55994fbfae7b4c0938459fe5b3fda82de6912 2022-07-29 19:18:42 +01:00
Kyle AltendorfandGitHub 41bebb791a Merge pull request #12673 from Chia-Network/checkpoint/long_lived_atari_from_main_46bcaec2e87ac9f335cdedbe20ec4bb136552669
checkpoint: into long_lived/atari from main  @ 46bcaec2e8
2022-07-29 14:17:51 -04:00
Amine Khaldi e1b4a53fbe Merge commit '46bcaec2e87ac9f335cdedbe20ec4bb136552669' into checkpoint/long_lived_atari_from_main_46bcaec2e87ac9f335cdedbe20ec4bb136552669 2022-07-29 19:16:57 +01:00
Matt Hauff eee142ddf9 Mirror deletion 2022-07-29 13:05:25 -05:00
Kyle AltendorfandGitHub 3ffac51682 Merge pull request #12671 from Chia-Network/checkpoint/long_lived_atari_from_main_bddafa42f5f95af10c2147b6b08b9de110b639c1 2022-07-29 13:55:43 -04:00
Amine Khaldi 7da82fa932 Merge commit 'bddafa42f5f95af10c2147b6b08b9de110b639c1' into checkpoint/long_lived_atari_from_main_bddafa42f5f95af10c2147b6b08b9de110b639c1 2022-07-29 18:54:49 +01:00
Kyle AltendorfandGitHub a9a27199c0 Merge pull request #12670 from Chia-Network/checkpoint/long_lived_atari_from_main_7550a13eba4a84dc66fb6c1e02347fdb7ad5c0fd 2022-07-29 13:53:43 -04:00
Amine Khaldi 9ed71ddc87 Merge commit '7550a13eba4a84dc66fb6c1e02347fdb7ad5c0fd' into checkpoint/long_lived_atari_from_main_7550a13eba4a84dc66fb6c1e02347fdb7ad5c0fd 2022-07-29 18:42:33 +01:00
Kyle AltendorfandGitHub bc3bc86655 Merge pull request #12668 from Chia-Network/checkpoint/long_lived_atari_from_main_16aafffb71d297f27ca4e99cba69a7efc3033a3e 2022-07-29 13:40:08 -04:00
4b8130ec60 NFT transfer/minting commands now validate the specified addresses (#12520)
* WIP to introduce a wallet AddressType enum to help validate
user-entered addresses for XCH/DID/NFTs etc.

* Support grabbing the current network's address prefix while also
allowing the current value to be updated (in case the config changes)

* Added tests for functionality in/used-by AddressType

* Removed code that would automatically resolve the selected network's address prefix.
is_valid_address() and ensure_valid_address() now require the allowed address types to be passed in.

* Check the length of the decoded address data

* Removed TXCH address type. "txch" address validation now requires a config to be passed into one of the validation functions.

* config is now required when using the address validation functions or calling AddressType.hrp().
root_path_and_config_with_address_prefix --> config_with_address_prefix fixture change.

* Update tests/conftest.py

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

* Update tests/conftest.py

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

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-07-29 12:22:33 -05:00
Jack NelsonandGitHub c62a17358a Last new simulator rpc's (#12549)
* add coin rpc's

* finish coin rpc's

* mac lint pass

* Add both block reversion RPC's

* Mac Lint pass

* add tests

* add last tests

* small issue, oops

* quick sql change

* allow developer customization to sim tests

add automated_testing values

* fix camel case

* mac lint pass

* address nitpicks 😄
2022-07-29 12:21:25 -05:00