Commit Graph

1071 Commits

Author SHA1 Message Date
Mariano Sorgente 58b52a9091
Ms.multiprocessing2 (#665)
* Ms.bug fixes (#615)

* on_disconnect callback called if present, for services (full_node, farmer, etc) when a connection is closed
* connections added or removed are reflected in UI
* No migration of wallet full node peer
* More blockchain_transaction tests re-enabled
* Blockchain tests uncommented
* get_block_peak fixed in blockchain.py
* Reduce some logging in tests, and asynciosqlite logs suppressed for the DEBUG level

* Assert fee test

* Re-enable tx tests

* Don't log errors on task cancel

* More full node tests

* Add test and fix edge case for first sub slot

* More tests

* Multiprocessing for block validation

* Fix issue where sub slot is not present

* More bug fixes / tests

* continue

* test for multiprocessing

* Implement sync

* Change cpu count

* Fix lint

* Tweaks

* fix teardownn issue

* Fix issue where sub slot is not present

* Another bug fix and more logging

* Fix test

* Try to fix the other test

* Same store fix as in dev

* Fix import for tests

* Fix tests

* Fix test

* Increase test timeout

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2021-01-13 13:44:33 -08:00
Mariano Sorgente fcc4d119b8 Fix double spend issue in reorgs 2021-01-13 14:57:51 -05:00
Florin Chirica daf1c9db39 Typo. 2021-01-13 09:36:30 -08:00
Florin Chirica 2b39ca2854 Try to fix test_request_peers. 2021-01-13 09:36:30 -08:00
fchirica d1db708609 Fix addrman tests. 2021-01-13 09:36:30 -08:00
Yostra 1b60270766 line break 2021-01-12 17:02:23 -05:00
Yostra ecdde33e64 line break 2021-01-12 17:02:23 -05:00
Yostra aa5f886e81 comment tests 2021-01-12 17:02:23 -05:00
Mariano Sorgente 8898581e0a Remove db after test 2021-01-12 17:02:22 -05:00
Yostra cbf62d9af7 name 2021-01-12 17:02:22 -05:00
Yostra 7cf0ed0ac6 black 2021-01-12 17:02:22 -05:00
Yostra e4cc0caf5c mypy weight proof 2021-01-12 17:02:22 -05:00
Yostra cbd786aea8 flake mypy 2021-01-12 17:02:22 -05:00
Yostra 7af3443d56 pool / farm reward categorization + db change 2021-01-12 17:02:22 -05:00
Yostra 1cb4ca2b9f test tx count 2021-01-12 17:02:22 -05:00
Yostra f26aedfee2 tx count 2021-01-12 17:02:22 -05:00
Yostra 9b8421504a tx reorg 2021-01-12 17:02:22 -05:00
Yostra 0572cccb43 split tests 2021-01-12 17:02:22 -05:00
Yostra 67a85ea289 more reorg 2021-01-12 17:02:22 -05:00
Yostra 46e1caf126 reorg 2021-01-12 17:02:22 -05:00
Yostra 308d62df1a long sync 2021-01-12 17:02:22 -05:00
Yostra 406f571b7d test backup 2021-01-12 17:02:22 -05:00
almog 6f2e48b355 up test time 2021-01-12 17:02:22 -05:00
almog 8e41ea856d fix comment 2021-01-12 17:02:22 -05:00
almog 23b003be12 fix segment validation bugs 2021-01-12 17:02:22 -05:00
Yostra fd2c3c2671 test trades 2021-01-12 17:02:22 -05:00
Yostra d169c48d64 cc tests 2021-01-12 17:02:22 -05:00
Yostra 4c18ceb911 colour creation 2021-01-12 17:02:22 -05:00
Mariano Sorgente 30aa656a84 Ms.bug fixes (#615)
* on_disconnect callback called if present, for services (full_node, farmer, etc) when a connection is closed
* connections added or removed are reflected in UI
* No migration of wallet full node peer
* More blockchain_transaction tests re-enabled
* Blockchain tests uncommented
* get_block_peak fixed in blockchain.py
* Reduce some logging in tests, and asynciosqlite logs suppressed for the DEBUG level
2021-01-12 17:02:22 -05:00
Yostra a4dd0799b9 ssl rpcs 2021-01-12 17:02:21 -05:00
Yostra fbe18c44b9 missing arg 2021-01-12 17:02:21 -05:00
Yostra 618f9b4fce sub h: 2021-01-12 17:02:21 -05:00
Yostra 356ab3fb6f flake ixtures 2021-01-12 17:02:21 -05:00
Yostra 78bce1b14f import 2021-01-12 17:02:21 -05:00
Yostra ee6c5caf10 imports 2021-01-12 17:02:21 -05:00
Yostra 65471da4e5 fetch puzzle / solution 2021-01-12 17:02:21 -05:00
Yostra 48c5cea2f4 wallet sync 2021-01-12 17:02:21 -05:00
Almog De Paz be2eadfabd extend weight proofs (#596)
* pospace validation + sub_epoch hash validation
* uncomment block positioning validation
* extend proof if possible
* validate summaries weight
* create proof on new peak
2021-01-12 17:02:21 -05:00
Yostra 12bf9e464c addr mgr 2021-01-12 17:02:21 -05:00
Yostra 5fd4d71388 tests 2021-01-12 17:02:21 -05:00
Yostra 72355be2ce full n rpc 2021-01-12 17:02:21 -05:00
Florin Chirica 2e47ae6a31 Lint. 2021-01-12 17:02:21 -05:00
Florin Chirica eb533ac1f0 Check timestamp in test. 2021-01-12 17:02:21 -05:00
fchirica 59db34b1ea Initial commit. 2021-01-12 17:02:21 -05:00
Gene Hoffman b2b96a9363 Update package-lock, flake8 2021-01-12 17:02:21 -05:00
Yostra 9ff7c08844 get blocks 2021-01-12 17:00:55 -05:00
Yostra 26656b5bcc test sync store 2021-01-12 17:00:54 -05:00
Yostra 2111dd02c8 more time? 2021-01-12 17:00:54 -05:00
Yostra bff9094fb0 sub 2021-01-12 17:00:54 -05:00
Yostra 7f686e55f1 sync 2021-01-12 17:00:54 -05:00
Yostra 563f6aa06e increase timeout 2021-01-12 17:00:54 -05:00
Almog De Paz 830dc6d80c weight proofs fixes (#583)
* handle peaks of short chain

* cache last weight proof, handle block cache misses

* iterate on sub_epochs

* Clean up timelord log lines

* chiavdf to 0.13.1b2

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2021-01-12 17:00:54 -05:00
almog 58d32a8fb4 correct wp sync flow, refactor 2021-01-12 17:00:54 -05:00
Gene Hoffman 6d00c6021f Download test blocks and separate macos test from macos installer build (#578)
* Cache test plots

* Switch to cacheing blocks

* expand user path

* Update changelog, black

* $HOME

* Split MacOS into test and installer - test cache

* Download the block cache from kb pages/download.chia.net

* create dir first

* re-enable all the tests

* black

Co-authored-by: Yostra <straya@chia.net>
2021-01-12 17:00:54 -05:00
almog 8573526280 error handling 2021-01-12 17:00:54 -05:00
Yostra 0e7c04af4d chach path 2021-01-12 17:00:54 -05:00
almog 493530eb73 fix harvester test missing value, nobitfield = False 2021-01-12 17:00:54 -05:00
almog d8ef8e140e clean lint errors 2021-01-12 17:00:54 -05:00
almog 25a4733d12 error handling, logs, test error handling 2021-01-12 17:00:54 -05:00
almog 580ce58862 update test_weight_proof.py 2021-01-12 17:00:54 -05:00
Yostra c8c306d885 formatign 2021-01-12 17:00:54 -05:00
Yostra 7eec726ae4 format 2021-01-12 17:00:54 -05:00
Yostra bb8b3ea0e2 typo 2021-01-12 17:00:54 -05:00
Yostra 7e0cdf2b94 cost test 2021-01-12 17:00:54 -05:00
matt 043a5b6cd3 newline import for black 2021-01-12 17:00:54 -05:00
matt d53409c3ee fixes for black 2021-01-12 17:00:54 -05:00
matt eb6c2f3bca multiline for lint 2021-01-12 17:00:54 -05:00
matt d77338bff7 added test for strict mode 2021-01-12 17:00:54 -05:00
matt b2e1a6ba66 added single coin puzzle and test 2021-01-12 17:00:54 -05:00
matt f50c615a8f add safe mode boolean
no longer convert results to python
2021-01-12 17:00:54 -05:00
Florin Chirica 0e3684c3d4 Decrease timeout in test simulation. 2021-01-12 17:00:54 -05:00
Yostra 2a2c621bb0 form 2021-01-12 17:00:54 -05:00
Yostra 1640de53f7 wallet tests 2021-01-12 17:00:54 -05:00
Bill Blanke 9e5afe7163 moved tests 2021-01-12 17:00:54 -05:00
Richard Kiss 8f3eb801bc Fix-up post MS-new-consensus merge. 2021-01-12 17:00:54 -05:00
almog 22cadd1b48 weight proofs, sync integration, refactor, tests 2021-01-12 17:00:54 -05:00
almog 92d5ca2b06 revert pytest.ini 2021-01-12 17:00:54 -05:00
almog 36291004e8 refactor, weight proof get_fork_point, add test for forkpoint 2021-01-12 17:00:54 -05:00
Florin Chirica 68503ee399 Temporarily try a bigger timeout. 2021-01-12 17:00:54 -05:00
Mariano Sorgente 077b506088 Back to WARNING level for tests 2021-01-12 17:00:54 -05:00
Mariano Sorgente aa8bde5742 Fix blockchain tests 2021-01-12 17:00:54 -05:00
almog 9ebf2d43dc fix wallet test 2021-01-12 17:00:54 -05:00
almog 7c41a56bf1 dont use += if not int 2021-01-12 17:00:54 -05:00
almog dee23231b9 linting 2021-01-12 17:00:54 -05:00
almog 09764f7f09 fix block loading test 2021-01-12 17:00:54 -05:00
Mariano Sorgente 440fe8b78f Update Pospace quality formula, chech32m, min/max plot sizes, tests 2021-01-12 17:00:54 -05:00
Mariano Sorgente 02eca259a0 Update chia show and netspace 2021-01-12 17:00:54 -05:00
Yostra 290f5235e4 flake black mypy 2021-01-12 17:00:54 -05:00
Yostra e3284a4706 reorg 2021-01-12 17:00:54 -05:00
Yostra d27315511f zombie, rpc 2021-01-12 17:00:54 -05:00
Yostra aafa9f0698 transaction 2021-01-12 17:00:54 -05:00
Yostra ebc09b4067 remove freeze 2021-01-12 17:00:54 -05:00
Yostra 16004ae650 correct reward 2021-01-12 17:00:53 -05:00
Mariano Sorgente e9d6adce8b flake8 2021-01-12 17:00:53 -05:00
Mariano Sorgente faff98cc0c Update Chiavdf 2021-01-12 17:00:53 -05:00
Mariano Sorgente fa3511b953 Full node RPCsa 2021-01-12 17:00:53 -05:00
Mariano Sorgente b7c131448b Consensus fix, full node store fixes, change sync, more linting 2021-01-12 17:00:53 -05:00
Mariano Sorgente 07b415fc19 Farmer RPC 2021-01-12 17:00:53 -05:00
Mariano Sorgente 542b08260b Python black everything 2021-01-12 17:00:53 -05:00
Mariano Sorgente 3a76a69f1a mypy tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 1e716b5e56 Flake8 tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 1c881b55d4 Fix weight issue, and restart timelord if necessary 2021-01-12 17:00:53 -05:00
Mariano Sorgente b44a27fe5d Comment out pos test 2021-01-12 17:00:53 -05:00
Mariano Sorgente 65d722f129 Fix CI first try 2021-01-12 17:00:53 -05:00
Mariano Sorgente beaf140394 Weight proof test pass 2021-01-12 17:00:53 -05:00
Mariano Sorgente b4bf2b1715 Fix timelord issue 2021-01-12 17:00:53 -05:00
Mariano Sorgente 88cf51ad82 Mypy for src 2021-01-12 17:00:53 -05:00
almog 036bb31af2 more weight proof testing 2021-01-12 17:00:53 -05:00
Mariano Sorgente 4b1d3b42a0 Apply black formatting with line length 120 (not applied to wallet) 2021-01-12 17:00:53 -05:00
Mariano Sorgente 231bfea165 Update timelord 2021-01-12 17:00:53 -05:00
Mariano Sorgente ea3ae083a2 Comment out tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 6670f53cb2 Fix bug in converting to sub block record 2021-01-12 17:00:53 -05:00
Mariano Sorgente ba448a7a23 Comment out pot iterations test 2021-01-12 17:00:53 -05:00
almog aa69a3c2b7 fix test 2021-01-12 17:00:53 -05:00
almog 16670452c4 weight proof test refactor 2021-01-12 17:00:53 -05:00
Mariano Sorgente 0bd541fcd3 Start getting tests to pass 2021-01-12 17:00:53 -05:00
Mariano Sorgente fff9ccb026 Got simulation test to pass 2021-01-12 17:00:53 -05:00
Yostra 75598f20dc wallet simple sync 2021-01-12 17:00:53 -05:00
Yostra d6ef88fa08 wallet 2021-01-12 17:00:53 -05:00
Yostra edb08739e6 filter 2021-01-12 17:00:53 -05:00
almog 672ed04af3 use proofs in sync
add test for syncing 2 sub epochs
2021-01-12 17:00:53 -05:00
almog b38c67489c fix weight proof tests 2021-01-12 17:00:53 -05:00
almog 42955bb26b use weight proof in sync 2021-01-12 17:00:53 -05:00
Mariano Sorgente c018b26716 Coin store reorgs and mempool tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 81d523b850 Fix some tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 974edc47f1 Fix short sync test 2021-01-12 17:00:53 -05:00
Mariano Sorgente 0bb8ce3e8f Test for syncing 2021-01-12 17:00:53 -05:00
Mariano Sorgente dbdb20c93f Almost get sync working 2021-01-12 17:00:53 -05:00
almog a98255df8c send weight proof request in sync 2021-01-12 17:00:53 -05:00
almog 44c12b0896 fix tests 2021-01-12 17:00:53 -05:00
Mariano Sorgente 075498a044 Many timelord and full node fixes to difficulty and sub epochs 2021-01-12 17:00:53 -05:00
Mariano Sorgente 0f72053876 Add comments, and allow timelord to infused overflows 2021-01-12 17:00:53 -05:00
almog 9fdae7e3f0 weight proof api 2021-01-12 17:00:53 -05:00
almog 02fb5d144d BlockCache and BlockCacheMock 2021-01-12 17:00:53 -05:00
almog aa1c2c9839 avoid exception in ws_connection.py 2021-01-12 17:00:53 -05:00
almog 40bdc09b07 use sub_block_height 2021-01-12 17:00:53 -05:00
Yostra 292b04a81e sub height 2021-01-12 17:00:53 -05:00
Yostra 5eb2c2a0b1 wallet 1 2021-01-12 17:00:53 -05:00
Mariano Sorgente 37c3c2701d Include older rewards 2021-01-12 17:00:53 -05:00
almog a0fc78165e test validate_segments
fix tests
2021-01-12 17:00:53 -05:00
almog c4177ba76f test validate_segments
weight proof, add segment validation test
2021-01-12 17:00:53 -05:00
almog 8db3fb88c2 use ProofBlockHeader instead of HeaderBlock 2021-01-12 17:00:53 -05:00
almog e6c3c1471d refactor 2021-01-12 17:00:53 -05:00
Mariano Sorgente b3c6f10b38 Fix many bugs 2021-01-12 17:00:53 -05:00
Mariano Sorgente 94a3abf56f Progress with unfinished block infusions 2021-01-12 17:00:52 -05:00
Mariano Sorgente 677dabbf2f WIP infusion 2021-01-12 17:00:52 -05:00
Mariano Sorgente 8964825f37 Full node signage points and sub slots working 2021-01-12 17:00:52 -05:00
almog cfffea34c2 refactor 2021-01-12 17:00:52 -05:00
almog f7a7e8431d pass ses validation, bugs in segments vdf 2021-01-12 17:00:52 -05:00
Mariano Sorgente 1df5594e94 Timelord fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente 4fc8e4e0b3 ensure_future -> create_task, and full mempool test 2021-01-12 17:00:52 -05:00
Mariano Sorgente 9fff8e54e9 More node tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente 6d8c8be087 Separate out timelord api 2021-01-12 17:00:52 -05:00
almog 45942160e3 correct end of sub epoch, bad vdfs 2021-01-12 17:00:52 -05:00
almog e990b8e264 find last ses in recent reward chain 2021-01-12 17:00:52 -05:00
almog 4dd437d443 find last ses in recent reward chain 2021-01-12 17:00:52 -05:00
Mariano Sorgente 6135a6ab77 More tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente 4e0f9df075 More testing and networking fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente a501f2adff Factor out waiting for a specific response 2021-01-12 17:00:52 -05:00
Mariano Sorgente 4c575638a8 Renamings and networking fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente ab8e36e310 Allow launching service without connecting to daemon 2021-01-12 17:00:52 -05:00
almog 542c3004e3 change test params 2021-01-12 17:00:52 -05:00
almog c096e1416d change test params 2021-01-12 17:00:52 -05:00
almog e5cdbe0a9c fix bug in make_weight_proof 2021-01-12 17:00:52 -05:00
almog 47778a3ec8 weight_proofs, bug fixes, unit testing 2021-01-12 17:00:52 -05:00
almog ac8eaf70fc validate summaries, test fails 2021-01-12 17:00:52 -05:00
almog 501e90a4cd change to 400 blockchain 2021-01-12 17:00:52 -05:00
almog 357ee54886 test map_summaries 2021-01-12 17:00:52 -05:00
Mariano Sorgente b27ba1a49b More testing 2021-01-12 17:00:52 -05:00
Mariano Sorgente 273fe0355b Basic full node networking tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente e1c1f6c341 Basic test to add blocks to node 2021-01-12 17:00:52 -05:00
Mariano Sorgente e874c73529 Infusion point tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente 8a769ed9cb Start working on new infusion point cache 2021-01-12 17:00:52 -05:00
almog 3533b1787b fix start difficulty in test 2021-01-12 17:00:52 -05:00
almog f05e1a421a weight_proof.py tests, bug fixes, find last ses by weight 2021-01-12 17:00:52 -05:00
almog 6e9166b20c weight_proof.py tests, bug fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente 62628b3086 More test for full node store, and bug fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente 7d4c844455 Make blocks smaller by removing vdf input 2021-01-12 17:00:52 -05:00
Mariano Sorgente 883aea234c Basic full node store tests passing 2021-01-12 17:00:52 -05:00
almog 0d5c22516f dont validate blocks for weight proof tests 2021-01-12 17:00:52 -05:00
Yostra 936420f718 all tests 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 858d12b6a2 more tests 2021-01-12 17:00:52 -05:00
Yostra cdafa1d3e7 full node send_all_first_reply 2021-01-12 17:00:52 -05:00
Yostra ba021fcbfa setup nodes 2021-01-12 17:00:52 -05:00
Yostra de7d49fb5a stash 2021-01-12 17:00:52 -05:00
Yostra 99fa3af1a3 full node 2021-01-12 17:00:52 -05:00
Yostra db1cdf5056 more tests 2021-01-12 17:00:52 -05:00
Yostra f9319a1669 full node checkpoint 2021-01-12 17:00:52 -05:00
Yostra 6a3eafbda1 cc tests 2021-01-12 17:00:52 -05:00
Yostra f9901dabbe rl tests 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 8a9518a320 test_wallet & peer discovery 2021-01-12 17:00:52 -05:00
Yostra 7c079cf143 networking 2021-01-12 17:00:52 -05:00
Mariano Sorgente ea52b71ff5 Fix test 2021-01-12 17:00:52 -05:00
Mariano Sorgente 0cf7eb7850 Fix issues with empty slots after epochs 2021-01-12 17:00:52 -05:00
almog eb1cddbee4 failing to validate 1000 block chain 2021-01-12 17:00:52 -05:00
almog 651e0997fd try load test blocks from disc 2021-01-12 17:00:52 -05:00
almog 500fcc486f make proof sanity, small merge fixes 2021-01-12 17:00:52 -05:00
Mariano Sorgente 66b06a6d1c Rename fields and fix iterations bug 2021-01-12 17:00:52 -05:00
almog 63e3b85fae weight proof, refactor, bigger chain for tests, logs 2021-01-12 17:00:52 -05:00
almog 1023e38331 create persistent test database copy 2021-01-12 17:00:52 -05:00
almog 44fa74c6d1 refactor finishes_sub_epoch 2021-01-12 17:00:52 -05:00
Mariano Sorgente 2d63bbbfa5 Fix long range reorg bug 2021-01-12 17:00:52 -05:00
Mariano Sorgente e9d2b1f761 IPS-> slot iters. Faster tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente ad2cffd0c4 Add reorg tests and fix reorg bug 2021-01-12 17:00:52 -05:00
Mariano Sorgente bd66feb9ec More updates to farming, and fix memory leak 2021-01-12 17:00:52 -05:00
Mariano Sorgente 516d87bc16 More blockchain tests 2021-01-12 17:00:52 -05:00
Yostra bdb0a3d88f some after rebase cleanup 2021-01-12 17:00:52 -05:00
Mariano Sorgente 0c6e0f6d2c More testing 2021-01-12 17:00:52 -05:00
Mariano Sorgente 069535e52e More difficulty fixes and tests 2021-01-12 17:00:52 -05:00
Mariano Sorgente 3f064e529c Fix difficulty adjustment bug 2021-01-12 17:00:52 -05:00
Mariano Sorgente cf84a9f339 Fix genesis bad signage point rc 2021-01-12 17:00:52 -05:00
Mariano Sorgente d90d76446b Reorganize and refactor. Tests passing 2021-01-12 17:00:52 -05:00
Mariano Sorgente bf012e4eea Fixes to cc VDF and tests 2021-01-12 17:00:51 -05:00
almog 07bd1005d1 combine proofs by sub_slot, more validation logic 2021-01-12 17:00:51 -05:00
almog eafdf665da make_weight_proof fixes
tests
2021-01-12 17:00:51 -05:00
almog 1e8cab6fbc more validate_weight 2021-01-12 17:00:51 -05:00
Mariano Sorgente a55649847f Switch to signage point based iters 2021-01-12 17:00:51 -05:00
Mariano Sorgente e9f6ce4a74 More tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 0fe16fd007 Coin store tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 0bd26de3cf Update block store tests 2021-01-12 17:00:51 -05:00
almog 7a8981b637 refactor weight proof 2021-01-12 17:00:51 -05:00
almog 8d786007c8 start weight proof tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 026c4006fb More full node protocol, and difficulty fixes 2021-01-12 17:00:51 -05:00
Mariano Sorgente b1df2c7f1a Overflow blocks tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 91db5efd1d Fix empty slots issue 2021-01-12 17:00:51 -05:00
Mariano Sorgente 351b09ed23 Fix empty sub slots 2021-01-12 17:00:51 -05:00
Mariano Sorgente d5143625ff Some reorganization, full node stuff, and timelord protoc9ol 2021-01-12 17:00:51 -05:00
Mariano Sorgente cf46fb8406 Fix block tools icc issue 2021-01-12 17:00:51 -05:00
Mariano Sorgente 230ff44a4c Update timelord protocol 2021-01-12 17:00:51 -05:00
Mariano Sorgente 1f0952f848 Major progress on full node and store 2021-01-12 17:00:51 -05:00
Mariano Sorgente 2883e9942c Extract block creation 2021-01-12 17:00:51 -05:00
Mariano Sorgente b203baa2bc Fix new sub-epoch 2021-01-12 17:00:51 -05:00
Mariano Sorgente 292da475f2 Overflow sub-blocks in new sub-epoch 2021-01-12 17:00:51 -05:00
Mariano Sorgente b465b7a7cd Correct vdf for overflow 2021-01-12 17:00:51 -05:00
Mariano Sorgente dcd61d0102 Overflow blocks created 2021-01-12 17:00:51 -05:00
Mariano Sorgente 0c506abfd2 500 blocks 2021-01-12 17:00:51 -05:00
Mariano Sorgente e463782b6f Difficulty adjustment fix 2021-01-12 17:00:51 -05:00
Mariano Sorgente 88e49d6230 First sub-epoch passingh 2021-01-12 17:00:51 -05:00
Mariano Sorgente 35c01bf6b0 Fix typo 2021-01-12 17:00:51 -05:00
Mariano Sorgente 5da9dfd1ed Change to slot sub_slot 2021-01-12 17:00:51 -05:00
Mariano Sorgente aaeb726920 Remove logging 2021-01-12 17:00:51 -05:00
Mariano Sorgente 107a32077f Some vdf fixes 2021-01-12 17:00:51 -05:00
Mariano Sorgente 37308390e7 3 blocks added 2021-01-12 17:00:51 -05:00
Mariano Sorgente 0e3e12fafa Get second block added to chain 2021-01-12 17:00:51 -05:00
Mariano Sorgente 5dd586f1e6 Fix signage point validation bug 2021-01-12 17:00:51 -05:00
almog 5397a076ac more block_tools.py logic
refactor to smaller pices
2021-01-12 17:00:51 -05:00
Mariano Sorgente 5f6454927b Logic for get consecutive blocks 2021-01-12 17:00:51 -05:00
Mariano Sorgente 91775e914c Factor out block within block tools 2021-01-12 17:00:51 -05:00
almog 352369b4f4 block_tools.py refactor
test chain with 2 blocks
2021-01-12 17:00:51 -05:00
Mariano Sorgente d5de16843e Recursive replace test utility 2021-01-12 17:00:51 -05:00
Mariano Sorgente 476304b43b Simplify tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 4a14bde38d More genesis tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 2ae7960ff0 Overflow genesis block 2021-01-12 17:00:51 -05:00
Mariano Sorgente b0b7b4ee79 Genesis block validated successfully 2021-01-12 17:00:51 -05:00
Mariano Sorgente a81282e2b7 Fix reward claim validation 2021-01-12 17:00:51 -05:00
Mariano Sorgente e1877620f5 Fix VDF verification 2021-01-12 17:00:51 -05:00
almog b040990331 add test get_vdf_info_and_proof (fails)
fix genesis block filter in block_tools.py
2021-01-12 17:00:51 -05:00
Mariano Sorgente 6d8e0e0473 More progress on validation 2021-01-12 17:00:51 -05:00
Mariano Sorgente 04dee699a5 Progress on adding genesis block 2021-01-12 17:00:51 -05:00
Mariano Sorgente 42b6912829 Block store tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente 8511f4d644 Almost have block_store tests running 2021-01-12 17:00:51 -05:00
Mariano Sorgente ec76b746de Start making changes to update tests 2021-01-12 17:00:51 -05:00
Mariano Sorgente d5d14f807a ICP -> SP 2021-01-12 17:00:51 -05:00
Mariano Sorgente f7d0aa3213 refactor difficulty adjustment and ips 2021-01-12 17:00:51 -05:00
Gene Hoffman b7e9f53e39 Fix MD lint, more missing imports, more black 2021-01-12 17:00:50 -05:00
Gene Hoffman ac28327101 Fix some low hanging LGTM - Black. Stay out of the way... 2021-01-12 17:00:50 -05:00
Mariano Sorgente 26ed01c4ab Start work on full node 2021-01-12 17:00:50 -05:00
Mariano Sorgente 4a894175ff Simplified mempool 2021-01-12 17:00:50 -05:00
Mariano Sorgente 218985b40f New farmer protocol and harvester 2021-01-12 17:00:50 -05:00
Mariano Sorgente 1228ecf77b Add test for iters 2021-01-12 17:00:50 -05:00
Mariano Sorgente c83f2907d9 change some test constants 2021-01-12 17:00:50 -05:00
Mariano Sorgente 453e87441b Simplify blockchain class and full node stores 2021-01-12 17:00:50 -05:00
Bill Blanke 22072e3b6e fix test 2021-01-12 17:00:50 -05:00
Will Bendick 511e99835f updates taproot to use AGGSIGME 2021-01-12 17:00:49 -05:00
Will Bendick 3d2c44fb50 fixes aggsig test in mempool 2021-01-12 17:00:49 -05:00
Will Bendick 8791c93b04 uses taproot for standard transactions 2021-01-12 17:00:49 -05:00
Richard Kiss 71ed6e6c75 Use `Program.to` instead of `Program`. 2021-01-12 17:00:49 -05:00
Matthew Howard 5f537c62e7 appeased superlinter black requests 2021-01-12 17:00:49 -05:00
Matthew Howard fe6a830c98 fixed aggsig_me bug in wallet_tool 2021-01-12 17:00:49 -05:00
Will Bendick 5bc7bffa69 rate limited chialisp update (#482)
* adds chialisp generator

* updates WHOLE_PUZZLE_WITH_CLAWBACK

* updates CLAWBACK

* updates WHOLE_PUZZLE

* updates AGGSIG_ENTIRE_SOLUTION

* fixes indentation

* updates MODE_TWO

* updates CREATE_LOCK

* updates MODE_TWO_ME_STRING

* updates CREATE_CONSOLIDATED

* updates TEMPLATE_SINGLETON_RL_2

* fixes args calculation bug

* updates TEMPLATE_MY_PARENT_ID_2

* updates RATE_LIMIT_PUZZLE

* updates CREATE_NEW_COIN

* updates CREATE_CHANGE

* updates TEMPLATE_MY_ID

* updates TEMPLATE_BLOCK_AGE

* updates TEMPLATE_MY_PARENT_RL

* updates TEMPLATE_MY_PARENT_ID

* fixes lint

* updates rl_make_aggregation_solution

* updates make_clawback_solution

* updates rl_make_solution_mode_2

* updates solution_for_rl

* updates rl_make_aggregation_puzzle

* fixes typo

* adds negative tests
2021-01-12 17:00:49 -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
Richard Kiss c91d75058b Simplify RPC tests. 2020-10-09 11:17:10 -07:00
Richard Kiss b3cfc18765 Use config file rather than "127.0.0.1". 2020-10-09 09:22:47 -07:00
Richard Kiss ef5b8b8dab Refactor some `ConsensusConstants` stuff. 2020-10-08 15:57:50 -07:00
Richard Kiss 0749337358 Simplify an RPC test. 2020-10-08 13:31:39 -07:00
fchirica 1dd49d5bce Fix test. 2020-10-06 14:47:31 -07:00
Richard Kiss 117e08bc03 Remove many references to `get_pool_wallet_tool`. 2020-10-02 18:06:44 -07:00
Richard Kiss 72f1012adc Remove more `WalletTool` references. 2020-10-01 18:15:51 -07:00
Richard Kiss 075cea3217 Remove many `WalletTool` references. 2020-10-01 17:28:18 -07:00
Richard Kiss f42b64fb98 Don't use dummy wallet. 2020-10-01 15:09:28 -07:00