Commit Graph
14659 Commits
Author SHA1 Message Date
JeffandGitHub 51dffd8501 Preserve existing pool payout_instructions when creating a PoolWallet (#10507)
* Preserve existing pool payout_instructions when creating a PoolWallet

* Updated the logged string when payout_instructions needs to be generated.

* Tests for update_pool_config

* isort

* Logging change, linter fixes, and more comments.
2022-03-02 10:25:13 -08:00
Mariano SorgenteandGitHub 9bf80b49e7 Only rewrite config when there is a difference (#10522)
* Only rewrite config when there is a difference

* Use variable
2022-03-02 09:43:11 -08:00
matt ebf606a16e add assertions and fine tune sleep 2022-03-02 17:13:57 +00:00
matt 81c3483edd remove unused file 2022-03-02 16:23:12 +00:00
matt 329b9d7e9f add delay to fix inconsistent tests 2022-03-02 16:18:06 +00:00
Matt HauffandGitHub 91c6ead409 Fix fund calculation 2022-03-02 09:14:50 -07:00
Matt HauffandGitHub 8f1f3ce3a1 Fix a broken test 2022-03-02 08:41:37 -07:00
Kyle Altendorf d93f567c58 rebuild workflows 2022-03-01 18:03:58 -05:00
Kyle Altendorf af163a1c5b Merge commit '87aeadc34310eb86aa0bd56f4eb00f84cc9563b2' into atari-merge_main_87aeadc34310eb86aa0bd56f4eb00f84cc9563b2 2022-03-01 17:59:11 -05:00
Kyle AltendorfandGitHub faf5d51dd0 Merge pull request #10508 from Chia-Network/atari-merge_main_ca84fa9f8d332687534399fc824d6017effaed2e 2022-03-01 17:48:58 -05:00
William Blanke da5962cf2e updated gui to 672cf2a74ade67a868df232772bd6358bce8dedf 2022-03-01 14:14:29 -08:00
Kyle Altendorf 9b4f9537e7 Use self.wallet_state_manager.wallet_node.get_coin_state() (add .wallet_node) 2022-03-01 16:14:04 -05:00
Kyle Altendorf 8e3e3431bf remove unused DataLayerWallet import 2022-03-01 15:44:02 -05:00
William Blanke 13253def74 reverted to gui 800a0f6556b89e928b1cf027c996b5ed010a7799 2022-03-01 12:29:06 -08:00
Kyle Altendorf 95c5213fbb Merge commit 'ca84fa9f8d332687534399fc824d6017effaed2e' into atari-merge_main_ca84fa9f8d332687534399fc824d6017effaed2e 2022-03-01 15:27:25 -05:00
Kyle AltendorfandGitHub db9b637e2c Merge pull request #10496 from Chia-Network/atari-merge_main_fa2cdd6492bcffbe61f50fde8b5e1d4fd2ac5a16 2022-03-01 15:05:56 -05:00
William Blanke 4681a57f48 updated gui to e2202874e1cb922a57370a47b2aec7bcf152b57d 2022-03-01 10:52:42 -08:00
Mariano SorgenteandGitHub 90ebd287ab Fix method name (#10500) 2022-03-01 10:49:41 -08:00
dustinfaceandGitHub 695d9f7ef0 farmer: Cleanup request retry and some logs (#10484)
* farmer: Bump next update times regardless of the request results

* farmer: Drop additional "success/failure" log logic

We already print the PUT response in `_pool_put_farmer` the other parts 
just lead to confusion if the pool didn't implement the PUT correct.

* farmer: Print error responses from the pool with `WARNING` log level
2022-03-01 13:11:21 -05:00
Matt HauffandGitHub 941a91b36b Return the fees of an offer via RPC (#10480) 2022-03-01 11:39:00 -05:00
Kyle Altendorf 504359fa6e use compute_memos() not .get_memos() 2022-03-01 10:51:01 -05:00
Kyle Altendorf 1abd88f5d5 rebuild workflows 2022-03-01 10:38:36 -05:00
Kyle Altendorf a50b113bc7 Merge commit 'fa2cdd6492bcffbe61f50fde8b5e1d4fd2ac5a16' into atari-merge_main_fa2cdd6492bcffbe61f50fde8b5e1d4fd2ac5a16 2022-03-01 10:25:32 -05:00
Kyle AltendorfandGitHub b819d48a03 Merge pull request #10202 from Chia-Network/atari-update_mypy_strict_list 2022-03-01 10:09:44 -05:00
matt 355016def2 round down to even on royalties 2022-03-01 15:05:32 +00:00
JeffandGitHub 098cbf8b73 Update the DMG background image (#10289)
* Update the DMG background image

* Updated with latest design.

* Updated background.tiff with latest design

* Fancier DMG customization support via build_dmg.js

* npm_macos -> npm_macos_m1

* Pass in the app path to build_dmg.js

* Peppering with __init__.py files to satisfy the precommit hook
2022-02-28 15:21:53 -08:00
Chris MarslenderandGitHub be2d8267aa Don't load initial data older than 5 days (#10481)
* When loading initial data, don't include IPs older than 5 days in the best timestamp dict

* Don't load version data for hosts older than 5 days
2022-02-28 15:21:31 -08:00
Kyle AltendorfandGitHub 5fac28e0f2 Merge pull request #10436 from Chia-Network/atari_singleton_puzzle_runs 2022-02-28 14:15:08 -05:00
matt 901b297fbe much progress on CAT royalties 2022-02-28 18:42:39 +00:00
7fb26a7a14 Ms.unused code (#10453)
* Remove old backup stuff

* Remove references to CC (couloured coins) which is deprecated terminology

* removed no longer used import

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-02-27 23:34:37 -05:00
Kyle Altendorf cbf90df802 Merge branch 'atari' into atari-update_mypy_strict_list 2022-02-27 16:37:46 -05:00
David BarrattandGitHub 0ba1347e6d Fix the year from 2021 to 2022 (#10462) 2022-02-27 10:08:38 -08:00
Mariano SorgenteandGitHub e8475fb194 GC connections in wallet (#10450) 2022-02-26 18:31:10 -05:00
d245790a17 Only update height if we have processed everything before that height. (#10415)
* Only update height if we have processed everything before that height.

* Remove debug return

* Forgot this file

* Better sorting of coin states, and disconnect peer if we are connected to trusted

* Fix disconnect, and don't mutate arguments

* Fix comment

* Update chia/wallet/wallet_node.py

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

* Update chia/wallet/wallet_state_manager.py

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

* Address comments

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-02-26 15:02:51 -05:00
Mariano SorgenteandGitHub d47119a773 Fix balance calculation so it works with future unconfirmed tx (#10447) 2022-02-26 14:55:19 -05:00
Matt Hauff c39e42cc75 Whoops 2022-02-25 11:18:53 -07:00
Matt HauffandGitHub 6fe0be524b Stop running singleton puzzle in python 2022-02-25 11:02:20 -07:00
Arvid NorbergandGitHub bf4a632e6b simplify self_hostname. It doesn't need to depend on initial-config.yaml -> create_block_tools() -> global variable bt (#10371) 2022-02-25 08:09:46 -08:00
ChiaMineJPandGitHub ae61ed75a3 Stop assuming True == 1 (#10396)
* Stop assuming `True == 1`

* Removed unnecessary lines which confuses code readers
2022-02-25 08:08:50 -08:00
dustinfaceandGitHub fdb993cb10 streamable: Cache stream functions (#10419)
Apply the same pattern as we have for deserialization to serialization.

This avoids all those recursive runtime lookups for "how to stream this
object" which brings a nice speedup:

```
compare: benchmark
mode         | µs/iteration old | µs/iteration new | diff %
to_bytes     | 447.57           | 193.56           | -56.75

compare: full_block
mode         | µs/iteration old | µs/iteration new | diff %
to_bytes     | 110.32           | 61.09            | -44.62
```
2022-02-25 08:07:24 -08:00
Arvid NorbergandGitHub 874cc23c71 add db validate function to check consistency of blockchain database (#10398) 2022-02-25 08:00:16 -08:00
Kyle AltendorfandGitHub 43138bccf0 move build and twine to be dev deps rather than workflow installs (#10291) 2022-02-24 20:58:28 -08:00
Arvid NorbergandGitHub 7f3b61ddb4 slight simplification of interpreting the bytes received by the timelord. avoid redundant round-trips to strings (#10316) 2022-02-24 20:58:06 -08:00
Mariano SorgenteandGitHub b349c817fd Log the correct error (#10399) 2022-02-24 20:57:28 -08:00
xchdata.ioandGitHub a98d02d943 Fix pool puzzle comment typo (#10402) 2022-02-24 20:56:47 -08:00
Gene HoffmanandGitHub 0772f45c13 Only show -Trusted when a node is trusted (#10404) 2022-02-24 20:56:23 -08:00
Matt HauffandGitHub 0cf7dafbc1 Check that offer coins exist as well as not spent (#10409)
* Check that offer coins exist as well as not spent

* It shouldn't be an assertion

* Remove assert
2022-02-24 20:56:00 -08:00
Kyle AltendorfandGitHub 89740234e7 spawn (not fork) for multiprocessing (#10322)
* spawn (not fork) for multiprocessing

* just append _worker to existing process names

* return properly in getproctitle()

* black

* ignore for unhinted getproctitle()

* Add comments about the setting of the multiprocessing start method
2022-02-24 20:08:06 -08:00
Kyle AltendorfandGitHub 6e4c525119 Merge pull request #10228 from Chia-Network/fc.dl_optimizations 2022-02-24 16:48:12 -05:00
Florin Chirica bbe2f79400 Benchmark tmp file change. 2022-02-24 20:47:34 +02:00