100 Commits
Author SHA1 Message Date
Chris MarslenderandGitHub f8b3350ff1 Swap to azure code signing (#21116)
* Swap to azure code signing

* Update electron builder to allow building when using OIDC credentials for azure

* Try direct signing to work around hanging

* Use prod credential chain to azure signing service

* Disable signing in electron-builder for windows, since its done manually

* Remove unused azure login step

* Fix lint
2026-07-14 10:13:08 -07:00
24db9ad390 checkpoint: into main from release/2.7.2 @ 8878b56ccb (#21107)
bump chia_rs to 0.45.1 (#21068)

* bump chia_rs to 0.45.1

* fix issue in test_spam_message_too_large

* allow a few more warnings that can be triggered because our tests leak aiohttp websocket clients

* fix flaky test: test_transaction_ack_duplicate_without_resend_ignored

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2026-07-10 08:12:51 -05:00
c9b6c92ef2 checkpoint: into main from release/2.7.1 @ 5749071ff7 (#20932)
Add 2.7.1 release notes to CHANGELOG.md (#20886)

* Add 2.7.1 release notes to CHANGELOG.md

* Update WalletConnect and improve transaction handling

Upgraded WalletConnect to v2 and redesigned permissions.

* Update release date to 2026-05-19 (Monday)

---------

Co-authored-by: ibutterbot <butterbot@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2026-05-22 09:36:20 -05:00
Chris MarslenderandGitHub eb82fb6c58 checkpoint: into main from release/2.7.1 @ b192f50081 (#20926)
Source hash: b192f50081
Remaining commits: 3

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> The provided diff contains no code changes, so there is no functional
or behavioral risk beyond the administrative merge/checkpoint itself.
> 
> **Overview**
> This PR appears to be a **checkpoint/merge** from `release/2.7.1` into
`main`, but the provided diff shows **no actual file changes** (only a
`+++ /dev/null` marker).
> 
> No code, configuration, or dependency updates are visible to review in
this snapshot.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
0354fbdef7. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-05-21 10:44:28 -05:00
7080538f7d 2.7.1 Checkpoint Merge (#20887)
* Checkpoint Merge

Co-authored-by: Almog De Paz <almogdepaz@gmail.com>
Co-authored-by: Zachary Brown <z.brown@chia.net>

* Add a timeout during node shutdown

* Revert "Add a timeout during node shutdown"

This reverts commit ab57da71fb.

* Replace test_add_transaction_seen_before_validation with simpler version

The previous version of this test was the sole cause of a CI hang on the
2.7.1-checkpoint branch (confirmed by bisection). It used the heavyweight
wallet_nodes fixture, a real peer connection, and a backgrounded task driving
add_transaction, all of which left orphaned async work during fixture teardown
under pytest-xdist on CI runners.

The replacement keeps the same regression coverage for SEC-111 (tx must be
marked in-flight before pre_validate_spendbundle) but does so with:
- the lightweight one_node_one_block fixture
- pytest.MonkeyPatch.context() instead of manual attribute swap
- two asyncio.Events to deterministically gate validation
- asyncio.wait_for on both the gate and the final task to fail fast

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Almog De Paz <almogdepaz@gmail.com>
Co-authored-by: Zachary Brown <z.brown@chia.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 18:53:31 -05:00
Chris MarslenderandGitHub 045ba5564f Update pin to release/2.7.1 for GUI (#20847) 2026-05-01 15:38:26 -05:00
2354dc83e7 checkpoint: into main from release/2.7.0 @ ab8090a653 (#20740)
Update CHANGELOG.md for 2.7.0 (#20715)

* Update CHANGELOG.md for 2.7.0

* Revise CHANGELOG for version updates and fixes

Updated changelog with recent changes and fixes.

* Remove mypy/precommit/linting entries from CHANGELOG

* Reword Streamable entry, drop analyze-chain removal

* Consolidate WSChiaConnection entries

* Move Remote Wallet to Added section

* Format CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: ibutterbot <butterbot@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2026-03-30 09:52:52 -05:00
Chris MarslenderandGitHub 080fbb87a1 checkpoint: into main from release/2.6.1 @ 204fe59bd8 (#20702)
Source hash: 204fe59bd8
Remaining commits: 0

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Documentation-only change updating `CHANGELOG.md` with 2.6.1 release
notes; no code or behavior changes are included in this PR.
> 
> **Overview**
> Adds release notes for **Chia blockchain 2.6.1 (2026-3-18)** to
`CHANGELOG.md`, listing the key *Added/Changed/Fixed/Removed* items
(e.g., wallet/RPC updates, full node hardening, `chia_rs` bump, and
dropping macOS 13/14 support).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
bbd15021ae. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-20 09:44:51 -05:00
Chris MarslenderandGitHub 4f9bf7ecef checkpoint: into main from release/2.6.1 @ c3364780d4 (#20696)
Source hash: c3364780d4
Remaining commits: 1

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Touches full node block-ingest and peer discovery paths plus wallet
RPC signing behavior, so mistakes could affect sync/connectivity or
transaction submission, though changes are mostly defensive and covered
by new regression tests.
> 
> **Overview**
> Improves robustness and security hardening across node networking and
block processing. `FullNode.add_prevalidated_blocks()` now returns typed
`Err` values (and logs) when prevalidation fails or `required_iters` is
missing, instead of raising assertions; new regression tests cover these
cases.
> 
> Hardens peer discovery against pathological peer host strings by
bounding host length and rejecting non-IP hosts in `_add_peers_common()`
and `add_peers_neighbour()`, with new tests for oversized/invalid/mixed
hosts.
> 
> Fixes cache eviction for future infusion points by recording TTLs in
`FullNodeStore.add_to_future_ip()` and adds tests ensuring
`clear_old_cache_entries()` evicts stale entries. Also tightens keyring
passphrase cache semantics (empty/cleared treated as missing) with a new
test, ensures data-layer uploader HTTP sessions consistently use
`client_timeout`, fixes an S3 plugin missing `continue` on store-id
mismatch, and disables auto-signing specifically for the wallet RPC
`take_offer` action scope.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1351f71b36. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-19 18:00:48 -05:00
Chris MarslenderandGitHub d7c37e017d checkpoint: into main from release/2.6.1 @ 888de5db7b (#20695)
Source hash: 888de5db7b
Remaining commits: 2

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> No effective code changes are visible in the provided diff; this
appears to be a checkpoint/merge-only PR, so risk is low.
> 
> **Overview**
> This PR contains no reviewable code changes in the provided diff (it
only indicates `/dev/null`), suggesting a checkpoint/merge-only update
from `release/2.6.1` into `main`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
07ae7b31c8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-19 15:35:04 -05:00
Chris MarslenderandGitHub b5778b9340 checkpoint: into main from release/2.6.1 @ d69c5214bd (#20694)
Source hash: d69c5214bd
Remaining commits: 3

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Adjusts `PendingTxCache` eviction logic for height-indexed pending
transactions; mistakes here could change which pending txs are
retained/evicted under load. Covered by new unit tests for the
empty-bucket edge case and eviction ordering.
> 
> **Overview**
> Fixes a `PendingTxCache` eviction edge case where encountering an
empty `_by_height` bucket could incorrectly attempt to remove a tx from
`_txs` using a height key; eviction now drops the empty bucket instead.
> 
> Adds targeted tests to ensure empty height buckets are cleaned up
during eviction and that eviction continues to remove transactions from
the highest `assert_height` first.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
ad015423fd. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-19 14:55:17 -05:00
Chris MarslenderandGitHub 08c0d29aa7 checkpoint: into main from release/2.6.1 @ 8a64bfc1e2 (#20690)
Source hash: 8a64bfc1e2
Remaining commits: 4

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Build/packaging scripts now mutate `packages/gui/package.json` during
CI to work around electron-builder v26 dependency collection, which
could affect packaging behavior if the build relies on runtime node
modules.
> 
> **Overview**
> After `npm run build`, the Linux/macOS/Windows GUI packaging scripts
now **rewrite `packages/gui/package.json` to clear `dependencies`**,
preventing electron-builder v26’s node-module collector from failing
once workspace packages are removed for cache slimming.
> 
> Comments were updated to reflect that removing
`packages/gui/node_modules/@chia-network` is for cache size (and Windows
adds an explicit failure check if the dependency-clearing step errors).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1ed4f051c0. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-19 12:02:03 -05:00
Chris MarslenderandGitHub 7697c837c3 checkpoint: into main from release/2.6.1 @ 0638d558db (#20688)
Source hash: 0638d558db
Remaining commits: 5

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> The provided diff contains no code changes, so functional risk is
minimal aside from potential merge/branch management issues.
> 
> **Overview**
> This PR appears to be a **checkpoint/merge sync** from `release/2.6.1`
into `main`, but the provided `full_diff` shows **no actual file
changes** (empty diff).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0c7af2c03b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-18 16:28:45 -05:00
Chris MarslenderandGitHub 73450ac6d7 checkpoint: into main from release/2.6.1 @ f9206836b5 (#20654)
Source hash: f9206836b5
Remaining commits: 1

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Changes how `SingletonFastForward` updates its internal
`fast_forward_spends` state, which can affect subsequent mempool
validation/fast-forward chaining for singleton spends. Risk is moderate
because it touches spend/lineage handling but is a small, localized
logic change.
> 
> **Overview**
> Ensures `SingletonFastForward.process_fast_forward_spends()`
**accumulates fast-forward lineage updates in a local `ff_state_update`
map** while processing a mempool item, and only merges them into
`self.fast_forward_spends` at the end.
> 
> This also fixes the *no-fast-forward* path: when a spend is already
the latest singleton version, the derived “next version” lineage is now
persisted (via `self.fast_forward_spends.update(...)`) instead of being
dropped on early return.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
fdd11aaf6a. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-03-18 14:24:10 -05:00
c3364780d4 Checkpoint Merge (#20686)
Co-authored-by: arvidn <arvid@libtorrent.org>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Zachary Brown <z.brown@chia.net>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2026-03-18 14:17:52 -05:00
397adbaa9f checkpoint: into main from release/2.6.1 @ fbb12c8d0d (#20646)
Close VDF client TCP connections properly (#20602)

* Close VDF client TCP connections properly

_handle_client() did not close the StreamWriter for non-whitelisted
TCP connections, and free_clients had no upper bound once all 3
chains were mapped.

Fix:
- Explicitly close and await writer for non-whitelisted IPs
- Cap free_clients at max_free_clients (10)
- Close remaining free_clients connections during shutdown

Add unit tests for all three _handle_client paths (reject, accept,
cap overflow).

* Remove unrelated test to match private repo PR

Remove test_invalid_vdf_proof_is_ignored_in_process_communication and its
helpers (_NullTransport, _make_null_writer) so the public PR matches the
private security fix exactly.

* Move writer close outside lock in _handle_client

Avoid holding self.lock during writer.close()/wait_closed() to
prevent blocking timelord operations on a slow TCP close handshake.

Co-authored-by: Zachary Brown <z.brown@chia.net>
2026-03-11 15:00:07 -05:00
Chris MarslenderandGitHub a893817c17 checkpoint: into main from release/2.6.0 @ bff4929ee7 (#20516)
Source hash: bff4929ee7
Remaining commits: 1

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk because there are no code or configuration changes in the
provided diff.
> 
> **Overview**
> This PR contains **no code changes** as provided (the diff is empty),
indicating a checkpoint/merge-only PR with no repository modifications
to review.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1ce5a64252. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-02-17 09:50:23 -06:00
68a4e2ddfc checkpoint: into main from release/2.6.0 @ 3a43a87ece (#20506)
push out testnet 11 activation of soft-fork 8 (#20473)

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2026-02-16 15:01:59 -06:00
Chris MarslenderandGitHub c70a6bb8f2 Run apt update before the apt install in install-timelord.sh to ensure package lists are up to date (#20471)
Run apt update before the install to ensure package lists are up to date
2026-02-04 10:38:29 -06:00
Chris MarslenderandGitHub efa3025165 checkpoint: into main from release/2.6.0 @ 22e18c1b7f (#20463)
Source hash: 22e18c1b7f
Remaining commits: 5

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> No functional changes are present; review risk is minimal aside from
potential missing/incorrect diff context.
> 
> **Overview**
> No code changes are included in this PR (the provided diff is empty /
contains only `+++ /dev/null`).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5f56c7a3c6. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-02-03 13:08:24 -08:00
Chris MarslenderandGitHub ae9e98b36d checkpoint: into main from release/2.6.0 @ 4e36460622 (#20429)
Source hash: 4e36460622
Remaining commits: 1

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Touches consensus-critical validation inputs (pre-SP tx height /
generator flags), which can affect block acceptance around overflow
blocks and the HF2 transition window. Changes are localized and covered
by new tests, but correctness is important for fork safety.
> 
> **Overview**
> Adjusts `pre_sp_tx_block(_height)` to use `finished_sub_slots` (and
overflow-aware slot-crossing logic) instead of a boolean, fixing
selection of the latest transaction block before a block’s signage
point.
> 
> Adds `full_node/hard_fork_utils.get_flags()` to compute CLVM/generator
`flags` during the HF2 transition period by walking back to the
appropriate pre-SP transaction block, and updates full node API/RPC
paths to use this helper when deriving spends, coin solutions, and
additions/removals.
> 
> Updates all call sites and tests accordingly, and adds new tests
validating `get_flags` behavior inside and outside the HF2 transition
window.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
301fa2c143. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-02-02 08:05:45 -08:00
Chris MarslenderandGitHub 28dbf3ced9 When testing rpms on rocky, swap to using the main rocky repos (#20191)
* When testing rpms on rocky, swap to using the main rocky repos hosted by fastly

* Remove rocky-builder, since we're already testing on both rocky8 and rocky9 (which the builder is based on)
2025-10-23 14:12:56 -05:00
Chris MarslenderandGitHub 054a7322ba Swap to using the main rocky repos hosted by fastly - mirrors are being unreliable (#20181) 2025-10-21 18:09:43 -05:00
80ea5fe932 MacOS intel tests on macos-15-intel (#20120)
* MacOS intel tests on macos-15-intel

* Simplify allowed-skips condition in test.yml

https://github.com/Chia-Network/chia-blockchain/actions/runs/18106707994/job/51522945611?pr=20120#step:8:51

* Skip macOS intel timelord cases in workflow

Commented out macOS timelord cases due to issues.

* Fix comment syntax for macOS timelord cases

Updated comments to use hash symbol for skipping macOS cases.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-10-01 12:53:48 -05:00
Chris MarslenderandGitHub 83e164d3ca Use setup-node action and .nvmrc specified version for all installers (#20060)
* Update all installer builds to use the version of node specified in chia-blockchain-gui .nvmrc
* Update the workflows that didn't previously use the setup-node action to use it, to make future updates easier (this action now works with all the currently supported platforms we build on)
2025-09-16 09:36:34 -05:00
Chris MarslenderandGitHub 9a47aa2e3f Swap to self hosted mac intel runners for installer build (#20009)
* Swap to self hosted mac intel runners for installer build

* Change the test to also run self-hosted

* Use self hosted mac intel runners, and limit some things to not always run on mac intel

* Split the new mac intel rule to its own step
2025-09-02 12:13:16 -07:00
Chris MarslenderandGitHub c5c654000b checkpoint: into main from release/2.5.4 @ 78ccd69885 (#19601)
Source hash: 78ccd69885
Remaining commits: 2
2025-05-14 15:12:45 -05:00
Chris MarslenderandGitHub 18dfa2cefe checkpoint: into main from release/2.5.4 @ baceeb8417 (#19598)
Source hash: baceeb8417
Remaining commits: 3
2025-05-13 07:13:22 -05:00
f6f581d4cb checkpoint: into main from release/2.5.4 @ 0fb511b2f6 (#19589)
Enable Keccak for 2.5.4 (#19563)

* Backport enabling Keccak by default for wallet

* Keep ENABLE_KECCAK when not using mempool_mode

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2025-05-09 11:37:49 -05:00
Chris MarslenderandGitHub a0ceee1d67 checkpoint: into main from release/2.5.4 @ 8ec82c578e (#19576)
Source hash: 8ec82c578e
Remaining commits: 6
2025-05-07 09:26:09 -05:00
Chris MarslenderandGitHub a8a30e3541 checkpoint: into main from release/2.5.4 @ b4ad4cf8d6 (#19575)
Source hash: b4ad4cf8d6
Remaining commits: 7
2025-05-06 14:48:46 -05:00
Chris MarslenderandGitHub 9f14c5dfff checkpoint: into main from release/2.5.4 @ 6ab2a4b7c5 (#19574)
Source hash: 6ab2a4b7c5
Remaining commits: 8
2025-05-06 14:05:59 -05:00
Chris MarslenderandGitHub 7020ba7ac8 checkpoint: into main from release/2.5.4 @ 2dedd07056 (#19573)
Source hash: 2dedd07056
Remaining commits: 9
2025-05-06 11:23:02 -05:00
591713acb8 checkpoint: into main from release/2.5.4 @ ab533b451e (#19571)
Fix double slashes in s3 urls (#19443) (#19562)

(cherry picked from commit b7f029e3f5)

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2025-05-05 12:59:16 -07:00
Chris MarslenderandGitHub 8c188a09dd Remove the manual keychain delete step (#19509)
Remove the manual keychain delete step - this is handled automatically by the action now and fails if deleted by us first
2025-04-16 15:37:45 -05:00
Chris MarslenderandGitHub b7f029e3f5 Fix double slashes in s3 urls (#19443) 2025-04-01 09:42:08 -05:00
Chris MarslenderandGitHub ddd5a0cbcb Update gui pin to 3b65c4febd8630753237d867c8fee62db2a759bd (#19296) 2025-02-19 15:58:21 -07:00
Chris MarslenderandGitHub ac45a37bd9 Add simulator to installers (#18964)
* Add start simulator to installers

* Point to correct path for start_simulator
2024-12-02 22:18:26 -06:00
Chris MarslenderandGitHub db2ddfe7ba Update systemd templates to check if RPCs are up by using the chia rpc commands instead of nc (#18920) 2024-11-22 08:57:45 -07:00
8d44c61913 Add support for a static list of peers to always have available in the dns_server (#18890)
* Add support for a static list of peers to always have available in the dns_server

* Add some tests

* Test the hostname to ip resolution for static dns server responses

* Sort imports

* Fix types/lint

* Fix test_db_processing flake

* remove unnecessary continue

* Ensure the parts that used to loop every 2 seconds when the DB is being populated for the first time still loop every 2s

* Update chia/seeder/dns_server.py

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

* Remove redundant check for crawl store

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2024-11-20 09:00:02 -07:00
Chris MarslenderandGitHub 817427c19f If 0 peers to crawl, sleep before trying to crawl again (#18882)
* If 0 peers to crawl, sleep before trying to crawl again

* Invert the logic to only have one place that we sleep
2024-11-18 12:15:36 -07:00
Chris MarslenderandGitHub 385916a6a2 Remove chia-seeder.h9.com (#18559)
Remove chia-seeder.h9.com - has been offline for months and we have received no response about it being down
2024-09-06 05:28:18 +08:00
Chris MarslenderandGitHub 9c49b1e61e Set correct empty/default value for pool_public_keys (#18386)
Fix the initial config default/empty value for pool_public_keys
2024-08-06 12:09:48 -07:00
Chris MarslenderandGitHub 7e057ca5fd Add get version RPC method for all services (#18366) 2024-07-30 18:42:04 -07:00
Chris MarslenderandGitHub b14d912d3c Crawler Loop Fix + Test Improvements (#18329)
* Change a bunch of info logs back to warning in crawler, since crawlers are typically run in warning mode, to avoid the info log connection spam

* Ensure that the crawler loop ONLY doesn't start when in tests

* Rename the crawler service to crawler_service_no_loop, so defaults can also be tested WITH a loop

* Test crawler loop modes

* Add message when we received state chaged callback

* Add log to indicate crawling has started and how many peers we're crawling
2024-07-17 12:17:42 -07:00
Chris MarslenderandGitHub f48660c7be Add testneta to initial config (#18324) 2024-07-17 12:16:42 -07:00
Chris MarslenderandGitHub 2c36263c24 Update all selected_network config values when setting up simulator (#17998)
Add more selected network configs for simulator
2024-07-16 11:04:49 -07:00
Chris MarslenderandGitHub 8b01fdcfa8 Add prune old peers functionality for crawler (#18310)
* Add prune old peers functionality for crawler to keep the database size and write times under control

* Add test

* Make starting the crawler loop optional for tests. Test the pruning of old peers

* Fix lint issues
2024-07-16 08:19:09 -07:00
Chris MarslenderandGitHub f2765229cd Target macos-13-arm64 runners instead of [MacOS, arm64] (#18298) 2024-07-11 22:37:13 -05:00
Chris MarslenderandGitHub 51cc569654 checkpoint: into main from release/2.4.0 @ 8893f13d07 (#18198)
Source hash: 8893f13d07
Remaining commits: 0
2024-06-18 14:22:49 -05:00
Chris MarslenderandGitHub 84623cefa5 checkpoint: into main from release/2.4.0 @ 866493af56 (#18185)
Source hash: 866493af56
Remaining commits: 0
2024-06-17 11:57:56 -05:00
8893f13d07 updated gui to 5d6442180f9ddfda756c0c89de5ed56f2f225f06 (#18183) (#18187)
Co-authored-by: Mark Elrod <elrod@shallowpool.com>
2024-06-15 15:13:36 -05:00
Chris MarslenderandGitHub 7353bf5940 checkpoint: into main from release/2.4.0 @ 2fe2818076 (#18182)
Source hash: 2fe2818076
Remaining commits: 1
2024-06-14 15:37:56 -05:00
Chris MarslenderandGitHub 78da8ac10c checkpoint: into main from release/2.4.0 @ 1e677831c1 (#18147)
Source hash: 1e677831c1
Remaining commits: 0
2024-06-11 15:05:24 -05:00
Chris MarslenderandGitHub dafd8b41d9 Add optional trusted CIDR list (#18094)
* trusted_cidr list

* Tests for trusted cidrs

* only check IPs

* Fixing lint
2024-05-29 13:45:59 -05:00
Chris MarslenderandGitHub 0b3218b0eb checkpoint: into main from release/2.3.1 @ b29ae63674 (#18089)
Source hash: b29ae63674
Remaining commits: 0
2024-05-28 14:40:56 -05:00
Chris MarslenderandGitHub c251880a03 checkpoint: into main from release/2.3.1 @ 9f207c2c2b (#18079)
Source hash: 9f207c2c2b
Remaining commits: 1
2024-05-28 11:16:52 -05:00
Chris MarslenderandGitHub f0e4cf000b checkpoint: into main from release/2.3.1 @ 8a7e023359 (#18078)
Source hash: 8a7e023359
Remaining commits: 2
2024-05-24 13:04:12 -05:00
Chris MarslenderandGitHub 43e032aa15 checkpoint: into main from release/2.3.1 @ 4f2088d1ce (#18069)
Source hash: 4f2088d1ce
Remaining commits: 0
2024-05-24 09:25:58 -05:00
Chris MarslenderandGitHub e88d2e4b41 Add genesis challenge to get_network_info rpcs (#18000) 2024-05-09 17:07:17 -07:00
Chris MarslenderandGitHub eb6b403eda Set repo content updater actions reviewers (#17987)
* Make me and Kyle (current settings) the reviewers for actions bumps

* Fix prettier complaints
2024-05-07 21:32:23 -05:00
Chris MarslenderandGitHub 083e4824e1 Update gui pin to latest release/2.3.0 @ 34d2fdd25545e73e4578200de8cbaa6396f87ab3 (#17935) 2024-04-29 20:43:44 -07:00
Chris MarslenderandGitHub 71ced4c783 Add get_network_info to daemon (#17717)
* its also useful to have network info available from the daemon, vs having to ask whichever service(s) happen to be up

* Add test for get_network_info on daemon

* Fix precommit
2024-03-18 08:40:06 -07:00
26d5a253af Move get_network_info endpoint to the base rpc server class (#17662)
* Add get_network_info endpoint to the base rpc_server class, remove dupe implementations from wallet/full_node
Enables also getting network info from other RPC servers (crawler, etc)

* Add get_network_info test to full_node

* Remove unused var

* Update tests/core/test_full_node_rpc.py

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

* Use context manager for client

* Add success: true to the assertion to be complete

* Remove the **

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-03-07 16:19:26 -06:00
Chris MarslenderandGitHub 1164d5f16a checkpoint: into main from release/2.2.0 @ 74354b5f6f (#17639)
Source hash: 74354b5f6f
Remaining commits: 1
2024-03-05 12:01:20 -06:00
Chris MarslenderandGitHub 26deea9bec checkpoint: into main from release/2.2.0 @ f499f9dd67 (#17637)
Source hash: f499f9dd67
Remaining commits: 2
2024-03-04 10:50:22 -06:00
Chris MarslenderandGitHub ae88b7977a checkpoint: into main from release/2.2.0 @ 3742b225ff (#17631)
Source hash: 3742b225ff
Remaining commits: 3
2024-03-01 21:19:48 -06:00
Chris MarslenderandGitHub edbdc035d1 checkpoint: into main from release/2.2.0 @ 320d881591 (#17629)
Source hash: 320d881591
Remaining commits: 4
2024-03-01 14:32:01 -06:00
Chris MarslenderandGitHub 55e273c5d6 checkpoint: into main from release/2.2.0 @ d3d0f1b981 (#17628)
Source hash: d3d0f1b981
Remaining commits: 5
2024-03-01 12:29:46 -06:00
Chris MarslenderandGitHub 1cce93e39f Set unique peer filenames when swapping to/from testnets (#17592)
Set unique peer filenames when swapping to testnet
2024-02-21 13:10:12 -08:00
Chris MarslenderandGitHub f499f9dd67 Add testnet11 constants to config if missing when configuring to run on testnet (#17568)
* If missing, add testnet11 constants to config file

* Run isort

* Be specific about which parts are missing when updating config

* Run black
2024-02-15 13:15:31 -08:00
Chris MarslenderandGitHub 0e6e2b6ff0 Update the version formatting used for the cli .deb (#17518)
Update the version used for the cli .deb to match the UI .deb (and confirm to expected apt versioning)
2024-02-08 10:18:50 -08:00
Chris MarslenderandGitHub 84f3e3d9f2 Pull smtools from downloads since digicert is being flaky (#17367)
* Pull smtools from downloads since digicert is being flaky

* Fix precommit
2024-01-19 16:15:06 -06:00
Chris MarslenderandGitHub 763168167c Update default testnet to testnet11 (#17303) 2024-01-16 18:48:09 -06:00
Chris MarslenderandGitHub da79f64b84 Add fork height & rolled_back_records to block event for metrics (#17276)
* Add fork height to block event

* Add rolled_back_records to the state change data as well

* Update default values for fork_height and rolled_back_records to be None
2024-01-10 15:51:48 -06:00
Chris MarslenderandGitHub 334bf5af83 checkpoint: into main from release/2.1.4 @ b5fe5020ec (#17286)
Source hash: b5fe5020ec
Remaining commits: 0
2024-01-10 13:33:17 -07:00
Chris MarslenderandGitHub 9d0748fb98 checkpoint: into main from release/2.1.4 @ f6522969dd (#17280)
Source hash: f6522969dd
Remaining commits: 1
2024-01-10 13:13:40 -07:00
Chris MarslenderandGitHub 9adb0e49bf checkpoint: into main from release/2.1.4 @ 66683b957d (#17217)
Source hash: 66683b957d
Remaining commits: 0
2024-01-08 08:14:46 -07:00
Chris MarslenderandGitHub ff269b8864 checkpoint: into main from release/2.1.4 @ 507899ff19 (#17157)
Source hash: 507899ff19
Remaining commits: 0
2023-12-27 08:56:54 -06:00
Chris MarslenderandGitHub 11cbe27cb9 checkpoint: into main from release/2.1.4 @ a4cab829ed (#17156)
Source hash: a4cab829ed
Remaining commits: 1
2023-12-22 17:22:26 -06:00
Chris MarslenderandGitHub 739b0d84b8 checkpoint: into main from release/2.1.4 @ 55c064a292 (#17141)
Source hash: 55c064a292
Remaining commits: 0
2023-12-22 08:32:34 -06:00
Chris MarslenderandGitHub edec0a47c4 checkpoint: into main from release/2.1.3 @ 3856324cad (#17090) 2023-12-19 08:13:47 -06:00
Chris MarslenderandGitHub 2a2d0a59ff checkpoint: into main from release/2.1.3 @ a6730326e2 (#17085) 2023-12-19 07:44:09 -06:00
Chris MarslenderandGitHub e4c5b9e6c3 checkpoint: into main from release/2.1.3 @ 788db8bdff (#17081) 2023-12-18 16:47:13 -06:00
Chris MarslenderandGitHub 166257188e checkpoint: into main from release/2.1.2 @ e2c2626e46 (#17059) 2023-12-13 17:15:04 -06:00
Chris MarslenderandGitHub cde5d520e1 checkpoint: into main from release/2.1.2 @ 219667b6d8 (#17038) 2023-12-11 19:36:06 -06:00
Chris MarslenderandGitHub 6bd52d8bc6 Move nightly schedule to the actual test workflow (#17019) 2023-12-11 15:13:16 -06:00
Chris MarslenderandGitHub 3425b8bbfa checkpoint: into main from release/2.1.2 @ d55c8a5dcd (#17035) 2023-12-11 12:52:03 -06:00
Chris MarslenderandGitHub e3979629df checkpoint: into main from release/2.1.2 @ cfab3a407d (#17033) 2023-12-11 11:36:46 -06:00
Chris MarslenderandGitHub 078ae9f65f checkpoint: into main from release/2.1.2 @ ca9a6011ec (#17032) 2023-12-11 09:55:29 -06:00
Chris MarslenderandGitHub 047ccee4ec checkpoint: into main from release/2.1.2 @ fc5a550d06 (#17025) 2023-12-11 08:43:55 -06:00
Chris MarslenderandGitHub 3f1147cf54 checkpoint: into main from release/2.1.2 @ 949ed00e47 (#17014) 2023-12-08 18:12:30 -06:00
Chris MarslenderandGitHub d55c8a5dcd Fix the LAST missing pwsh-syntax-in-bash error (#17023) 2023-12-08 18:11:55 -06:00
Chris MarslenderandGitHub 186ce3ab31 checkpoint: into main from release/2.1.2 @ 196459382a (#17006) 2023-12-07 08:53:17 -06:00
Chris MarslenderandGitHub 8bed128e3c Bump chia-blockchain-gui to 2.1.2-rc3 from its checkpoint into main (#16998) 2023-12-06 08:03:34 -06:00
Chris MarslenderandGitHub c5440fa4b1 checkpoint: into main from release/2.1.2 @ c8f5ef4818 (#16996) 2023-12-05 13:15:13 -06:00
Chris MarslenderandGitHub c055099649 checkpoint: into main from release/2.1.2 @ fde036c503 (#16990) 2023-12-04 08:55:15 -06:00
Chris MarslenderandGitHub 6a937aedeb checkpoint: into main from release/2.1.2 @ 7d81440ca9 (#16975) 2023-11-30 12:34:28 -06:00
Chris MarslenderandGitHub 7d81440ca9 Fix env var to use bash syntax, instead of pwsh for windows exe upload (#16972) 2023-11-30 10:57:59 -06:00
Chris MarslenderandGitHub 05311fb339 checkpoint: into main from release/2.1.2 @ 55057dff24 (#16971) 2023-11-29 20:32:03 -06:00