Commit Graph
301 Commits
Author SHA1 Message Date
b37e6e767b Add Announcements (#881)
* cherrypicked add announcement opcodes

* remove unused import in test_mempool

* fixed broken test

* fix black superlint errors

* simple convert of coloured coins to announcements

announcements message now type bytes

* removed assert coin consumed

* updated RL higher level puzzle

* fix RL wallet to use announcement instead of lock

* rebase add announcement to blockchain_check_conditions

* lint and re-enable tests

* remove lingering reference to coin_consumed

* fixed bug with block validation

* fix RL wallet

* -update CC to use more simple announcement message

* lint fix for announcement class

* remove breakpoint
improve announcement set checking
delete TODO

* deleted commented out code
use .extend() instead of nested for

* fix mempool tests and aesthetic changes for richard

* fix mempool and add to debug_spend_bundle

* fixed test_blockchain_transactions

* flake

* update test_mempool annouce tests to use height not subheight

Co-authored-by: Yostra <straya@chia.net>
2021-02-10 10:28:13 -08:00
YostraandYostra 0572cccb43 split tests 2021-01-12 17:02:22 -05:00
almogandYostra 6f2e48b355 up test time 2021-01-12 17:02:22 -05:00
Mariano SorgenteandYostra 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
Almog De PazandYostra 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
YostraandYostra 12bf9e464c addr mgr 2021-01-12 17:02:21 -05:00
Florin ChiricaandYostra 2e47ae6a31 Lint. 2021-01-12 17:02:21 -05:00
Florin ChiricaandYostra eb533ac1f0 Check timestamp in test. 2021-01-12 17:02:21 -05:00
fchiricaandYostra 59db34b1ea Initial commit. 2021-01-12 17:02:21 -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
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
almogandYostra 58d32a8fb4 correct wp sync flow, refactor 2021-01-12 17:00:54 -05:00
Gene HoffmanandYostra 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
almogandYostra 8573526280 error handling 2021-01-12 17:00:54 -05:00
Yostra 0e7c04af4d chach path 2021-01-12 17:00:54 -05:00
Bill BlankeandYostra 9e5afe7163 moved tests 2021-01-12 17:00:54 -05:00
Richard KissandYostra 8f3eb801bc Fix-up post MS-new-consensus merge. 2021-01-12 17:00:54 -05:00
almogandYostra 22cadd1b48 weight proofs, sync integration, refactor, tests 2021-01-12 17:00:54 -05:00
almogandYostra 36291004e8 refactor, weight proof get_fork_point, add test for forkpoint 2021-01-12 17:00:54 -05:00
Mariano SorgenteandYostra aa8bde5742 Fix blockchain tests 2021-01-12 17:00:54 -05:00
almogandYostra 9ebf2d43dc fix wallet test 2021-01-12 17:00:54 -05:00
almogandYostra 7c41a56bf1 dont use += if not int 2021-01-12 17:00:54 -05:00
almogandYostra dee23231b9 linting 2021-01-12 17:00:54 -05:00
almogandYostra 09764f7f09 fix block loading test 2021-01-12 17:00:54 -05:00
Mariano SorgenteandYostra 440fe8b78f Update Pospace quality formula, chech32m, min/max plot sizes, tests 2021-01-12 17:00:54 -05:00
Mariano SorgenteandYostra 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 ebc09b4067 remove freeze 2021-01-12 17:00:54 -05:00
Mariano SorgenteandYostra e9d6adce8b flake8 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra faff98cc0c Update Chiavdf 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra fa3511b953 Full node RPCsa 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 542b08260b Python black everything 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 3a76a69f1a mypy tests 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 1e716b5e56 Flake8 tests 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 65d722f129 Fix CI first try 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra beaf140394 Weight proof test pass 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 88cf51ad82 Mypy for src 2021-01-12 17:00:53 -05:00
almogandYostra 036bb31af2 more weight proof testing 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra 4b1d3b42a0 Apply black formatting with line length 120 (not applied to wallet) 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra ea3ae083a2 Comment out tests 2021-01-12 17:00:53 -05:00
almogandYostra aa69a3c2b7 fix test 2021-01-12 17:00:53 -05:00
almogandYostra 16670452c4 weight proof test refactor 2021-01-12 17:00:53 -05:00
Mariano SorgenteandYostra fff9ccb026 Got simulation test to pass 2021-01-12 17:00:53 -05:00
Yostra edb08739e6 filter 2021-01-12 17:00:53 -05:00
almogandYostra 672ed04af3 use proofs in sync
add test for syncing 2 sub epochs
2021-01-12 17:00:53 -05:00
almogandYostra b38c67489c fix weight proof tests 2021-01-12 17:00:53 -05:00