Commit Graph
159 Commits
Author SHA1 Message Date
Yostra 1640de53f7 wallet tests 2021-01-12 17:00:54 -05:00
Mariano SorgenteandYostra 88cf51ad82 Mypy for src 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra c018b26716 Coin store reorgs and mempool tests 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 9fff8e54e9 More node tests 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra 6d8c8be087 Separate out timelord api 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra a501f2adff Factor out waiting for a specific response 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra ab8e36e310 Allow launching service without connecting to daemon 2021-01-12 17:00:52 -05:00
Yostra ed08e25655 flake8 tests 2021-01-12 17:00:52 -05:00
Yostra 11e59b085a fix all 2021-01-12 17:00:52 -05:00
Yostra ba021fcbfa setup nodes 2021-01-12 17:00:52 -05:00
Yostra f9319a1669 full node checkpoint 2021-01-12 17:00:52 -05:00
Yostra afb83e7923 rpcs 2021-01-12 17:00:52 -05:00
Yostra c874bf3ad2 add wallet tests 2021-01-12 17:00:52 -05:00
Yostra 7c079cf143 networking 2021-01-12 17:00:52 -05:00
almogandYostra 44fa74c6d1 refactor finishes_sub_epoch 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra e9d2b1f761 IPS-> slot iters. Faster tests 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra ad2cffd0c4 Add reorg tests and fix reorg bug 2021-01-12 17:00:52 -05:00
Yostra bdb0a3d88f some after rebase cleanup 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra 069535e52e More difficulty fixes and tests 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra 3f064e529c Fix difficulty adjustment bug 2021-01-12 17:00:52 -05:00
Mariano SorgenteandYostra bf012e4eea Fixes to cc VDF and tests 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra a55649847f Switch to signage point based iters 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra d5143625ff Some reorganization, full node stuff, and timelord protoc9ol 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra cf46fb8406 Fix block tools icc issue 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra 230ff44a4c Update timelord protocol 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra 0c506abfd2 500 blocks 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra e463782b6f Difficulty adjustment fix 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra 107a32077f Some vdf fixes 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra 4a14bde38d More genesis tests 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra 6d8e0e0473 More progress on validation 2021-01-12 17:00:51 -05:00
Mariano SorgenteandYostra ec76b746de Start making changes to update tests 2021-01-12 17:00:51 -05:00
Gene HoffmanandYostra b7e9f53e39 Fix MD lint, more missing imports, more black 2021-01-12 17:00:50 -05:00
Mariano SorgenteandYostra c83f2907d9 change some test constants 2021-01-12 17:00:50 -05:00
Richard Kiss 46cce43474 Use service_kwargs_for_wallet. 2020-10-13 14:40:12 -07:00
Richard Kiss 421b8e1987 Some minor bug fixes. Make bt.config return a deep copy. 2020-10-13 13:48:14 -07:00
Richard Kiss f333def7dd Use service_kwargs_for_full_node(_simulator)?. 2020-10-12 17:46:40 -07:00
Richard Kiss 589d7a0621 Use service_kwargs_for_farmer. 2020-10-12 16:05:20 -07:00
Richard Kiss 9c6f00c3d7 Use service_kwargs_for_[timelord|introducer]. 2020-10-12 15:28:17 -07:00
Richard Kiss f5ff886df4 Test service_kwargs_for_harvester. 2020-10-12 11:54:32 -07:00
Richard Kiss 7bbf64fa18 Greatly simplify Service. 2020-10-09 15:56:52 -07:00
fchiricaandGene Hoffman 62dbbf7f81 Try to fix simulation test. 2020-10-01 11:07:12 -07:00
Florin ChiricaandGene Hoffman 5b17e1cf23 Peer gossip. (#414)
* Initial commit.

* mypy

* Fix start service logic.

* Fix AddressManager tests.

* Experimentally increase timeout.

* Attempt to fix test.

* Flake8 typo

* Print traceback for CI build.

* Revert exception catching to gain more logs.

* Add serialization.

* Try to hack simulation test.

* Add debug info. Connect peers more often.

* Try to fix full node gossip.

* Remove introducer protocol from full node.

* Update request_peers test.

* Flake8 the test.

* Add sqlite.

* Address some review comments.

* Try to remove Peers() everywhere but introducer.

* flake8

* More linting.

* Limit other types of inbound connections.

* Initial commit new code.

* AddressManager tests working.

* flake8, mypy, some tests.

* More flake8.

* Tweak gossip protocol.

* Catch more connection failures.

* First attempt wallet gossip.

* Add wallet gossip test.

* Add back global signal handler.

* Resolve some SuperLinter issues.

* Fix some bugs.

* More linting.

* Lint.

* Attempt to improve network connectivity.

* Small fixes.

* Lint.

* Lint.

* Checkpoint address relay.

* Some fixes.

* Fix db path.

* Lint.

* Small fixes.

* Fix bugs.

* flake8, improve speed test simulation.

* py.black

* LGTM, other small fixes.

* Don't self connect.

* py.black

* Punish self connections even more.

* One more attempt to fix self connection.

* Don't connect to the introducer if I have all peers.

* Catch bugs.

* Fix typo.

* Type checking.

* Lint, catch timestamp bug.
2020-10-01 11:07:12 -07:00
Gene HoffmanandGene Hoffman 4107cbebe0 black tests/ 2020-10-01 11:07:12 -07:00
Mariano SorgenteandGene Hoffman 966b5bb989 Reformat using python black 2020-10-01 11:07:12 -07:00
Mariano SorgenteandGene Hoffman 5303db737b Test passing 2020-10-01 11:07:12 -07:00
Mariano SorgenteandGene Hoffman b791bf1da8 Cleaner send_transaction flow and more wallet rpc testing 2020-10-01 11:07:12 -07:00
YostraandGene Hoffman d37a8978ce don't run in tests 2020-09-14 15:38:55 -07:00
Gene Hoffman 57c5e19353 Move to Super Linter 3.9.2 - now lint Black, flake8, mypy (#390)
* Try Super Linter at 3.9.0 and add linters

* 3.9.1 and set validate all to false

* Back to 3.9.1 and use only true VALIDATE_

* Place superlint in debug mode

* Try fix from 3.9.2

* black source. Start fixing flake8 issues

* Black tests, out of debug

* Black setup.py do to merge conflict
2020-09-14 15:38:55 -07:00
700eaad9e0 Ms.1.8bugs3 (#326)
* harvester fixes
* Improve networking stability
* Fix wallet shutdown
* Allow chia keys sign and chia keys verify
* Dislpay the public key also
* Retry loading invalid plots, handle drive disconnection
* Confirm before deleting plots
* Improve error message WIP
* XImproved error message for importing keys
* Uncomment process.kill
* Fix merge error with restore backup
* Fixed markdown
* Switch button order, and fix request_peers
* Consolidate styles
* Set ci's to timeout after 60 minutes has elapsed
* plot directories and memory buffer
* Fix flake8
* Update chiapos, chiavdf, chiabip158, and blspy

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
2020-07-27 16:01:18 -07:00
Richard KissandGene Hoffman 470b0c8c76 Use attributes instead of dictionary keys. 2020-07-27 16:01:18 -07:00