Justin England and GitHub
b8fa374150
make python -m chia work ( #14785 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
Make it so `python -m chia` works. This makes it easier to subprocess
such as `subprocess.run([sys.executable, "-m", "chia"], check=True)`
when we need to.
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
### New Behavior:
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:41:33 -06:00
Justin England and GitHub
3d8f7d3ba1
Changed: remove unused self.new_subslot_end ( #14781 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
self.new_subslot_end is not currently used. clean up to make code
cleaner
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
Same behavior
### New Behavior:
Same behavior
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
No change in behavior. Code is the same.
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:37:38 -06:00
Justin England and GitHub
0022ce797d
Small improvements to trusted peer check to include IPv6 addresses and add tests ( #14626 )
...
Refactor function `is_trusted_peer` to a standalone easily testable
function. Leverage the existing `is_localhost` function to extend
coverage to IPv6 local address for the trusted peer check
Added tests for the new standalone function
2023-04-11 14:36:37 -06:00
Justin England and GitHub
93ba5127ba
hint chia.cmds.passphrase, passphrase_funcs ( #14736 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
### New Behavior:
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:32:41 -06:00
Justin England and GitHub
5db250ed4e
Bump aws-actions/configure-aws-credentials from 1 to 2 ( #14771 )
...
Bumps
[aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials )
from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aws-actions/configure-aws-credentials/releases ">aws-actions/configure-aws-credentials's
releases</a>.</em></p>
<blockquote>
<h2>v2</h2>
<p>This tag tracks the latest v2.x.x release.</p>
<h2>v2.0.0</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/v2.0.0/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.7.0</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.6.1</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.6.0</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.11</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.10</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.9</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.8</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.7</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.6</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.5</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.4</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.3</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.2</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.1</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<h2>v1.5.0</h2>
<p>See the <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md ">changelog</a>
for details about the changes included in this release.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md ">aws-actions/configure-aws-credentials's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/aws-actions/configure-aws-credentials/compare/v1.7.0...v2.0.0 ">2.0.0</a>
(2023-03-06)</h2>
<h3>Features</h3>
<ul>
<li>Version bump to use Node 16 by default.</li>
</ul>
<h2><a
href="https://github.com/aws-actions/configure-aws-credentials/compare/v1.6.1...v1.7.0 ">1.7.0</a>
(2022-08-03)</h2>
<h3>Features</h3>
<ul>
<li>Allow audience to be explicitly specified (<a
href="https://github.com/aws-actions/configure-aws-credentials/commit/2f8dfd0ed43d880f85b57f0c8727b497af2037de ">2f8dfd0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef "><code>e1e17a7</code></a>
Version 2 release (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/685 ">#685</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/bab55d3830fe69833c9fecaa51fe2c829a7508f3 "><code>bab55d3</code></a>
chore: Bump axios from 1.3.3 to 1.3.4 (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/679 ">#679</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/07b737a14fc628c3cb8b99a172b150fdea376d25 "><code>07b737a</code></a>
chore: Update dist</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/26e4efa71fbc395226c359bd3f2d5fdd38d9af85 "><code>26e4efa</code></a>
chore: Bump aws-sdk from 2.1320.0 to 2.1324.0 (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/677 ">#677</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/7e0ecf0346f0dff6db9c0bfc56f459e938888730 "><code>7e0ecf0</code></a>
chore: Bump eslint from 8.34.0 to 8.35.0 (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/675 ">#675</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/567d4149d67f15f52b09796bea6573fc32952783 "><code>567d414</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/563 ">#563</a>
from russau/docs/readme-role-update</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/32eb1b4a6692b0a851328355719189b79118a174 "><code>32eb1b4</code></a>
feat: document mask-aws-account-id input (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/606 ">#606</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/6ca257764313f33f44efb3df7a3e27b3e67f35c7 "><code>6ca2577</code></a>
chore: Update dist</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/f1de0761358f06cb7dd99ed4830a5a20cb1b00e5 "><code>f1de076</code></a>
chore: Bump aws-sdk from 2.1273.0 to 2.1320.0 (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/666 ">#666</a>)</li>
<li><a
href="https://github.com/aws-actions/configure-aws-credentials/commit/077fd1fc8f6f9674559d1d11e69e78d182cb5b9f "><code>077fd1f</code></a>
chore: Bump jest from 29.4.2 to 29.4.3 (<a
href="https://github-redirect.dependabot.com/aws-actions/configure-aws-credentials/issues/663 ">#663</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-actions/configure-aws-credentials/compare/v1...v2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
2023-04-11 14:30:11 -06:00
Justin England and GitHub
c0621737c8
mypy chia.util.files ( #14541 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
Code cleanup
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
### New Behavior:
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:29:42 -06:00
Justin England and GitHub
40e9756adf
Bump Apple-Actions/import-codesign-certs from 1 to 2 ( #14820 )
...
Bumps
[Apple-Actions/import-codesign-certs](https://github.com/Apple-Actions/import-codesign-certs )
from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Apple-Actions/import-codesign-certs/releases ">Apple-Actions/import-codesign-certs's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.2</h2>
<p>Fixes p12 file encoding issue.</p>
<h2>v1.0.1</h2>
<p>Adds a new option to get the Signing Certificates from a Base64
encoded string (such as a repo secret).</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 "><code>8f3fb60</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/41 ">#41</a>
from ssrobins/v2</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/357d43ebbd7cce8f7202c76db5d99c1ae29bd79f "><code>357d43e</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/47 ">#47</a>
from Apple-Actions/dependabot/npm_and_yarn/minimatch-3...</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/8396641780d304fc65e33174eaa59784591e53e8 "><code>8396641</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/45 ">#45</a>
from GiddyGoatGaming/patch-1</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/a648e17db806e1b89a3c3ef719cd35ba72538f00 "><code>a648e17</code></a>
Bump minimatch from 3.0.4 to 3.1.2</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/6a11927fbd9bd765f4c03f49524e8c7ac98b6dd0 "><code>6a11927</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/43 ">#43</a>
from Apple-Actions/dependabot/npm_and_yarn/qs-6.5.3</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/01ef787aa7281f658d77360d606f07b4d5bca5d9 "><code>01ef787</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/42 ">#42</a>
from Apple-Actions/dependabot/npm_and_yarn/decode-uri-...</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/63502f2ddf7a7abf14d17a72f4b1c9c6192033a4 "><code>63502f2</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/39 ">#39</a>
from Apple-Actions/dependabot/npm_and_yarn/kind-of-6.0.3</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/896b19008088b4dc5b44f58c4515fb225b4dfa9d "><code>896b190</code></a>
Merge pull request <a
href="https://redirect.github.com/Apple-Actions/import-codesign-certs/issues/44 ">#44</a>
from Apple-Actions/dependabot/npm_and_yarn/json5-2.2.3</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/6861374cc98d96e8ef611c9ff659d00c9d16f9c7 "><code>6861374</code></a>
test: bump checkout to v3</li>
<li><a
href="https://github.com/Apple-Actions/import-codesign-certs/commit/ff91926c74f68662ea2c41d958a4e7bae7e24cda "><code>ff91926</code></a>
Bump json5 from 2.1.1 to 2.2.3</li>
<li>Additional commits viewable in <a
href="https://github.com/Apple-Actions/import-codesign-certs/compare/v1...v2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
2023-04-11 14:27:04 -06:00
Justin England and GitHub
8e89e0df02
Fixed an issue where label-conflict action did not run when opening a PR ( #14070 )
...
## What is the purpose of the changes in this PR?
There was an issue where actual conflict status and label did not match.
https://github.com/Chia-Network/chia-blockchain/pull/14052
https://github.com/Chia-Network/chia-blockchain/actions/runs/3631834598/jobs/6126986602#step:2:182
The mismatch seems to be happened because the `label-conflict` action
did not run after the conflict resolved.
## What is the current behavior?
`label-conflict` action does not run when PR from forked branch is
opened/reopened.
## What is the new behavior (if this is a feature change)?
`label-conflict` action does run when PR from forked branch is
opened/reopened.
## Does this PR introduce a breaking change?
No
## Testing notes (is this code covered by tests, or equivalent manual
testing?)
In the workflow jobs in this PR, there is not a `label-conflict` action
on `pull_request_target` context.
(Only `label-conflict` action of `push` to `main` ran but it seems the
action of push context does not run for forked PR)
<!-- Are there any visual examples to help explain this PR? (attach any
.gif/movie/console output below) -->
2023-04-11 14:26:40 -06:00
Justin England and GitHub
f02a8ed82c
Clean create tandem xch tx ( #15012 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
It's unnecessary to have the same create_tandem_xch_tx method in
different wallets.
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
Each wallet its own create_tandem_xch_tx
### New Behavior:
Share the create_tandem_xch_tx in the standard wallet, unless the wallet
needs to override, like CAT wallet.
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:26:14 -06:00
Justin England and GitHub
6d9b65a3e1
add explicit listen option for Service() and ChiaServer.start_server() ( #14932 )
...
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:
<!-- Does this PR introduce a breaking change? -->
### Current Behavior:
### New Behavior:
<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->
### Testing Notes:
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2023-04-11 14:24:44 -06:00
Kyle Altendorf and GitHub
16835f3eb1
add new peak and tidy new compact vdf limited semaphore full logging ( #14831 )
...
* add new peak and tidy new compact vdf limited semaphore full logging
* log the peer as well
* delayed formatting for debug logging
* -f
2023-04-11 14:23:30 -06:00
ytx1991
31c1ae7324
Fix conflicts
2023-04-10 14:37:36 -07:00
ytx1991
634d19a396
Remove redundant create_tandem_xch_tx
2023-04-10 14:33:57 -07:00
Adam Kelly
fe6cc0f09d
Print mypy version
2023-04-10 14:01:59 -07:00
Kyle Altendorf
90d0641a9f
Merge branch 'main' into ak.lint-files
2023-04-10 08:59:14 -04:00
Jeff and GitHub
5b3343b90e
Bump chia-blockchain-gui to 69b15a42328199eecbe714302070bfd05b098031 ( #15002 )
...
* update decode-uri-component transitive dep to 0.2.2 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1662
* bump webpack to 5.77.0 to address a dependabot alert by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1660
* NFT Provider - refactored NFTs by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1651
* GUI: Add option to Emoji picker to clear or not set an emoji by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1666
* GUI: Make URL values in NFTProperties clickable by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1668
* Temporary workaround issue using openDialog() on WalletConnect dialogs. by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1670
**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.0-b4...1.8.0-b5
1.8.0-b5
2023-04-07 16:00:41 -06:00
014a7b34d4
Update tools/manage_clvm.py
...
Co-authored-by: Matt Hauff <quexington@gmail.com >
2023-04-07 14:04:23 -04:00
Arvid Norberg and GitHub
00a3647643
optimize Mempool.add_to_pool() ( #14988 )
...
* optimize at-capacity check in mempool.add_to_pool() by only computing the total cost once and remove all items in a single call
* use sqlite logic
* add test for Mempool.add_to_pool() when it's full
2023-04-07 12:09:46 -05:00
Kyle Altendorf and GitHub
4dfa8c294f
correct broken exit codes from manage_clvm.py
2023-04-07 12:57:13 -04:00
dustinface and GitHub
f3e165fc21
wallet: Enable and fix more mypy in wallet_node.py ( #14913 )
2023-04-07 05:16:12 -05:00
dustinface and GitHub
bd571de422
wallet: Handle some peer closed cases better ( #14642 )
...
* Move some logs to `DEBUG` for disconnected peers
* Introduce `_add_coin_states` to log and cleanup cache in one place only
* Bail out early for disconnected peers in some places
* Consider renaming from #14460
2023-04-06 14:48:19 -05:00
dustinface and GitHub
d819d8ffc5
wallet: Drop chia.wallet.user_settings ( #14899 )
2023-04-06 14:47:28 -05:00
Adam Kelly and GitHub
2c25a79612
Update Wallet command line help for key fingerprints ( #14982 )
2023-04-05 15:09:54 -05:00
Arvid Norberg and GitHub
44cdd921e4
windows fix of memory profiler ( #14987 )
...
when enabling memory profiler, use a directory name compatible with windows' filesystems
2023-04-05 12:57:17 -05:00
Amine Khaldi and GitHub
e1064fac05
Simplify creating a spend bundle from mempool items and move this logic to the mempool ( #14934 )
...
Simplify creating a spend bundle from mempool items and move this logic to the mempool.
2023-04-05 12:56:57 -05:00
dustinface and GitHub
a0659e923e
data_layer: Simplify wallet get and create code ( #14878 )
...
* Apply `final` decorator to `DataLayerWallet`
* Simplify `DataLayerWallet.create_new_dl_wallet`
* Simplify `DataLayerWallet.create`
* Improve `WalletStateManager.get_dl_wallet`
* More use of `WalletStateManager.get_dl_wallet`
* Only try `get_dl_wallet`
2023-04-05 12:56:39 -05:00
dustinface and GitHub
c63b0020fc
wallet: Drop leaking weight proof validation cache ( #14574 )
...
* Make `wp_valid_cache` a LRU cache
* Drop `wp_valid_cache`
2023-04-05 12:55:37 -05:00
Arvid Norberg and GitHub
624b24560a
Mempool insertion order ( #14971 )
...
* prepare mempool spends_by_feerate test for more test cases, move it to test_mempool.py (since it's testing the Mempool class)
* use insertion order as tie-breaker in mempool
1.8.0-b4
2023-04-04 12:51:26 -05:00
Kyle Altendorf and GitHub
b839dfa0c1
update black to 23.3.0 ( #14537 )
...
* unpin black
* Update setup.py
* Update .pre-commit-config.yaml
* black
* black
* 23.3.0
* cleanup
2023-04-04 12:50:58 -05:00
Jeff and GitHub
05af2a7c43
Bump chia-blockchain-gui to 3f97a37ec5e409d46500ec42c8f8abd63fee7df4 ( #14978 )
...
* Update @babel/core to 7.21.2 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1556
* update http-cache-semantics dependency to 4.1.1 to address dependabot alert by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1557
* Rifeljm/#328 emoji and color picker wallet view by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1553
* refactor and add test coverage for OfferBuilder's createDefaultValues by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1562
* update @walletconnect packages to 2.4.9 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1558
* remove unused useNFTMetadata hook in api-react by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1563
* spend_type param by @lipalong in https://github.com/Chia-Network/chia-blockchain-gui/pull/1595
* fixed navigation back for counter offer by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1627
* [BUGFIX] limiting the number of rows to show in the conflicting offers screen doesn't work by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/1625
* Fixed broken `useThrottleQuery` by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/1633
* update playwright to 1.31.2 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1646
* Nft search dropdown is now available "Settings/Sign Message" by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1629
* Refactor styled components to sx prop in core package by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1645
* Add react and redux devtools to electron by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1649
* Add absent libgbm1 dependency by @Elentary in https://github.com/Chia-Network/chia-blockchain-gui/pull/1648
* fix acceptance of one-sided offers by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1652
* Nft transfer cosmetic fixes for showing fee mojos on a new line by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1654
* update electron to 22.3.5 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1655
* update getWallets api/hook to set includeData to false by default by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1656
* add getCATWalletInfo query to call cat_asset_id_to_name RPC by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1657
* make playwright optional to allow CI to pass on Ubuntu ARM64 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1661
* @Elentary made their first contribution in https://github.com/Chia-Network/chia-blockchain-gui/pull/1648
**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.7.1-rc3...1.8.0-b4
2023-04-04 12:50:16 -05:00
dustinface and GitHub
cc6ff836cf
wallet: Introduce WalletIdentifier ( #14964 )
2023-04-04 00:08:10 -05:00
Matt Hauff and GitHub
e5d87f39f2
Check hint length in notficication manager to avoid raise ( #14972 )
2023-04-03 15:05:30 -05:00
Jeff and GitHub
db844b5bfb
expose NFT coin info's latest_height to RPCs requesting NFT info ( #14954 )
2023-04-03 15:01:39 -05:00
Kyle Altendorf and GitHub
d78b905152
remove synced status check from wallet rpc /push_transactions endpoint ( #14974 )
...
This is causing trouble around creating transactions and then submitting them as the creation triggers the wallet to consider itself unsynced when creating a new address for change while building a transaction. This creates a race between syncing and the calling code submitting the generated transaction.
2023-04-03 14:00:51 -05:00
François Deppierraz and GitHub
b594f8915b
seeder: case-insensitive DNS label matching to support bit 0x20 use ( #14933 )
...
Some DNS resolvers (notably 8.8.8.8) have implemented the use of bit 0x20 in
DNS labels to make cache poisoning attacks more difficult.
See https://datatracker.ietf.org/doc/html/draft-vixie-dnsext-dns0x20-00 for
more details.
Without this patch, resolution though Google public DNS fails:
$ dig dns-introducer.chia.net @8.8.8.8 +short | wc -l
0
Whereas it works as expected on a seeder which already deployed this patch:
$ dig chia.ctrlaltdel.ch @8.8.8.8 +short | wc -l
32
2023-04-03 13:33:32 -05:00
Kyle Altendorf and GitHub
7c9b3a25c1
Correct SQLite logging when using db_wrapper.manage_connection() ( #14866 )
...
* Correct SQLite log file handling in db_wrapper.manage_connection()
* simplify and fixup
* black
* fix/simplify
* just try/finally
2023-04-03 13:33:04 -05:00
Matt Hauff and GitHub
4710dd87d7
skip empty directories pre-commit ( #14973 )
2023-04-03 13:31:11 -05:00
dustinface and GitHub
f90de71c9a
wallet: Raise in WalletNode.get_full_node_peer and move some of its calls ( #14842 )
...
wallet: Raise in `WalletNode.get_full_node_peer` + move some calls of it
2023-04-03 11:27:38 -05:00
dustinface and GitHub
4dcbbda01e
wallet: Rename add block/state methods ( #14460 )
...
* `WalletBlockchain.receive_block` -> `WalletBlockchain.add_block`
* `receive_state_from_peer` -> `add_states_from_peer`
* `receive_and_validate` -> `validate_and_add`
2023-04-03 09:52:35 -05:00
dustinface and GitHub
5e3bf65abb
wallet: Improve balance caching ( #14631 )
...
* wallet: Improve balance caching
* Fix missing entries in `get_balance` RPC and add a test for it
* Fix comment
2023-04-03 09:52:11 -05:00
dustinface and GitHub
e8e8e0d709
wallet: Improve coin state retry wait logic and retry store test ( #14911 )
...
* wallet: Improve coin state retry wait logic and improve retry store test
* Avoid sleeping after uncatched exceptions
* Sleep only at the beginning since we have reduced timeout now in tests
2023-04-03 09:51:13 -05:00
dustinface and GitHub
6889c9cd30
wallet: Remove unused transaction getter ( #14923 )
2023-04-03 09:50:50 -05:00
dustinface and GitHub
db7aada45a
util: Drop unused chia.util.pip_import ( #14965 )
2023-04-03 09:50:27 -05:00
Kyle Altendorf
ec6b13192b
just return
2023-04-03 08:26:00 -04:00
bdd6eb8bfa
Make sql pre-commit check work when pre-commit hooks are in non-standard locations ( #14955 )
...
* make sql pre-commit check work with git worktrees
* Comment reasoning in script file
Co-authored-by: Kyle Altendorf <sda@fstab.net >
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2023-03-31 15:42:17 -05:00
Arvid Norberg and GitHub
20bfba0fa6
assert_before_height, assert_before_seconds fields in MempoolItem ( #14931 )
...
fix issue where assert_before_height and assert_before_seconds fields in MempoolItem would not be populated
2023-03-30 12:06:22 -05:00
Kyle Altendorf
d9f7d01e3a
Merge branch 'main' into hint_chia_cmds_passphrase
2023-03-29 22:17:32 -04:00
Kyle Altendorf
cabb0ceec5
move it
2023-03-29 22:11:52 -04:00
Kyle Altendorf
e376f82860
Merge branch 'main' into quieter_self_connection_logging
2023-03-29 22:06:21 -04:00
Kyle Altendorf
562e791ddb
avoid consuming exceptions while closing the daemon
2023-03-29 21:31:01 -04:00