Commit Graph

10353 Commits

Author SHA1 Message Date
Arvid Norberg
1d4a3ecce8
Softfork2 infrastructure (#14625)
* add soft-fork2 (to be introduced in 1.8.0)

* update unknown-opcode test
2023-02-21 12:25:47 -06:00
Arvid Norberg
b48c91618f
require npc_result to be set in mempool items added to the mempool (#14624) 2023-02-21 12:25:22 -06:00
Kyle Altendorf
c71fcc0da0
handle ._get_extra_info() call on a closing connection (#14618)
* handle ._get_extra_info() call on a closing connection

* or just return none

* don't check if the transport is closing

* or have to catch an exception
2023-02-21 01:15:32 -06:00
William Allen
99abc2d66f
Remove leading / from endpoint (#14620)
* Remove leading / from endpoint

* Remove leading / from endpoint on all
2023-02-18 21:20:26 -06:00
Kyle Altendorf
4e34ff7982
fixup test_agg_sig_unsafe() softfork fixture usage (#14597) 2023-02-16 19:54:16 -06:00
Jeff
356c5e114e
Bump chia-blockchain-gui to 9ea8e1a4ccb38947d2d645915cb9361dac01c014 (#14602)
Includes:
support showing memos for inbound transactions when expanding the txn row
fix nft royalties bug on create offer page (#1476)
2023-02-16 19:21:07 -06:00
Matt Hauff
b0a0314ecb
Don't raise on lack of hints in notification manager (#14590) 2023-02-16 14:04:17 -06:00
Amine Khaldi
8fd9940d59
Ignore unused config value in the DataLayer CLI commands (#14584)
Ignore unused config value in the DataLayer CLI commands.
2023-02-16 14:02:44 -06:00
William Allen
1d3aa039d6
checkpoint: into main from release/1.7.0 @ a8bcb8516e (#14594)
Source hash: a8bcb8516e
Remaining commits: 0
2023-02-16 12:12:18 -06:00
Amine Khaldi
717a262e9e
Merge commit 'a8bcb8516e695e69e271b78241c0b4b9f41093c4' into checkpoint/main_from_release_1.7.0_a8bcb8516e695e69e271b78241c0b4b9f41093c4 2023-02-16 15:01:30 +01:00
Sebastjan Trepca
6e632c2531
nft paging at sqlite level (#14561)
* nft paging at sqlite level

* use sqlite params
2023-02-16 03:40:50 -06:00
William Allen
03b007456a
catchup: into main from release/1.7.0 @ 124961a355 (#14575)
Source hash: 124961a355
Remaining commits: 0
2023-02-16 03:39:40 -06:00
Amine Khaldi
197533577b
Augment mempool's total_mempool_fees to int as it shouldn't be limited by type Mojos (#14587)
* Augment mempool's total_mempool_fees to int as it shouldn't be limited by type Mojos.

* Add an assert to make sure the total mempool fees are correct.
2023-02-15 23:06:06 -06:00
Amine Khaldi
a4d5ecc343
Remove unneeded f-string notation (#14585)
Remove unneeded f-string notation.
2023-02-15 23:02:24 -06:00
Arvid Norberg
9166b83993
fix typo introduced in bumping of chia-rs dependency (#14581) 2023-02-15 23:01:55 -06:00
Sebastjan Trepca
7694ed0480
rpc endpoint to count nfts per wallet or all wallets (#14570) 2023-02-15 23:01:12 -06:00
Arvid Norberg
fc9da3732c
parameterize TestConditions (#14567) 2023-02-15 23:00:48 -06:00
Amine Khaldi
55caf6f2d7
Remove redundant checks for minting coin and reserve fee (#14560)
Remove redundant checks for minting coin and reserve fee.

This simplifies the mempool by removing MINTING_COIN and RESERVE_FEE_CONDITION_FAILED related checks that are already performed on the Rust side.
2023-02-15 22:53:03 -06:00
Arvid Norberg
885df8c458
simplify compute_additions and remove unnecessary functions (#14543) 2023-02-15 22:52:16 -06:00
Amine Khaldi
0a27071106
Fix removing spend bundles from the mempool when a new peak is available (#14522)
* Fix removing spend bundles from the mempool when a new peak is available.

* In the optimized case, it's not safe to remove from removal_coin_id_to_spendbundle_ids while looping over it. We'd skip items as a result.

* Optimize this optimized case a little bit further by collecting all the spend bundle IDs to be removed and removing them in one call instead of many.
2023-02-15 22:47:39 -06:00
Amine Khaldi
ac0349f8dc
Simplify request_mempool_transactions() and get_items_not_in_filter() (#14404)
* Only deal with the relevant subset of the MempoolItem (which is SpendBundle here).

* get_items_not_in_filter() doesn't need to be async.

* Use len(items) instead of counter for the limit check.

* Update tests to reflect the improvements.
2023-02-15 22:47:07 -06:00
Kyle Altendorf
b22fe1ea8d
allow signature changes for 3.11 2023-02-15 22:45:28 -05:00
William Allen
a8bcb8516e
1.7.0 Changelog (#14582)
* Staging CHANGELOG.md changes

* Minor updates and add python 3.7 deprecation

* Minor updates

* Collapse fee estimator items into single entry

* Minor update

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

* Update CHANGELOG.md

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

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Apply suggestions from code review

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

* Update CHANGELOG.md

* Removing URLs and fixing format

* Fixing whitespace and re-adding attribution

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-02-15 14:15:45 -06:00
Kyle Altendorf
261b799484
remove diagnostic assert 2023-02-14 23:16:53 +01:00
Kyle Altendorf
60331ad7df
ignore for pylint 2023-02-14 23:16:52 +01:00
Kyle Altendorf
3ba01ef177
at least a bit more specific 2023-02-14 23:16:51 +01:00
Kyle Altendorf
83d184c9d0
start fixing up windows hints 2023-02-14 23:16:49 +01:00
Amine Khaldi
98c412ca5a
Formatting. 2023-02-14 22:15:08 +01:00
Amine Khaldi
7d0d40d7b7
Update SpendBundleConditions use. 2023-02-14 21:56:31 +01:00
Amine Khaldi
cf147458e8
Merge commit '124961a355e6175037067a06f5f2ab18600dfdf1' into catchup/main_from_release_1.7.0_124961a355e6175037067a06f5f2ab18600dfdf1 2023-02-14 21:35:36 +01:00
William Allen
7b452e8010
checkpoint: into main from release/1.7.0 @ de8a4064d1 (#14568)
Source hash: de8a4064d1
Remaining commits: 1
2023-02-14 14:17:22 -06:00
Kyle Altendorf
124961a355
fixup event loop method testing (#14566)
* get pausable_server in a thread

* drop the server thread name

this is a 3.8+ feature

* enable parallel testing in ci for core.server

* bump the timeout

* strict only for windows on 3.8+

* actually bump the *job_*timeout

* actively timeout connection attempts to speed up linux tests

* skip test_limits_connections() for windows python 3.7

* back to default job timeout
2023-02-14 13:48:44 -06:00
Amine Khaldi
90e463ed99
Merge commit 'de8a4064d147582d7e94dc6a12bbf549d04f2d62' into checkpoint/main_from_release_1.7.0_de8a4064d147582d7e94dc6a12bbf549d04f2d62 2023-02-14 13:09:42 +01:00
Arvid Norberg
d315097b2a
full node optimizations (#14562)
implement async opt merge

Co-authored-by: William Allen <wallentx@users.noreply.github.com>
Co-authored-by: Florin Chirica <16658074+fchirica@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-02-13 22:34:31 -06:00
Jeff
de8a4064d1
Bump chia-blockchain-gui to e1d2451d8518f5016cd0fc792a40fcb264fc8c15 (#14564)
Includes:
fixed default values during setValue (#1470), fixes new WalletConnect connections
2023-02-13 17:39:39 -06:00
William Allen
b3e68ba043
checkpoint: into main from release/1.7.0 @ 5f737cc094 (#14550)
Source hash: 5f737cc094
Remaining commits: 0
2023-02-13 17:18:09 -06:00
Adam Kelly
d69ecdda29
Test DID Wallet creation by blockchain singleton update (#14545) 2023-02-13 11:21:32 -06:00
Dennis
94ae691a61
Add dexie DNS seeder (#14556) 2023-02-13 11:19:49 -06:00
Amine Khaldi
454b1cbc35
Simplify MINTING_COIN and RESERVE_FEE_CONDITION_FAILED unit tests (#14559)
* Simplify MINTING_COIN and RESERVE_FEE_CONDITION_FAILED unit tests now that they're validated in pre_validate_spendbundle.

* Add positive tests.
2023-02-13 11:03:22 -06:00
Kyle Altendorf
e29125703e
zstd==1.5.4.0 (#14552)
Mostly for official wheel coverage.  https://github.com/sergey-dryabzhinsky/python-zstd/issues/83
2023-02-13 11:01:55 -06:00
Arvid Norberg
07450b7dda
use run_block_generator() to run block generators (#14544)
use the new run_block_generator() function from chia_rs
2023-02-13 11:00:21 -06:00
Kyle Altendorf
9ea8f6951b
just tuple() instead of tuple([]) (#14515) 2023-02-13 10:58:36 -06:00
Amine Khaldi
b843cc3eba
Merge commit '5f737cc094d1a077755f0bb00ad5b7a56870a988' into checkpoint/main_from_release_1.7.0_5f737cc094d1a077755f0bb00ad5b7a56870a988 2023-02-11 20:46:29 +01:00
Zachary Brown
2e34cc5fe8
Improve the help text for the peer command (#14542) 2023-02-10 17:33:34 -06:00
William Allen
9c2efd591e
checkpoint: into main from release/1.7.0 @ de4f48700e (#14539)
Source hash: de4f48700e
Remaining commits: 1
2023-02-10 17:33:15 -06:00
Arvid Norberg
1b6201852a
bump chia_rs to 0.2.2 (#14533)
* bump chia_rs to latest version

* add new error codes for ASSERT_BEFORE_* condition failures, ASSERT_CONCURRENT_SPEND failing, ASSERT_CONCURRENT_PUZZLE_FAILED and for impossible constraints

* add new condition opcodes for ASSERT_BEFORE_*, ASSERT_CONCURRENT_SPEND and ASSERT_CONCURRENT_PUZZLE

* fixup Spend and SpendBundleCondition types

* fixup tests that otherwise fail with MINTING_COIN

* fix test that otherwise would fail with RESERVE_FEE_CONDITION_FAILED

* remove use of NO_NEG_DIV flag. It's now implied

* remove duplicate test parameters
2023-02-10 15:14:56 -06:00
Arvid Norberg
91923ef8fa
optimize offers (#14531)
cache addition coins in offers, rather than executing the clvm puzzles repeatedly
2023-02-10 15:14:23 -06:00
Matt Hauff
59e389968e
Add cost logging to CLVM tests as fixture (#14444) 2023-02-10 15:13:45 -06:00
Kyle Altendorf
6e70868888
move wallet_is_synced/wallets_are_synced to FullNodeSimulator methods (#14403)
* move wallet_is_synced/wallets_are_synced to FullNodeSimulator methods

* black

* gotta catch 'em all
2023-02-10 15:13:23 -06:00
dependabot[bot]
3967bb9a15
Bump colorama from 0.4.5 to 0.4.6 (#13982)
Bumps [colorama](https://github.com/tartley/colorama) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/tartley/colorama/releases)
- [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tartley/colorama/compare/0.4.5...0.4.6)

---
updated-dependencies:
- dependency-name: colorama
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 15:12:54 -06:00