Commit Graph

10429 Commits

Author SHA1 Message Date
Kyle Altendorf
d208359a88
hint build_scripts (#14739) 2023-03-06 11:55:02 -06:00
Kyle Altendorf
2d44e510b6
hint_benchmarks (#14738) 2023-03-06 11:50:44 -06:00
Kyle Altendorf
542522e39d
hint chia.cmds.plotnft, plotnft_funcs (#14737) 2023-03-06 11:42:29 -06:00
Kyle Altendorf
31c25d7e78
hint chia.cmds.keys, keys_funcs (#14735) 2023-03-06 11:37:49 -06:00
Kyle Altendorf
96638628ff
hint chia.cmds.farm_funcs (#14734) 2023-03-06 11:37:21 -06:00
Kyle Altendorf
2c000a45eb
correct Announcement.__str__() to present hex (#14740)
A hash is quite unlikely to be valid UTF-8 data and even if it does decode it seems unlikely to be a useful representation.
2023-03-05 16:00:37 -06:00
Arvid Norberg
131c5ec5bf
parameterize Timelock and compute_assert_height tests (#14729)
* parameterize test_compute_assert_height

* parameterize tests in TestCheckTimelocks
2023-03-04 11:39:47 -06:00
Jeff
a110aa93b5
Bump chia-blockchain-gui to 831f176c73e70e826af6a1952c3abfa10560302b (#14732)
Bump chia-blockchaing-gui to 831f176c73e70e826af6a1952c3abfa10560302b

* NFT gallery allow sensitive_content to be "false" (string) by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1503
* remove exit prompt in wallet mode by @lipalong in https://github.com/Chia-Network/chia-blockchain-gui/pull/1504
* add RPC hook for nft_count_nfts by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1501
* fix showing offer details from a wallet txn row by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1500
* Rifeljm/#240 cat2 removal by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1505
* fix merge conflict by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1506
* bugfix in NFT gallery - disappearing when scrolling to the bottom by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1466
* skip prompt on quit only if in wallet mode and other services aren't running by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1507
* update json5 dependency via an update to babel-loader by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1513
* wallet connect improvements by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1508
* assorted fixes and simplification by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1517
* temporary workaround to load > 50 NFTs at a time by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1516
* Reverting status icon changes as they caused breakage in the app header by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1518
* Rifeljm/#1480 first screen redesign by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1511
* fix nft selection when creating nft for nft offer notification by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1509
* quick fix to show the New Wallet button when no keys are present by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1519

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.0-b2...1.8.0-b3
2023-03-03 20:39:49 -06:00
Chris Marslender
db6bf72af3
Listen on ::0 so we can respond to both ipv4 and ipv6 (#14731)
* Listen on ::0 so we can respond to both ipv4 and ipv6

* Move the initial sleep to the end of the first attempt to load reliable peers, so that if we already have a database, it doesn't take 60 seconds to start responding
2023-03-03 19:59:54 -06:00
dependabot[bot]
69a91d24ef
Bump pyinstaller from 5.6.2 to 5.8.0 (#14707)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.6.2 to 5.8.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.6.2...v5.8.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 15:14:04 -06:00
Sebastjan Trepca
a38da21ebd
no duplicate offers, handle conflict offers correctly (#14722)
* no duplicate offers, handle conflict offers correctly

* don't sync every offer with a bad spend, only pending ones
2023-03-03 15:13:39 -06:00
Arvid Norberg
9e8dae67b2
Bump chia_rs to 0.2.3. and ASSERT_MY_BIRTH_* (#14720)
* bump chia_rs to version 0.2.3

* add new error codes for assert_my_birth_*

* add new condition codes for ASSERT_MY_BIRTH_*

* add logic for ASSERT_MY_BIRTH_* conditions
2023-03-03 15:12:37 -06:00
Earle Lowe
2d721ec8bb
Quick fix to some hostname problems (#14725) 2023-03-03 15:05:02 -06:00
Arvid Norberg
c7301693e1
sqlite-backed mempool (#14657)
* implement Mempool using an in-memory sqlite database

* remove_from_pool with empty list is a no-op

* the order is not important in get_coin_records_by_puzzle_hash() or get_block_spends()

* use format string in log statement

* make MempoolItem not streamable, to improve performance of creating objects
2023-03-03 15:04:21 -06:00
Arvid Norberg
3f78f51211
fixup ephemeral coin test in test_mempool (#14719)
* user shorter names for constants in test_mempool.py

* fix typo in test_ephemeral_timelock in mempool test. The conditions should only be applied to the ephemeral coin, not the coin creating it
2023-03-02 05:16:35 -06:00
dependabot[bot]
5669dcebd6
Bump typing-extensions from 4.4.0 to 4.5.0 (#14710)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.4.0...4.5.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 18:09:51 -06:00
dependabot[bot]
dd14419c43
Bump dnspython from 2.2.1 to 2.3.0 (#14580)
Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/master/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 18:09:30 -06:00
Kyle Altendorf
f162f07984
anyio is needed as a standard dependency for the simulator (#14661)
anyio==3.6.2 is a regular dependency
2023-03-01 18:08:51 -06:00
Adam Kelly
341ecd6f9e
Fix Pool Wallet check for invalid state (#14711) 2023-03-01 14:20:44 -06:00
Arvid Norberg
8618ef0f52
Soft fork2 tests (#14712)
* use shorter names in test-ephemeral-coin test parameters

* use shorter names in TestConditions to make the test easier to read

* user shorter names in test_blockchain test_ephemeral_timelock, to make the test easier to read

* extend test_ephemeral_timelock to cover soft-fork 2

* extend test_conditions to cover soft-fork 2
2023-03-01 14:19:55 -06:00
Kyle Altendorf
f29eb44ffc
update mypy.ini (#14706) 2023-02-28 16:59:33 -06:00
Zachary Brown
c8149c4b28
Refine help text for chia peer -a (#14563)
* update help text for chia peer -a

* further chia peer -a language refinement
2023-02-28 14:26:03 -06:00
dependabot[bot]
c8a459d524
Bump aiofiles from 22.1.0 to 23.1.0 (#14578)
Bumps [aiofiles](https://github.com/Tinche/aiofiles) from 22.1.0 to 23.1.0.
- [Release notes](https://github.com/Tinche/aiofiles/releases)
- [Commits](https://github.com/Tinche/aiofiles/compare/v22.1.0...v23.1.0)

---
updated-dependencies:
- dependency-name: aiofiles
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 13:12:11 -06:00
Kronus91
4accec4108
Extend did_find_lost_did API (#14673)
* Add NFT bulk transfer API

* Fix pre-commit

* Improve unit test

* Fix precommit

* Improve unit test

* Fix response json serialization

* Fix bulk API missing transaction

* Remove print

* Add get_transaction_memo API

* Add unit test for XCH

* Cover received coins

* Add parameter override

* Check old wallet

* Add address brute force

* Fix log
2023-02-28 13:11:28 -06:00
dependabot[bot]
cae628ccf7
Bump setproctitle from 1.2.3 to 1.3.2 (#13920)
* Bump setproctitle from 1.2.3 to 1.3.2

Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle) from 1.2.3 to 1.3.2.
- [Release notes](https://github.com/dvarrazzo/py-setproctitle/releases)
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst)
- [Commits](https://github.com/dvarrazzo/py-setproctitle/commits)

---
updated-dependencies:
- dependency-name: setproctitle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* setproctitle has type hints now

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-02-28 12:26:50 -06:00
dependabot[bot]
c682a1b6b2
Bump aiohttp from 3.8.3 to 3.8.4 (#14576)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.4)

---
updated-dependencies:
- dependency-name: aiohttp
  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-28 12:25:58 -06:00
dependabot[bot]
68dd799868
Bump filelock from 3.8.0 to 3.9.0 (#14577)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.8.0...3.9.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 12:25:29 -06:00
dustinface
fe321ea488
daemon: Fix server shutdown / wait for it (#14674)
* Create the shutdown event inside `WebSocketServer.__init__`

* Rename `WebSocketServer.start` to `run` and make it a contextmanager
2023-02-28 11:43:24 -06:00
Kyle Altendorf
3a5c1a5bd5
hint chia.harvester.harvester, harvester_api (#14690)
* hint chia.harvester.harvester

* hint chia.harvester.harvester_api
2023-02-28 11:42:58 -06:00
Kyle Altendorf
0ed70fd534
hint chia.plotting.check_plots (#14691)
* hint chia.plotting.check_plots

* use the hints
2023-02-28 11:42:39 -06:00
Kyle Altendorf
c29dc05d8b
hint chia.pools.pool_config (#14693) 2023-02-28 11:42:20 -06:00
Kyle Altendorf
377e95319a
hint chia.protocols.pool_protocol (#14695) 2023-02-28 11:42:00 -06:00
Kyle Altendorf
44c836f4d4
hint chia.rpc.crawler_rpc_api (#14696) 2023-02-28 11:41:36 -06:00
Kyle Altendorf
ef22a207e4
hint chia.rpc.farmer_rpc_api, client (#14697) 2023-02-28 11:41:15 -06:00
Kyle Altendorf
423689099e
add more wallet syncs to test_pool_rpc (#14703) 2023-02-28 11:40:57 -06:00
Kyle Altendorf
12ddc928c2
gc.collect() before unlinking the db in some tests (more) (#14702)
https://github.com/Chia-Network/chia-blockchain/pull/14491
https://github.com/python/cpython/issues/97641
2023-02-28 11:40:17 -06:00
Kyle Altendorf
c5d7339bd5
hint chia.farmer.farmer (#14687)
* hint chia.farmer.farmer

* we will update mypy.ini later
2023-02-28 03:05:08 -06:00
Kyle Altendorf
0940b5920a
hint and dataclass chia.daemon.keychain_server (#14686)
* hint and dataclass chia.daemon.keychain_server

* we will update mypy.ini later
2023-02-28 03:04:34 -06:00
Kyle Altendorf
381d1317de
hint chia.cmds.init, chia.cmds.init_funcs (#14682)
* hint chia.cmds.init, chia.cmds.init_funcs

* optional for now at least

* we will update mypy.ini later
2023-02-28 03:04:08 -06:00
Kyle Altendorf
4243603b3a
hint chia.cmds.db_upgrade_func (#14680)
* hint chia.cmds.db_upgrade_func

* we will update mypy.ini later
2023-02-28 03:03:47 -06:00
Kyle Altendorf
e0005ce6f9
hint chia.cmds.db (#14679)
* hint chia.cmds.db

* we will update mypy.ini later
2023-02-28 03:03:21 -06:00
Kyle Altendorf
73eb73bd4c
hint chia.cmds.configure (#14678)
* hint chia.cmds.configure

* we will update mypy.ini later
2023-02-28 03:02:53 -06:00
Kyle Altendorf
91a717b5f3
add hinting around get_any_service_client() (#14681) 2023-02-27 23:49:47 -06:00
Jeff
b0241e5b0e
Bump chia-blockchain-gui to 71995c6eb722e8d92008e2d3df38fd71f1231171 (#14689)
Includes:
Tooltips added to buttons in the app header
spendCAT WalletConnect command now shows the CAT name/amount instead of XCH
Wallet transaction list column updates
Removed drop shadow from NFT "Update Pending" text in dark mode
NFT gallery: limit NFT selection to 10 when creating an offer
Fix EPERMS issue on Windows when loading NFTs
Absorb non-critical errors from getRemoteFileSize
support restoreMessages npm script on Windows
Updated localizations
Support editing wallet name from layout header
Expand offered fee section by default for imported offers
Expose suppressShareOnCreate as user visible pref in Notifications
Update window title and show an app status header when using testnet
2023-02-27 17:22:47 -06:00
Adam Kelly
94b60f153f
Improve chia wallet check help and diagnostic messages (#14688) 2023-02-27 16:51:34 -06:00
Adam Kelly
0a6856b498
Fix a DID Wallet issue where an old DID coin causes us to assert during wallet creation (#14668)
* wip

* Change test to reflect current DID Wallet operation

* Typecheck case where we do not know parent yet.
2023-02-27 16:48:10 -06:00
Arvid Norberg
5a5cb2e58e
simplify fee estimator by not leaking MempoolItem into its interface (#14685) 2023-02-27 16:34:11 -06:00
dustinface
6b680cf204
tests: Some refactoring of poll_directory and keyring sync tests (#14616)
* tests: Some refactoring of `poll_directory` and keyring sync tests

* Apply review suggestions

* Apply more review suggestions

* Add missing check for file existance
2023-02-27 15:29:13 -06:00
Amine Khaldi
37fcafa0d3
Separate mempool item's JSON response value from the internal structure (#14476)
* Separate mempool item's JSON response value from the internal structure.

* Call recurse_jsonify() on the members.
2023-02-27 13:17:49 -06:00
Arvid Norberg
e195d268fb
simplify the mempool filter to only pass in the spend_bundle name (#14665)
simplify the mempool filter to only pass in the spend_bundle name. That's the only thing we use
2023-02-27 12:57:32 -06:00