Commit graph

10022 commits

Author SHA1 Message Date
William Allen
ba1ff12b31
update changelog (#14147)
* Update changelog

* Changelog updates

* Minor update

* Add release date for 1.6.2

* Revert "Changelog updates"

This reverts commit 333e55f84a.

* undo historical changes

* Adding 1.6.2 change edits

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-01-03 13:32:22 -06:00
Kyle Altendorf
85982974b3
Force coverage==7.0.1 (#14255) (#14262)
Lots of failures in coverage processing.

https://github.com/Chia-Network/chia-blockchain/actions/runs/3825220672/jobs/6508036405#step:16:558
```python-traceback
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pluggy/_callers.py", line 55, in _multicall
INTERNALERROR>     gen.send(outcome)
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pytest_cov/plugin.py", line 297, in pytest_runtestloop
INTERNALERROR>     self.cov_controller.finish()
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pytest_cov/engine.py", line 44, in ensure_topdir_wrapper
INTERNALERROR>     return meth(self, *args, **kwargs)
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/pytest_cov/engine.py", line 338, in finish
INTERNALERROR>     self.cov.stop()
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/control.py", line 797, in combine
INTERNALERROR>     message=self._message,
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/data.py", line 158, in combine_parallel_data
INTERNALERROR>     new_data.read()
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/sqldata.py", line 815, in read
INTERNALERROR>     with self._connect():
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/sqldata.py", line 342, in _connect
INTERNALERROR>     self._open_db()
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/sqldata.py", line 285, in _open_db
INTERNALERROR>     self._read_db()
INTERNALERROR>   File "/home/runner/work/chia-blockchain/chia-blockchain/venv/lib/python3.7/site-packages/coverage/sqldata.py", line 302, in _read_db
INTERNALERROR>     assert row is not None
INTERNALERROR> AssertionError
```

(cherry picked from commit 5fe05bd3a9)
2023-01-03 12:24:49 -06:00
Earle Lowe
30b9173eb2
Remove wallet coins list/split/combine options (#14132) 2022-12-13 18:47:07 -06:00
Earle Lowe
69501ae22a
Fees should always be in XCH mojos units (#14127)
Fees are always XCH mojos
2022-12-13 17:02:18 -06:00
Earle Lowe
29590b86a5
Cleanup cli options for chia wallet coins {list,split,combine} (#14102)
* Cleanup options

* Various fixes

* List instead of Tuple
2022-12-12 09:49:37 -06:00
Jeff
b0fc142878
Bump chia-blockchain-gui to 46d871c5aad2aca0df081ef94c7a4b474dce84bc (#14103)
Includes:
Wording changes for the allowConfirmationFingerprintChange setting
Better handling for WalletConnect errors
2022-12-09 20:27:32 -06:00
Earle Lowe
81965c6dd5
fix for short option collision (#14100)
* fix for short option collision

* Use coins_to_exclude as variable name

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

* match click with parameter

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-12-09 19:22:57 -06:00
Kyle Altendorf
618f93b4c4
handle incoming unknown capabilities (#14093)
* handle incoming unknown capabilities

* move it around

* chia.server.capabilities

* Update tests/util/test_network_protocol_files.py
2022-12-09 18:37:18 -06:00
Chris Marslender
0eed79bad4
Ensure bladebit is always included when installers are built for mac (#14092) 2022-12-08 23:42:36 -06:00
Kyle Altendorf
9d423d1516
revert delayed pool config handling (#12795, #13154) (#14090)
* Revert "We did not await the async function (#13154)"

This reverts commit 805e18fe0e.

* Revert "add delayed pool config update feature (#12796)"

This reverts commit 99be9be871.
2022-12-08 22:11:55 -06:00
Jeff
397d703570
Bump chia-blockchain-gui to restore add token functionality and fix NFTDetails exception (#14086) 2022-12-08 15:26:35 -06:00
Kyle Altendorf
21cd8305f5
Make --number-of-coins required for the chia coins split CLI (#14072) 2022-12-07 20:45:38 -06:00
Jack Nelson
998ef392d9
fix coin selection cli decimal handling & splitting issue (#13908)
* we want to only use new addrs

* change to decimals on coin list output

* Revert "we want to only use new addrs"

This reverts commit 1d7a8f965f.

* resolve duplicate ph's by checking for them when adding them to spend bundle.

* isort

* Update chia/cmds/wallet_funcs.py

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

* clear up code

* Update chia/cmds/coin_funcs.py

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

* remove second loop

* remove unique addresses

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-12-07 20:06:21 -06:00
Kyle Altendorf
b8f6396078
fixup test_did.test_get_info() and .test_update_metadata() (#14061) (#14075) 2022-12-07 18:05:42 -06:00
Kyle Altendorf
15e657723a
also upload the -cli .deb and .rpm packages to GitHub releases (#14049) 2022-12-06 16:20:57 -06:00
Jeff
18b2f27813
Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050)
Bump chia-blockchain-gui to 83bbca6ff2c425792eb738279ab3876a00322474
2022-12-05 11:44:43 -06:00
Arvid Norberg
306b318bcd
bump chia_rs version to 0.1.16 (#14013)
* bump chia_rs to 0.1.16

* bump performance test for test_duplicate_coin_announces
2022-12-03 21:15:20 -06:00
Kyle Altendorf
bcd64f949b
Check wheel availability on macOS 10.14 (#14031)
* Check wheel availability on macOS 10.14

* update pip etc (in an env)

* force-pyenv: true

* Update check_wheel_availability.yaml

* Update check_wheel_availability.yaml

* Update check_wheel_availability.yaml
2022-12-03 21:15:01 -06:00
Matt Hauff
b39ec76d9f
Stop creating unecessary index in notification store (#14042)
* Stop creating unecessary index in notification store

* add comment
2022-12-02 12:46:25 -06:00
Jeff
3ee128cf47
Bump chia-blockchain-gui to 2a605eb5e04b2a2b72941c4a244e04d563513a77 (#14043)
Includes:
Display NFT coin ID and current owner address in NFT details
NFT setting to toggle between cover/contain image display modes
Added a version mismatch warning when backend/frontend versions are out of sync
Fixed decimal place bug when setting a custom fee in the fee estimator
BladeBit 2 updates for RAM plotting
User-facing prefs are now stored in $CHIA_ROOT/gui/Chia Blockchain/prefs.yaml
Offer builder now shows totals with royalties when requesting an NFT
Bumped electron to 20.3.5
Memo can be set when sending an XCH transaction
Fixed NFT inbox detection, addressing https://github.com/Chia-Network/chia-blockchain-gui/issues/1168
Removed SkyNFT references
Fee estimator integrations
Removed references to defunct backup service
2022-12-01 17:54:39 -06:00
Kronus91
1a6967a9ba
Add bulk set NFT DID API (#13720) 2022-12-01 13:29:52 -06:00
Amine Khaldi
db5efe18c8
Skip only the item that doesn't satisfy the inclusion filter (#13992) 2022-12-01 11:02:22 -06:00
Kyle Altendorf
a5fa4c2afe
hint rpc_api for RpcServer.create() (#14037) 2022-12-01 00:20:05 -06:00
Kyle Altendorf
02b17f5e19
Remove outdated and unused in_transaction parameter (#14034) 2022-11-30 12:25:39 -06:00
Izumi Hoshino
b37f2009bd
Made it able to RAM plot with bladebit2 (#13833) 2022-11-30 12:09:30 -06:00
Kyle Altendorf
f9f7448171
fix hints after crossed PRs (#14029) 2022-11-29 22:52:29 -06:00
Sebastjan Trepca
8bd216bcb7
Improve performance of wallets with many NFTs (#14023) 2022-11-29 14:35:25 -06:00
Kronus91
76ebb08ac8
Fix DID unnecessary wallet deletion (#13925) 2022-11-29 14:22:59 -06:00
dustinface
bd36e0d308
server: Use closed property instead of the private member (#14022) 2022-11-29 12:18:33 -06:00
Amine Khaldi
0cfd19f38d
Simplify the mempool manager instantiation by not making it depend on a coin store (#14015)
* Explore simplifying the mempool manager instantiation.

* Address reviews.
2022-11-29 12:18:09 -06:00
dustinface
898543b874
server: Enable and fix mypy for all chia.server files (#13990)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-11-28 18:00:45 -06:00
dustinface
23ac4f7c80
server: Drop unused WSChiaConnection.is_feeler (#14011) 2022-11-28 13:57:01 -06:00
Kronus91
13cd8a2ef2
Remove duplicate nft wallet deletion in reorg (#13892)
* Remove duplicate nft wallet deltion in reorg

* Fix unit test

* Fix get latest coin bug

* Add unit test
2022-11-26 20:22:16 -06:00
dustinface
f100101940
server: Some cleanup/refactoring in node_discovery.py (#14000)
* Drop unused parameter in `FullNodePeers`

* Adjust protocol message imports

* Use `PeerInfo` instead `Tuple[str, int]` as dict key

* Create the empty set earlier

* Refactor known peers cleanup
2022-11-25 00:39:06 -06:00
dustinface
bea4928741
flake8: Fix issues after update (#13997) 2022-11-24 13:32:04 -06:00
dustinface
6edb2ce01e
isort: Remove all chia.server exceptions and sort the related files (#13994) 2022-11-23 13:01:29 -06:00
dustinface
57a90bf24c
server: Compare PeerInfo in address_manager.py (#13991)
* server: Compare `PeerInfo` in `address_manager.py`

* Pass correct type to `AddressManager.attempt` in `test_cleanup`
2022-11-23 13:01:07 -06:00
dustinface
122a747727
tests: Fix BlockTools import (#13987)
The file was added in #13936 which was merged before #13932 which 
enabled `mypy` in `setup_services` leading to the pre-commit failure.
2022-11-22 22:52:47 -06:00
Justin England
a535c8f83a
adding SECURITY.md (#13985) 2022-11-22 21:06:28 -07:00
Matt Hauff
30bf79b963
Fix pool singleton sync height in DB (#13986) 2022-11-22 19:40:14 -06:00
Almog De Paz
efb670cf1b
Setup services mypy (#13932) 2022-11-22 17:01:01 -06:00
Justin England
793af31281
removing duped text 2022-11-22 15:53:40 -07:00
Justin England
971ac1ecaf
fixing end of line 2022-11-22 15:52:53 -07:00
Justin England
d36b20e7d3
Merge branch 'security-md' of github.com:Chia-Network/chia-blockchain into security-md 2022-11-22 15:50:56 -07:00
Justin England
93bab51ce2
trying to pass lint 2022-11-22 15:49:01 -07:00
Justin England
31b1b43056
fixing ending 2022-11-22 15:40:58 -07:00
Justin England
4d8c9c8f36
removing trailing whitespace 2022-11-22 15:29:37 -07:00
Justin England
25439d178b
changing bug submission location to bugcrowd 2022-11-22 15:29:37 -07:00
Justin England
9566c9af4e
adding SECURITY.md 2022-11-22 15:29:37 -07:00
Justin England
16a2a241dd
removing trailing whitespace 2022-11-22 15:19:33 -07:00