Commit Graph
14659 Commits
Author SHA1 Message Date
Mariano SorgenteandGitHub 11fc35bbca mempool: Change logging to use a larger TX, it was way too small (#9937) 2022-01-24 22:20:33 -05:00
Matt Hauff 2f5d40fe2b Add an RPC to update singletons atomically 2022-01-24 15:42:58 -07:00
Matt Hauff 4b52aaff36 Lint 2022-01-24 14:42:22 -07:00
Matt Hauff bcbeae674d Add a /dl_singletons_by_root RPC method 2022-01-24 10:12:05 -07:00
Matt Hauff e4f6525b94 Add pagination to /dl_history 2022-01-24 09:36:01 -07:00
almog 220cb9dfa0 dont try/catch 2022-01-24 17:17:39 +02:00
almog 4e59fa0423 fix close client 2022-01-24 17:11:01 +02:00
almog 6c1d61e206 fix error response 2022-01-24 16:14:20 +02:00
almog 62b4e25c0a add test case for older root 2022-01-24 15:12:35 +02:00
almog c75b1edbb0 get_keys_values by root hash 2022-01-24 14:53:56 +02:00
almog 471a6264ef format 2022-01-24 14:43:58 +02:00
almog 29bf3dfe1f return store_ids with get_roots 2022-01-24 14:43:34 +02:00
almog c1ae4bf6bd error handling for create store 2022-01-24 14:05:49 +02:00
Mariano SorgenteandGitHub 4708db1b2c Set reserved cores to 0 (#9790)
* Set reserved cores to 0

* Change reserved cores to 0.

* Remove wallet config since it's unused
2022-01-23 21:52:10 -08:00
dustinfaceandGitHub b2235699a7 harvester: Drop plot existance check in lookup_challenge (#9877)
Saves a `Path.exists()` call in each lookup which obviously can be more 
expensive in some setups + this is anyway the job of 
the `PlotManager` and the existance is already implied due to the plot 
being in `PlotManager.plots`.
2022-01-23 21:49:11 -08:00
YostraandGitHub 16bacf918e clear cache on login (#9852) 2022-01-23 21:47:56 -08:00
YostraandGitHub 40fbc28a4a clear cache on login (#9852) 2022-01-23 21:47:26 -08:00
Kyle AltendorfandGitHub 32a500a88e Test installers in Dockers (#9896)
* Avoid issue with Ubuntu 21.10+ setuptools>=06

https://github.com/pypa/setuptools/issues/2956
https://gist.github.com/altendky/b852296ac520b343890c55eabc90c880

```
      File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 290, in set_undefined_options
        setattr(self, dst_option, getattr(src_cmd_obj, src_option))
      File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 103, in __getattr__
        raise AttributeError(attr)
    AttributeError: install_layout
```

* corrections

* test installers in various Linux Dockers

* prep docker images with basic tools

* --no-confirm for pacman

* debug

* debug

* debug

* stop installing git

* Revert "stop installing git"

This reverts commit 4b19f1601d.

* checkout after installing git

* pacman wants --noconfirm

* Revert "debug"

This reverts commit e0a2aed041.

* Revert "debug"

This reverts commit 3833da281a.

* Revert "debug"

This reverts commit 705a3c5d6b.

* add bookworm

* add install.sh -a for pacman --noconfirm automated installs

* fix

* fix

* revert install_layout workaround

* Remove =3.9* from debian python3-venv installation

Already discussed this with @wallentx related to the addition in https://github.com/Chia-Network/chia-blockchain/pull/9633/files#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR85.

* add fedora 33 and 34

* nicer naming

* fedora not fedor

* add ubuntu:bionic

* also chia --help

* add amazon

* Amazon wants sudo

* .

* use git-core ppa for git in bionic

* less sudo

* oops
2022-01-23 21:46:16 -08:00
Arvid NorbergandGitHub 77db90ba6a move member function get_memos() out of SpendBundle and into a free-function living in the wallet code. It does not belong to the full node. Also rename it to indicate that it's expensive (and dangerous) to call (#9907) 2022-01-23 21:45:41 -08:00
Kyle AltendorfandGitHub 5f4e39480e Fix streamable for Python 3.10 (#9918) 2022-01-23 21:44:51 -08:00
Juraj OršulićandGitHub 515ee9b07e Spelling nits in p2_delegated_puzzle_or_hidden_puzzle.py (#9913)
* Spelling nits

* One more

* ++
2022-01-23 21:44:25 -08:00
Kyle AltendorfandGitHub 94e961f410 Merge pull request #9917 from Chia-Network/atari-remove_incorrect_hex 2022-01-23 18:12:24 -05:00
Kyle AltendorfandGitHub 4f331b8fda Remove incorrect .hex() in data layer API 2022-01-23 16:48:37 -05:00
284472e0f5 Simple client/server atari. (#9555)
* Initial commit client/server atari.

* Lint.

* Oops.

* Respect foreign key constrains.

* flake8.

* Checkpoint big data layer.

* Lint.

* Improve get_ancestors.

* Check root hash doesn't change while downloading.

* Disable sanity check.

* Remove hash from JSON.

* Log better.

* Fix get ancestors.

* WIP download history.

* Address some review comments.

* Refactor get_operations.

* Fix bug.

* Add test.

* RECURSIVE query.

* Lint.

* Apply suggestions from code review

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

* Address review comments.

* Remove optimizations for this PR.

* flake8.

* Change to websockets.

* mypy.

* Make everything more configurable.

* Save history.

* Remove debug data.

* Fix function name post rebase.

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-01-23 10:34:49 -08:00
almog 7cb79ce5b1 fix get_ancestors in data_layer.py 2022-01-23 12:51:22 +02:00
Kyle AltendorfandGitHub 34bb88a5ce Merge pull request #9815 from Chia-Network/atari_get_roots 2022-01-22 15:52:47 -05:00
Kyle AltendorfandGitHub c1a8dac07c Set default wallet: dns_servers in code (#9880) 2022-01-21 18:53:48 -08:00
Kyle Altendorf 94b3c5ad47 cleanup 2022-01-21 21:41:50 -05:00
Kyle Altendorf 863458f615 cleanup 2022-01-21 21:17:15 -05:00
Kyle Altendorf dcb1c1569b correct /get_roots endpoint to self.get_roots 2022-01-21 20:47:03 -05:00
Kyle AltendorfandGitHub ee9c7968a8 Pick TX type even when added coin has been spent (#9840) 2022-01-21 09:54:01 -08:00
William Blanke 7e54fb6025 updated gui to 46e58ef88197b7a2767dc4de4b7974c6fb4c5164 2022-01-21 09:51:18 -08:00
almog ebaa0d2ed7 comment out get_ancestors 2022-01-21 19:39:14 +02:00
almog df5107aff0 names
cli funcs fixes
2022-01-21 14:54:12 +02:00
almog 4a7da04fd6 fix get roots test
lint
2022-01-21 14:37:56 +02:00
almog 7379a2f0ac fix get roots test
lint
2022-01-21 14:35:41 +02:00
almog 2e09c5b98b bring back tests 2022-01-21 14:27:31 +02:00
Kyle AltendorfandGitHub ed012e5337 fixup tests.core.data_layer.test_data_rpc.test_create_insert_get() (#9895) 2022-01-21 13:25:33 +02:00
Mariano SorgenteandGitHub f0a6189f2d Move BLS validation to other processes during sync (#9746)
* Try putting BLS in multiprocess

* Fix test

* Fix test again

* Fix test again ^ 2

* Don't use cache unless necessary, cleanup of unused code.

* WIP fixing tests

* Blockchain tests passing

* Remaining tests and lint

* More test fixes

* Fix full_node_rpc test

* Fix remaining tests

* Correct boolean

* Don't validate sig if CLVM fails. Also testing signature validation properly

* Simplify block prevalidation API and improve tests

* Fix logic error and remaining tests

* Update comments and change to AssertionError

* Try to improve CI performance

* Fix mempool test, try to fix test_blockchain performance

* Set default argument to fix test

* Fix DB conversion test

* Use cache for validating signatures (#9859)

* Use cache for validating signatures

* comments: fix typo

* Don't rerun the super slow part of the test (#9887)
2022-01-20 14:50:41 -08:00
2e3c054c3a Add remaining offer code to main (#9886)
* Add remaining offer code to main

* Fix compression test

Co-authored-by: Jeff <paninaro@gmail.com>
2022-01-20 14:49:31 -08:00
Chris MarslenderandGitHub bb6e0cb0ac Build a new version of the main tagged docker image on merge to main (#9888) 2022-01-20 14:12:58 -06:00
almog b3bdc6768b lint 2022-01-20 21:30:27 +02:00
almog a866fa62ec use bt in dl rpc tests 2022-01-20 21:18:35 +02:00
almog 2914bcdd97 lint 2022-01-20 19:47:13 +02:00
almog 57cc29ea73 init wallet rpc in data service test 2022-01-20 18:11:17 +02:00
dustinfaceandGitHub 2c4f4d78b3 plotting: Drop plot_removed and just check if the path is still there (#9879)
This saves a `Path.exists()` call for all plots for each refresh 
interval.
2022-01-20 07:48:01 -08:00
Kyle AltendorfandGitHub 59f8feff59 Restore chia wallet add_token CLI (#9867) 2022-01-20 07:47:23 -08:00
Jack NelsonandGitHub 467478ef75 add limit to creation of plotNFT's from the CLI (#9857)
* add limit to creation.

limit is 20 and can be overridden with --override_limit

* Fix english lint

* Update plotnft_funcs.py

* Update plotnft_funcs.py
2022-01-20 09:21:16 -05:00
almog f2fe296ace init wallet rpc in data service 2022-01-20 15:15:59 +02:00
almog cebcb6a4ca use wallet rpc inside data_layer 2022-01-20 15:08:36 +02:00