Kyle Altendorf
e8969da3a2
unfix the test bug, we will get it later with the associated data changes
2022-08-30 22:24:17 -04:00
Florin Chirica and GitHub
93354f7ed0
DL Fix add_mirror amount -h. ( #13221 )
2022-08-30 20:47:43 -05:00
Kyle Altendorf and GitHub
8b1a27b5eb
data layer - wait for creation tx ( #13240 )
2022-08-30 20:47:27 -05:00
Kyle Altendorf and GitHub
48a9e53610
correct subscription ip to ipv4 localhost ( #13243 )
2022-08-30 20:47:13 -05:00
William Allen and GitHub
fc943f6111
Pinning GUI to 8a52d3c - HEAD of release/1.6.0 ( #13246 )
2022-08-30 20:46:52 -05:00
8bc1cc41a5
Xch spam ( #12878 )
...
* Add mariano54s spam filter changes (original PR is #11894 )
* Add new spam_filter tests
* remove get_all_coins method and query db directly in test
* Add test to include case where everything gets filtered, even the first coin
* If filter threshold is <= 1, no need to run the filter
* add test of chia.wallet.wallet_coin_store.get_all_unspent_coins
* Add test case for receiving large coin after sending dust coin
* Add NFT test to spam wallet
* resolve merge conflicts with main
* remove unneeded coin store test
* Add black formatting
* split long comments into multiple lines
* Run black, second try
* Manually add black changes
* Black
Co-authored-by: Mariano Sorgente <sorgente711@gmail.com >
2022-08-30 17:44:27 -05:00
Amine Khaldi
d7d7bbc164
Apparently yaml.safe_dump() can't handle uint16 port (in the wallet_peer port section of data_layer's config). Propagate the port type and make this one explicitly int.
2022-08-30 23:26:07 +01:00
Amine Khaldi
98237e6227
Reflect the changes from main on atari related code.
2022-08-30 22:35:57 +01:00
Arvid Norberg and GitHub
163552b8d9
Implement generator_for_single_coin() in python instead of clvm and apply quex' optimization to only computing the puzzle hash if the parent and amount matches ( #13237 )
2022-08-30 16:30:34 -05:00
Amine Khaldi
78a3c9c83a
Merge main into checkpoint/main_from_release_1.6.0_12fcaf0e982590efcf26a954c67cd760035d9e6e
2022-08-30 21:29:45 +01:00
Amine Khaldi
fd471e457f
Reflect the changes from main on atari related code.
2022-08-30 20:31:51 +01:00
Richard Kiss and GitHub
18c40d6269
Calculate puzzle hashes directly, as an optimization. ( #13034 )
2022-08-30 14:25:42 -05:00
Arvid Norberg and GitHub
1b5f45a7d3
introduce an UncurriedPuzzle class ( #13211 )
...
* introduce an UncurriedPuzzle class, containin the mod and args from a puzzle that has already been uncurried. Pass this around to functions that want to access the uncurried puzzle, to avoid uncurrying the same puzzle multiple times.
* use UncurriedPuzzle for get_inner_puzzle()
2022-08-30 11:29:40 -05:00
Amine Khaldi
aacad8fecf
Merge main into checkpoint/main_from_release_1.6.0_12fcaf0e982590efcf26a954c67cd760035d9e6e
2022-08-30 13:25:43 +01:00
Kyle Altendorf and GitHub
a16e4cae52
correct port reference in data layer test ( #13193 )
...
* Update test_data_rpc.py
* catch up hashes with fix
2022-08-30 03:00:19 -05:00
Kyle Altendorf and GitHub
b2a553bbe8
data layer - remove old .gitignore ( #13198 )
2022-08-30 02:59:54 -05:00
Kyle Altendorf and GitHub
303c7e0eb0
clarify comment in DataLayerServer.stop() ( #13216 )
2022-08-30 02:59:35 -05:00
Florin Chirica and GitHub
6272033abb
Change override to overwrite atari add_missing_files. ( #13224 )
2022-08-30 02:59:13 -05:00
Kyle Altendorf and GitHub
27df8e28e3
fill in data layer certs at startup ( #13225 )
...
* fill in data layer certs at startup
* tidy
* don't overwrite
* add overwrite parameter to write_ssl_cert_and_key()
2022-08-30 02:57:36 -05:00
a647b022dd
update _peak_height after committing the block to the DB ( #13157 ) ( #13233 )
...
Co-authored-by: Arvid Norberg <arvid@libtorrent.org >
2022-08-30 02:55:43 -05:00
e99f2fd3ff
🍒 1 ( #13231 )
...
* add delayed pool config update feature (#12796 )
* add delayed pool config update feature
* we dont talk about this commit
* We did not await the async function (#13154 )
Co-authored-by: Jack Nelson <jack@jacknelson.xyz >
Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com >
2022-08-30 02:54:38 -05:00
Florin Chirica and GitHub
39eb1b84e8
Fix data Server CLI. ( #13222 )
2022-08-29 22:25:20 -05:00
Izumi Hoshino and GitHub
4e6fac243a
Fix missing wallet state_changed events ( #13200 )
...
* Fixed an issue where some of the wallet state_changed events were not notified to subscribers
* Fixed a lint error
2022-08-29 22:19:25 -05:00
Arvid Norberg and GitHub
38e444340b
Puzzle driver type annotations ( #13190 )
...
* annotate CAT outer puzzle driver
* add type annotation to transfer_program_puzzle
* add type annotations to singleton_outer_puzzle
* add type annotations to ownership_outer_puzzle
* add type annotations to metadata_outer_puzzle
* remove unused _asset_id field in puzzle drivers
2022-08-29 19:24:09 -05:00
Arvid Norberg and GitHub
ee8e737f5f
benchmark for parsing Offer ( #13212 )
2022-08-29 19:22:58 -05:00
Arvid Norberg and GitHub
4bd89b1253
use rust parser for Program and SerializedProgram.to_program() ( #13203 )
2022-08-29 18:38:09 -05:00
dustinface and GitHub
9bf55c0397
util: Implement key label support for Keychain and KeychainServer ( #12883 )
...
* util: Implement key name support for `Keychain` and `KeychainServer`
* Re-raise if adding the key fails
* Call `G1Element.get_fingerprint` only once
2022-08-29 17:07:14 -05:00
Kyle Altendorf and GitHub
95ca86cba8
Fill missing services in config for data layer ( #13220 )
...
* fill missing services in config for data layer
* adjust
* here too
2022-08-29 15:59:18 -05:00
Arvid Norberg and GitHub
a56b977360
Debug get tree hash ( #13218 )
...
* log clvm programs with format string instead of f-string
* avoid redundant calls to get_tree_hash() in the NFT wallet
* only compute the tree hashes for debug logging when actually logging
2022-08-29 15:26:42 -05:00
Arvid Norberg and GitHub
497679e97d
implement a more efficient Program.uncurry() ( #13204 )
2022-08-29 15:25:24 -05:00
Arvid Norberg and GitHub
a2f8957b62
skip parsing (and computing) offers just to get to the involved coins, instead use the DB field for coins_of_interest ( #13213 )
2022-08-29 15:25:08 -05:00
Arvid Norberg and GitHub
a39ad5e846
don't run the get_offered_coins post-init check. It's very expensive ( #13205 )
2022-08-29 15:24:23 -05:00
Kyle Altendorf and GitHub
8051a91fa2
core.data_layer parallel = True ( #13197 )
2022-08-29 15:01:48 -05:00
Amine Khaldi
eeb2277955
Merge commit '12fcaf0e982590efcf26a954c67cd760035d9e6e' into checkpoint/main_from_release_1.6.0_12fcaf0e982590efcf26a954c67cd760035d9e6e
2022-08-29 17:45:49 +01:00
William Allen and GitHub
12fcaf0e98
Merge pull request #13192 from Chia-Network/catchup/release_1.6.0_from_long_lived_atari_72491c5cdce1a15c3dbd1fc21cfd52e38f8d1894
...
catchup: into release/1.6.0 from long_lived/atari @ 72491c5cdc
2022-08-27 00:27:05 -05:00
Kyle Altendorf
b371fdca6c
update gui for release/1.6.0 take 2
2022-08-26 19:33:37 -04:00
Arvid Norberg and GitHub
0931153111
introduce a Protocol for puzzle drivers, for increased type checking ( #13183 )
2022-08-26 14:38:23 -05:00
Arvid Norberg and GitHub
1bbfff9776
track last_derivation_index in memory for each wallet (and across wallets) rather than performing DB lookups unconditionally ( #13155 )
2022-08-26 14:25:51 -05:00
Arvid Norberg and GitHub
31b5340001
enable mypy for a some wallet files ( #13185 )
...
* enable mypy for chia/wallet/trading/offer.py
* enable mypy for chia/wallet/trade_manager.py
2022-08-26 14:25:11 -05:00
Kyle Altendorf
16ec647218
update gui for atari changes
2022-08-26 13:22:56 -04:00
Kyle Altendorf
b28e4655ca
Merge commit '72491c5cdce1a15c3dbd1fc21cfd52e38f8d1894' into catchup/release_1.6.0_from_long_lived_atari_72491c5cdce1a15c3dbd1fc21cfd52e38f8d1894
2022-08-26 13:15:42 -04:00
Kyle Altendorf and GitHub
72491c5cdc
Merge pull request #13189 from Chia-Network/checkpoint/long_lived_atari_from_release_1.5.1_6ec6bd799b43c040fe0097d27729348272e42e21
...
checkpoint: into long_lived/atari from release/1.5.1 @ 6ec6bd799b
2022-08-26 07:56:57 -04:00
Amine Khaldi
08f1f65459
Merge commit '6ec6bd799b43c040fe0097d27729348272e42e21' into checkpoint/long_lived_atari_from_release_1.5.1_6ec6bd799b43c040fe0097d27729348272e42e21
2022-08-26 12:56:17 +01:00
Kyle Altendorf and GitHub
fee69d8830
Merge pull request #13187 from Chia-Network/checkpoint/long_lived_atari_from_release_1.5.1_0c35f9ee50263941e260afd6dbb578dfd12a842f
...
checkpoint: into long_lived/atari from release/1.5.1 @ 0c35f9ee50
2022-08-26 07:55:46 -04:00
Amine Khaldi
ab4946a433
Merge commit '0c35f9ee50263941e260afd6dbb578dfd12a842f' into checkpoint/long_lived_atari_from_release_1.5.1_0c35f9ee50263941e260afd6dbb578dfd12a842f
2022-08-26 12:50:32 +01:00
Kyle Altendorf and GitHub
633417a7be
Merge pull request #13186 from Chia-Network/checkpoint/long_lived_atari_from_release_1.5.1_ce47d6dcb3de5280230f99afb8175c31aea185d6
...
checkpoint: into long_lived/atari from release/1.5.1 @ ce47d6dcb3
2022-08-26 07:44:08 -04:00
Amine Khaldi
bff6f6d0fb
Merge commit 'ce47d6dcb3de5280230f99afb8175c31aea185d6' into checkpoint/long_lived_atari_from_release_1.5.1_ce47d6dcb3de5280230f99afb8175c31aea185d6
2022-08-26 12:40:51 +01:00
Kyle Altendorf and GitHub
8351af8797
Merge pull request #13184 from Chia-Network/checkpoint/long_lived_atari_from_release_1.5.1_bac862f6382c0f946604014426a29381919a9766
...
checkpoint: into long_lived/atari from release/1.5.1 @ bac862f638
2022-08-26 07:28:50 -04:00
Amine Khaldi
d35d2714b0
Merge commit 'bac862f6382c0f946604014426a29381919a9766' into checkpoint/long_lived_atari_from_release_1.5.1_bac862f6382c0f946604014426a29381919a9766
2022-08-26 11:53:06 +01:00
Arvid Norberg and GitHub
000df27dbf
simplify WalletStateManager.coin_added(). Make sure all callers ensure the coin isn't in the DB already, and always pass in the coin name ( #13144 )
2022-08-26 01:07:03 -05:00