Commit Graph
12771 Commits
Author SHA1 Message Date
Amine Khaldi 16ba33619b Merge commit '4572390f40fce50ba186f13ae30b171887e3a104' into checkpoint/main_from_release_2.4.1_4572390f40fce50ba186f13ae30b171887e3a104 2024-07-09 20:19:15 +01:00
Starttoaster a959a12500 checkpoint: into main from release/2.4.1 @ 406550e4cc (#18280)
Source hash: 406550e4cc
Remaining commits: 1
2024-07-09 12:17:26 -07:00
Matt Hauff ebf747b3ae [CHIA-839] Refactor KeywringWrapper/FileKeyring for better ergonomics (#18275)
* `.get_passphrase` -> `.keyring.get_key()`

* `.set_password` -> `.keyring.set_key`

* `.delete_passphrase` -> `.keyring.delete_key`

* `.*_label` -> `.keyring.*_label`

* Introduce DecryptedKeyringData

* Fix bad assumption

* Fix tests

* Pre-commit

* Pivot key storage to external metadata for forwards compatibility

* typo & passphrase -> key
2024-07-09 12:17:11 -07:00
Arvid Norberg b4290a2f2f [CHIA-786] remove the original block compression (#18209)
remove the original form block compression, now that the hard fork has activated and we serialize CLVM in a more efficient way
2024-07-09 12:16:51 -07:00
Amine Khaldi 271418a3fa Merge commit '406550e4ccd1b3d683d58b537f1cab3a307a4b54' into checkpoint/main_from_release_2.4.1_406550e4ccd1b3d683d58b537f1cab3a307a4b54 2024-07-09 18:03:44 +01:00
Starttoaster 15a8275267 checkpoint: into main from release/2.4.1 @ 4b2f9f0c7e (#18276)
Source hash: 4b2f9f0c7e
Remaining commits: 2
2024-07-09 09:53:58 -07:00
Kyle Altendorf bccda243b7 increase linting timeouts to account for slow fmt bandwidth to github (#18277) 2024-07-09 09:53:45 -07:00
Matt Hauff 6d03354859 [CHIA-683] Drop unknown tables when resetting wallet sync DB (#18222)
Drop unknown tables when resetting wallet sync DB
2024-07-09 09:53:17 -07:00
Amine Khaldi e7eefd97c6 Merge commit '4b2f9f0c7e7e575dd266c238a017b9856b254a1f' into checkpoint/main_from_release_2.4.1_4b2f9f0c7e7e575dd266c238a017b9856b254a1f 2024-07-09 11:30:43 +01:00
Starttoaster bb01ab5def checkpoint: into main from release/2.4.1 @ 7c54e60910 (#18274)
Source hash: 7c54e60910
Remaining commits: 3
2024-07-08 20:29:32 -07:00
Jack Nelson c0d5b9b097 CHIA-818 Add Soft Fork options to simulator config (#18247)
add fork options to simulator CHIA-818
2024-07-08 13:17:13 -07:00
Arvid Norberg 956894dbd0 use rust version of SpendBundle (#17430) 2024-07-08 09:47:28 -07:00
Amine Khaldi 43cd5e1635 Merge commit '7c54e60910c6db80c2a7d92ed4f2d500e8e7179c' into checkpoint/main_from_release_2.4.1_7c54e60910c6db80c2a7d92ed4f2d500e8e7179c 2024-07-08 17:47:07 +01:00
Starttoaster 9151fac2ef checkpoint: into main from release/2.4.0 @ 4ce568b129 (#18260)
Source hash: 4ce568b129
Remaining commits: 0
2024-07-08 09:45:38 -07:00
Almog De Paz 3cecc27dd2 ad.fee_estimation_fixes (#18262) 2024-07-08 09:45:03 -07:00
Arvid Norberg 6dceabe2d3 [CHIA-691] simplify MempoolItem (#18143)
make MempoolItem and InternalMempoolItem contain the SpendBundleConditions directly, rather than the NPCResult. A mempool item is guaranteed to be valid, so the error state of NPCResult will never be engaged anyway.
2024-07-08 09:44:49 -07:00
Arvid Norberg 260c7a363a [CHIA-786] simplify hard-fork consensus rules (#18208)
the hard fork has activated. From now on we can simplify some of the updated consensus rules to apply unconditionally to block height
2024-07-05 09:52:03 -07:00
Florin Chirica 25154a1045 [CHIA-883] Fix duplicate connection log spam. (#18268)
* [CHIA-883] Fix duplicate connection log spam.

* Add old condition too as a safety margin.
2024-07-05 09:50:17 -07:00
Florin Chirica e6dbaef4c1 [CHIA-885] Send different uncompact buckets to blueboxes. (#18263)
* Send different uncompact buckets to blueboxes.

* Lint.

* Add sleep interval before continue
2024-07-05 09:49:57 -07:00
Florin Chirica 9b5053b732 [CHIA-884] Fix timelord log spam. (#18267) 2024-07-05 09:49:29 -07:00
Amine Khaldi bd750f9e94 CHIA-817 Properly order HARD_FORK_2_0 and SOFT_FORK_4 in ConsensusMode (#18242)
Properly order HARD_FORK_2_0 and SOFT_FORK_4 in ConsensusMode.
2024-07-03 09:22:46 -07:00
Amine Khaldi 8141fe40e2 CHIA-826 Simplify get_items_by_coin_id and make it return an iterator (#18255)
Simplify get_items_by_coin_id and make it return an iterator.
2024-07-03 09:22:25 -07:00
Amine Khaldi 7245d47c77 CHIA-843 Simplify add_to_pool around DB operations (#18259)
Simplify add_to_pool around DB operations.
2024-07-03 09:22:13 -07:00
github-actions[bot]andChiaAutomation ef09cafade CA Cert updates (#18265)
adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>
2024-07-02 09:31:04 -07:00
Amine Khaldi fa9b9dee55 Merge commit '4ce568b129899591bdb26e5fcba7d16785054646' into checkpoint/main_from_release_2.4.0_4ce568b129899591bdb26e5fcba7d16785054646 2024-06-28 23:54:22 +01:00
Patrick Maslana 8ca9d832c0 checkpoint: into main from release/2.4.0 @ 786cb31fda (#18206)
Source hash: 786cb31fda
Remaining commits: 1
2024-06-28 15:51:20 -07:00
Kyle Altendorf 03e2444f58 avoid some diff coverage processing failures (#18196) 2024-06-28 07:42:06 -07:00
Florin ChiricaandKyle Altendorf 9e1a4dceb7 CHIA-732 Optimize min height leaf. (#18123)
* Optimize min height leaf.

* Lint.

* Lint.

* Add tests.

* Lint.

* Lint.

* Parametrize test.

* Lint.

* Update chia/data_layer/data_store.py

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

* Address review comments.

* Report all hashes.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-06-26 09:22:15 -07:00
c25eeb08f7 [CHIA-504] Add support for external signers (PLEASE SQUASH) (#18199)
* Repin hsms

* Add to sdist only allowed list

* Signer protocol tweaks

* Convert wallet RPC client to deserialized types

* Introduce @tx_out_cmd decorator

* Make execute_signing_instructions RPC

* Add transport layer support

* Add signer commands

* Rework wallet execute_signing_instructions

* Inadvertent merge changes

* Fix signer command tests

* Try a different approach: recursive flattening

* Bump hsms

* Add comments

* Test coverage

* Coverage ignores

* Remove inadvertent time traveler

* Bring in lost time traveler

* pylint

* Attempt to make qr test less flaky

* Actually test coverage ignore

* Small refactor for test coverage

* transport -> translation

* missed one

* transport -> translation

* Fix asdict error

* coverage

* Forgoe rotation testing for now

* Test coverage

* jsonify_unsigned_txs -> full_jsonify

* Move a class

* Add better type checking to framework

* explicitly state kwargs on _CommandParsingStage

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

* Address comments by @altendky

* Consolidate add_private_key and add_public_key

* Consolidate get_key_for_fingerprint and get_public_key_for_fingerprint

* Test fix

* Merge fix

* Bad merge

* Bad merge

* oops

* pylint

* Tweak keychain_proxy.get_key_for_fingerprint

* Fix wallet RPC test?

* pragma: no cover

* Redesign clvm_streamable

* Fix test imports

* black

* fix one more test

* Address comments by @altendky

* Test coverage

* bytes32

* Better CLI mnemonic check

* Use functools.partial

* Rename full jsonify to chip 29

* whoops missed a couple

* Better CLI mnemonic check

* black

* pylint

* Missed one

* black

* Farm at least one block

* Revert last change and fix 0 block farming

* black

* bad merge

* Merge fix

* Inadvertent changes

* Inadvertent changes

* Syncronize with quex.tx_out_decorator2

* These are no longer dictionaries.

* Use new clvm_streamable pattern

* Fix offer endpoint

* Add @tx_out_cmd decorator

* Bump ecdsa version

* Fix @marshal util to return proper transactions

* Add get_public_key

* port `chia wallet send` to @tx_out_cmd

* merge fix of puzzle hash derivation

* Port `chia wallet coins` to @tx_out_cmd

* Port chia wallet clawback to @tx_out_cmd

* Port `chia wallet take/cancel_offer` to @tx_out_cmd

* Port `chia wallet did ...` to @tx_out_cmd

* Port `chia wallet nft ...` to @tx_out_cmd

* Port `chia wallet notifications send` to @tx_out_cmd

* Port `chia wallet vcs ...` to @tx_out_cmd

* Port `chia dao ...` to @tx_out_cmd

* Exclude data layer and plotnft functions

* [no ci]

* Address comments by @AmineKhaldi

* Fix rpc util

* add test for BSTLSigningInstructions

* [UNDO] d9c6f54398

* [UNDO] 7fc1d2adfd

* [UNDO] 23c9ee8549

* [UNDO] aacc9f0228

* [UNDO] 548465403b

* Undo unintentional changes

* Stuff that's not part of this

* More stuff that doesn't belong

* One last thing that doesn't belong

* Unintentional change

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-06-26 09:21:33 -07:00
Amine Khaldi b705350a9e CHIA-801 Cover AGG_SIG_ME_ADDITIONAL_DATA in message construction for test_agg_sig_illegal_suffix (#18235)
Cover AGG_SIG_ME_ADDITIONAL_DATA in message construction for test_agg_sig_illegal_suffix.
2024-06-25 11:52:09 -07:00
Earle Lowe 4572390f40 Add 12-word mnemonic known issue (#18245)
* Update CHANGELOG for 2.4.1

* Update some other items int he changelog

* Revert "Update some other items int he changelog"

This reverts commit 047b816cfe.

* changelog updates

* Add 12-word mnemonic known issue

* Update 12-word issue
2.4.1
2024-06-25 10:07:01 -07:00
Jack Nelson a447734728 Refactor CLI by adding add new click types for fees, amounts, addresses and bytes32 (#15718) 2024-06-24 16:52:40 -07:00
Earle Lowe 406550e4cc Resolve light wallet syncing regression (#18236)
* Update CHANGELOG for 2.4.1

* Update some other items int he changelog

* Revert "Update some other items int he changelog"

This reverts commit 047b816cfe.

* changelog updates
2024-06-24 15:29:38 -07:00
Matt Hauff a83f59bf2b Fix backwards compatibility for add_private_key (#18237)
* Fix backwards compatibility for `add_private_key`

* Another backwards compatibility fix
2024-06-24 15:26:46 -07:00
Matt Hauff 058b80775a [CHIA-711] Add WalletActionScope (#18125)
* Add the concept of 'action scopes'

* Add `WalletActionScope`

* Add the concept of 'action scopes'

* pylint and test coverage

* add try/finally

* add try/except

* Undo giving a variable a name

* Test coverage

* Ban partial sigining in another scenario

* Make WalletActionScope an alias instead

* Add extra_spends to the action scope flow

* Add test for .add_pending_transactions
2024-06-24 14:34:02 -07:00
Amine Khaldi bce4b4a494 CHIA-766 Deduplicate sb mempool asserts (#18175)
Deduplicate sb mempool asserts.
2024-06-24 14:12:20 -07:00
Kyle Altendorf a958f80537 remove no-op semver action from rpm build (#18224) 2024-06-24 14:06:12 -07:00
wjblanke 7a8489ecc9 Fix for freebsd suggested by user alghmma (#17994)
* fix for freebsd suggested by user alghmma

* fix copy paste
2024-06-24 13:56:04 -07:00
Amine Khaldi 9abedb578b CHIA-765 Add the ability to set a fee in make_item (#18174)
Add the ability to set a fee in make_item.
2024-06-24 13:54:42 -07:00
Florin Chirica 20fb8b223f DL query multiple ancestors in upsert. (#18146) 2024-06-24 13:54:13 -07:00
Matt Hauff 6ed262e3fb [CHIA-690] Add offer expiration to CLI (#18193)
* Add offer expiration to CLI

* Add timezone information
2024-06-24 13:53:59 -07:00
Izumi Hoshino 2e82142396 Fixed an issue where npx --no lerna clean -f didn't work (#18232)
Fixed an issue where npx --no lerna clean -f didnot work
2024-06-24 11:10:57 -07:00
Earle Lowe 4671193cbc CHIA-802: Update to macos-12 for build and remove macos-11 (#18238)
* Update to macos-12 for build and remove macos-11

* Update MACOSX_DEPLOYMENT_TARGET
2024-06-24 11:05:23 -07:00
Earle Lowe 4b2f9f0c7e Revert "use rust types for RecentChainData, ProofBlockHeader and WeightProof" #17738 (#18231)
Revert "use rust types for RecentChainData, ProofBlockHeader and WeightProof …"

This reverts commit 3f0d5c070b.
2.4.1-rc1
2024-06-21 18:02:55 -05:00
Kyle Altendorf 7c54e60910 correct release case on mac (#18227)
* correct gh release upload casing of macos torrent file

(cherry picked from commit 310dbdd648)

* correct s3 upload case
2024-06-21 15:33:31 -05:00
Kyle Altendorf eefca33875 Revert "Revert "Revert "CHIA-414 fixup datalayer benchmark""" (#18223)
Revert "Revert "Revert "CHIA-414 fixup datalayer benchmark"" (#18107)"

This reverts commit e87d51a993.
2024-06-21 15:32:39 -05:00
Amine Khaldi 63e6d92b34 Update anchor against GUI's main. 2024-06-21 16:59:04 +01:00
Amine Khaldi 1d20bf336b CHIA-764 Make mk_item aware of bundle_coin_spends (#18173)
Make mk_item aware of bundle_coin_spends.
2024-06-21 09:04:46 -05:00
Amine Khaldi c5e7a02116 CHIA-763 Inline additions_for_npc into MempoolItem's additions (#18172)
Inline additions_for_npc into MempoolItem's additions.
2024-06-21 09:04:36 -05:00
Amine Khaldi 495d401cf1 CHIA-736 Annotate trade_manager.py (#18138)
Annotate trade_manager.py.
2024-06-21 08:59:52 -05:00