Commit Graph
14659 Commits
Author SHA1 Message Date
Arvid NorbergandGitHub 04b543e26a add test for streamable -> json conversion (#11527)
* add test for streamable -> json conversion

* fixup test
2022-05-15 15:47:17 -07:00
Arvid NorbergandGitHub e74ff02b09 reduce the redundant computations of coin_ids in block_body_validation (#11530) 2022-05-15 15:46:44 -07:00
wjblankeandGitHub b44ae22077 updated bls to 13 (#11529) 2022-05-15 15:45:32 -07:00
geoffwalmsley 822d3a40ea Merge branch 'nft_offer_drivers' into gw_nft_offer_drivers 2022-05-15 18:56:36 +12:00
Kyle AltendorfandGitHub 0e419822e0 Allow services to set a non-default max request body size limit (#11516) 2022-05-14 02:08:10 -07:00
7c91f470f4 simplify SizedBytes and StructStream (#11429)
* simplify SizedBytes and StructStream

* lint

* super()  !!!

* do not pass parameter up to super().__init__()

* Update chia/util/struct_stream.py

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

* parse fixed-width int data from class name

* add int512 and uint128 .from_bytes(), test .parse() failures

* test serialization against struct.pack()

* use typing_extensions for final

* override ignore

* stop using struct for StructStream

oh the irony

* fixup .to_bytes() to accept parameters again for where we use that

* bring back signed parameter

* format

* adjust tests for new exception

* eliminate custom coding for uint128 and int512

* tidy

* remove unused StructStream.PACK attribute

* add direct tests for parse_metadata_from_name()

* stricter hinting

* remove no-longer-needed typeshed work-around

* apply strict type checking to all touched files

* remove StructStream override of .to_bytes()

* tidy

* types touchup

* add unused parameter comments

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: wjblanke <wjb98672@gmail.com>
2022-05-14 02:05:27 -07:00
c3272fa84c Write python version error to stderr (#11239)
Co-authored-by: wjblanke <wjb98672@gmail.com>
2022-05-14 02:04:18 -07:00
Kyle AltendorfandGitHub d1e4a38462 less except -> false (#10219)
* less except -> false

* establish_connection() and .perform_handshake() can just return None

* remove more pointless, and no wrong, assertions
2022-05-14 02:03:56 -07:00
298ea9ea20 Resend transactions (#11167)
* Resend transactions

* Don't recheck transactions more frequently than timeout

* Add wallet resend parameter to config, move timeout code out of tx store, but close to call site

* Add a test for wallet transaction resend

* Add test for wallet retry

* isort new files for precommit and update workflows

* Use correct fixture name

* LGTM - remove unused import

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2022-05-14 02:03:10 -07:00
Kyle Altendorf 42ff467fda rebuild workflows 2022-05-13 16:37:42 -04:00
Kyle Altendorf 259a2ce0ea Merge commit 'd1e445fac2e503ea230acf74ec24a1bb9c529aee' into atari-merge_main_d1e445fac2e503ea230acf74ec24a1bb9c529aee 2022-05-13 16:08:17 -04:00
Kyle AltendorfandGitHub 8f82ba108d Merge pull request #11510 from Chia-Network/atari-just_one_import 2022-05-13 15:53:14 -04:00
Kyle Altendorf 46b1b3e575 avoid import and import from of aiohttp 2022-05-12 19:33:16 -04:00
d1e445fac2 Ms.mypy consensus (#11403)
* Mypy for consensus dir (Except blockchain.py)

* Finish up consensus folder mypy

* Lint

* isort

* lint

* awaitable over coroutine

* less Any

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-05-12 15:21:47 -07:00
Arvid NorbergandGitHub 3795a52152 fix some LGTM issues (#11453) 2022-05-12 15:17:24 -07:00
dustinfaceandGitHub fc2d6d3db0 harvester: Fix deadlock on disconnect after a repeated plot sync start (#11481)
* Test plot sync start and disconnect while a sync is in progress

* Drop `Receiver._lock`, instead wait for `Receiver.sync_active` to clear

* Properly stop the sender and plot manager refreshing on disconnect

* Poll faster, drop the log

* Reset `_sync_id` at the very end of `_finalize_sync`
2022-05-12 15:16:22 -07:00
Mariano SorgenteandGitHub ce92f36055 Fix Newer block issue (#11486)
* Fix Newer block issue

* Fallback to checking memory
2022-05-12 15:15:36 -07:00
Kyle AltendorfandGitHub 6ecd561fb8 Merge pull request #11504 from Chia-Network/atari-merge_release_1.3.5_0f5a6df4ffcd7b1d5b950b9f40c15b4e6045ee1b 2022-05-12 14:41:42 -04:00
Sebastjan TrepcaandGitHub 97e299be84 Merge pull request #11500 from trepca/nft_eve_spend_hints
fix for missing minted coins
2022-05-12 18:20:08 +02:00
Florin ChiricaandGitHub cef88c5bbd Write empty delta as well. 2022-05-12 18:29:09 +03:00
Kyle Altendorf 0612091caf remove unneeded type ignore 2022-05-12 11:04:25 -04:00
Kyle Altendorf 16ae8af948 rebuild workflows 2022-05-12 10:33:06 -04:00
Kyle Altendorf 0dc4326fcf pin gui caught up with 1.3.5 2022-05-12 10:24:17 -04:00
Kyle Altendorf a03d1670f8 Merge tag '1.3.5' into atari-merge_release_1.3.5_0f5a6df4ffcd7b1d5b950b9f40c15b4e6045ee1b 2022-05-12 10:20:11 -04:00
Florin ChiricaandGitHub 2d7edee638 Fix RPC bug. 2022-05-12 17:18:55 +03:00
Florin ChiricaandGitHub 6fc9bf5a3c Fix bug. 2022-05-12 16:58:21 +03:00
Sebastjan b2617b0cf4 fix for missing minted coins 2022-05-12 14:33:36 +02:00
Sebastjan TrepcaandGitHub 15dfb0a42e Merge pull request #11493 from AmineKhaldi/nft0_cli_fees
Add the ability to set fees from CLI for minting NFTs, transferring NFTs and adding URIs to NFTs
2022-05-11 23:10:26 +02:00
Amine Khaldi 50f8ab9d27 Fix handling fees on the RPC API side. 2022-05-11 21:48:38 +01:00
Amine Khaldi 102280ed41 Add the ability to set fees for minting NFTs, transferring NFTs and adding URIs to NFTs. 2022-05-11 21:46:35 +01:00
Kronus91andGitHub bbcf6fd606 Add fee option for NFT & limit NFT wallet creation (#11492)
* Add fee option for NFT & limit NFT wallet creation

* Fix pre-commit

* Add fee for update metadata
2022-05-11 13:27:31 -07:00
matt-o-how 4539ed0673 brown and bottom layer 2022-05-11 20:21:46 +01:00
William AllenandGitHub 9a07247e1f Merge pull request #11269 from Chia-Network/release/1.3.5
Release/1.3.5
2022-05-11 14:06:22 -05:00
Florin Chirica a9db93553e Restore files option. 2022-05-11 21:59:11 +03:00
William AllenandGitHub b44ebe82b5 Merge branch 'main' into release/1.3.5 2022-05-11 13:18:41 -05:00
Sebastjan TrepcaandGitHub babe3ffd89 Merge pull request #11488 from AmineKhaldi/transfer_nft_wallet_id_required
NFT0: Make the wallet ID required for transferring an NFT
2022-05-11 20:13:29 +02:00
Kyle AltendorfandGitHub a3bb5fdb58 Merge pull request #11480 from Chia-Network/atari-long_lived_cherry_pick_2daa524aafe63b87e4ef4291559f2ccc4c47f9e6 2022-05-11 13:53:16 -04:00
Amine Khaldi cf1e5a789d NFT0: Make the wallet ID required for transferring an NFT. 2022-05-11 18:26:29 +01:00
Sebastjan TrepcaandGitHub 5d848141c6 Merge pull request #11487 from AmineKhaldi/add_uri_wallet_id_required
NFT0: Make the wallet ID required for adding a URI
2022-05-11 19:16:19 +02:00
Jeff Cruikshank 409f5cc5ba Bumping GUI to 725d77abbae77463fea725396e169f4148b810b6 2022-05-11 10:02:10 -07:00
Sebastjan TrepcaandGitHub 96f776755e Merge pull request #11485 from AmineKhaldi/nft0_list_nfts_cmd
Initial iteration of the NFT0 chia wallet nft list command
2022-05-11 18:51:38 +02:00
wallentx 0f5a6df4ff Adding correct items to changelog 1.3.5 2022-05-11 11:43:58 -05:00
Amine Khaldi 4951929108 NFT0: Make the wallet ID required for adding a URI. 2022-05-11 17:32:13 +01:00
Amine Khaldi 6e83eecab0 Initial iteration of the NFT0 chia wallet nft list command. 2022-05-11 16:57:10 +01:00
Sebastjan TrepcaandGitHub c295439699 Merge pull request #11483 from AmineKhaldi/nft0_transfer_cmd
Initial iteration of the NFT0 chia wallet nft transfer command
2022-05-11 17:54:41 +02:00
wallentx 201603b203 Updating CHANGELOG.md with corrections 2022-05-11 10:51:00 -05:00
wallentx 01cea1b4b3 Formatting CHANGELOG.md for 1.3.5 2022-05-11 10:29:04 -05:00
wallentx d77d2d017b Updating CHANGELOG.md with 1.3.5 2022-05-11 10:16:53 -05:00
Amine Khaldi 7cf6784b5c Initial iteration of the NFT0 chia wallet nft transfer command. 2022-05-11 15:54:48 +01:00
Sebastjan TrepcaandGitHub da25e8d799 Merge pull request #11484 from AmineKhaldi/nft0_add_uri_cmd
Initial iteration of the NFT0 chia wallet nft add_uri command
2022-05-11 16:39:44 +02:00