254 Commits
Author SHA1 Message Date
wjblankeandGene Hoffman 54dd987668 use forked click (#1347) 2021-03-17 18:40:45 -07:00
Gene HoffmanandGitHub 122731cbaa chiavdf to 1.0.1 for new Windows MPIR (#1238) 2021-03-11 01:08:15 -08:00
Gene HoffmanandGitHub 5a6af6dbd6 blspy to 1.0 - update GUI (#1226)
* blspy to 1.0 - update GUI

* Revert GUI
2021-03-10 17:44:25 -08:00
Gene HoffmanandGitHub de4b5b3050 chiavdf gold at 1.0 (#1214) 2021-03-09 19:38:05 -08:00
Gene HoffmanandGitHub b5ce8c9e66 Isort take 3 (#1213)
* isort in a black friendly way

* isort but debug superlinter later
2021-03-09 18:27:27 -08:00
Gene HoffmanandGitHub 26f18d4efe Bump keyring, update GUI (#1211) 2021-03-09 15:30:51 -08:00
Gene HoffmanandGitHub 1d7fadbc20 cryptography and keyring to current version (#1208)
* Try linux keyring

* cryptography and keyring to current version - keyrings.cryptfile issue

* Remove comment re cryptography

* Correct URL

* 3.4.6 cryptography
2021-03-09 13:43:57 -08:00
YostraandGitHub da9b9ccf6f Mozilla ca (#1155)
* include moz

* add mozzila submodule

* install script

* use file path

* update commit

* typo
2021-03-04 14:25:35 -08:00
Gene HoffmanandGene Hoffman 4ddd1385f6 chiapos to 0.9, pin current GUI 2021-03-04 02:24:05 -08:00
d33d16591d blspy to 0.9, replace infinity, update clvm, puzzle hash (#1146)
* blspy to 0.9

* replace infinity with default constructor

* infinity

* Update clvm, puzzle hash

* Fix tests with new blspy

* prefarm in config instead of constants

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Bill Blanke <wjb2002@flex.com>
2021-03-04 00:54:03 -08:00
Gene HoffmanandGitHub ccbd20bc94 Chia VDF to 0.9 (#1138)
* Chia VDF to 0.9

* Try test-cache 20
2021-03-03 20:54:19 -08:00
Gene HoffmanandGene Hoffman 88a6675cf4 chiabip158 to 1.0 2021-03-03 19:02:44 -08:00
3e77319eda Pinned root cert (#1137)
* typo

* pin cert

* depricated warnning

* don't require 0x

* Fix lint issue w black and update GUI pin

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2021-03-03 17:26:26 -08:00
f79152d1ab Bump clvm and replace ((c P A)) with (a P A). Add some cc fixes prior to audit. (#1133)
* Bump clvm versions and replace `((c P A))` with `(a P A)`. Again.

* Modernize some clvm.

* Fix some comments and naming in `cc.clvm`.

* Prohibit `CREATE_ANNOUNCEMENT` in inner puzzle.

* fix cc.clvm

initial commit for innerpuz announcement test

Co-authored-by: matt <matt@chia.net>
2021-03-03 14:12:04 -08:00
Florin ChiricaandGitHub bac6e36c05 Bluebox weight proof. (#1028)
* Initial commit weight proof bluebox.

* More verification, fix linting.

* Checkpoint testing.

* Checkpoint verify compact proofs.

* First attempt already seen compact proofs.

* Try bigger timeouts.

* Try passing first without ICC EOS.

* Try to uniformly sanitize by field_vdf.

* Try to fix vdf.py

* Temporary change: check if simulation is slow or stalled.

* Try fixing VDFProof erros in tests.

* Checkpoint: address some comments.

* Checkpoint is_fully_compactified.

* First attempt compact blocks fixture.

* Add tests.

* Test simulation should eventually pass.

* Test full node store passing.

* Use the proper fixture.

* Try lighter test_simulation.

* Bump chiavdf, use correct fixture db, try test cache.

* Update fixtures.py

* Try bigger timeouts.

* First attempt split tests.

* Rename workflow files.

* Relax test simulation since it's still failing.

* Update test cache.
2021-03-03 13:13:08 -08:00
Richard KissandGene Hoffman a8a7af9ebc Revert "Bump clvm versions and replace ((c P A)) with (a P A)."
This reverts commit d0a08d2a93.
2021-03-01 17:14:13 -08:00
Richard Kiss d0a08d2a93 Bump clvm versions and replace ((c P A)) with (a P A). 2021-03-01 12:12:48 -08:00
dependabot[bot]andGene Hoffman f0a598b1a5 Bump aiohttp from 3.7.3 to 3.7.4
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.7.3 to 3.7.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.7.3...v3.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 21:30:52 -08:00
Gene HoffmanandGene Hoffman c35021339f chiapos to 12.45 for harvester multithread fix 2021-02-23 23:20:21 -08:00
Richard KissandGene Hoffman 1c1cafc865 Use renumbered opcodes. 2021-02-23 11:20:55 -08:00
Jesús EspinoandGitHub d8410eff83 Migrating CLI to Click (#1002)
* Migrating CLI to Click

* Adding more type annotations

* Adding some required to flags

* Some extra small fixes

* Add click dependency to the setup.py file

* Making callable from outside

* Manually applying changes from commit f23c45

* Improving type annotations

* Adding -h as --help option

* Added feedback to add/remove commands for plots

* Properly exiting with error code
2021-02-23 02:23:56 -08:00
Gene Hoffman 3bcaacceb3 Try the newly patched aiosqlite at 0.17.0 2021-02-21 19:57:34 -08:00
Adam KellyandMariano Sorgente a07cec4362 Update clvm dependencies 2021-02-18 21:23:55 +09:00
Adam KellyandMariano Sorgente 20626108f5 Update clvm_revamp dependencies 2021-02-18 21:23:55 +09:00
Gene HoffmanandGene Hoffman 4bd91e36c7 Update chiapos 2021-02-17 14:50:50 -08:00
Gene HoffmanandGene Hoffman 94c3cb1a10 clvm_tools to 0.3.1 to fix the run/brun issue 2021-02-11 14:02:30 -08:00
RostislavandGene Hoffman 2e6130cf6d Use fixed-size bytes100 object for compressed quadratic forms 2021-02-10 17:11:49 -08:00
RostislavandGene Hoffman 65dcae570e Change to compressed quadratic forms for VDFs
Using compressed representation of quadratic forms reduces their
serialized size from 130 to 100 bytes (for forms with 1024-bit
discriminant). This shrinks the size of VDF outputs and VDF proofs, and
it's a breaking change as compressed representation is not compatible
with older uncompressed (a, b) representation.

Compressed forms are also used in calls to chiavdf and in timelord's
communication with VDF client.

Update to version 0.14.0 of chiavdf and version 0.2.0 of test-cache.
Older versions of these do not support compressed forms.
2021-02-10 17:11:49 -08:00
Arvid NorbergandGene Hoffman d9bb9bf12c honor safe-mode setting in CLVM when validating mempool conditions 2021-02-09 16:02:43 -08:00
dependabot[bot]andGene Hoffman 8bd328a157 Bump pyyaml from 5.3.1 to 5.4.1
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-09 13:08:06 -08:00
Mariano SorgenteandGitHub ef83c95ef4 Ms.cbor3 [protocol breaking change] (#864)
- removes cbor and instead uses streamable (https://trello.com/c/anzukjLs/901-remove-cbor)
- data types checked for payload ids and function (https://trello.com/c/4kPt98as/921-data-types-not-checked-on-payload-ids-and-function-names)
- Compressed format for messages: 1 byte for the message type / function, 2 optional bytes for the payload id
- Optimization to not fetch transactions for a block if we already have them
- RejectBlock message
- Software version sent in the handshake message (although ignored now)
- Removed mempool hack, big blocks can now be made with this codebase
2021-02-09 16:14:37 +09:00
YostraandGitHub 17db396a02 Update clvm (#871)
* update clvm

* flk
2021-02-08 18:15:41 -08:00
Gene HoffmanandGitHub d9396d4308 cryptography 3.4.1 has a toxic interaction with keyrings on linux (#862)
* cryptography 3.4.1 has a toxic interaction with keyrings on linux

* black setup.py
2021-02-07 21:50:07 -08:00
Gene HoffmanandGitHub 75a858c6a7 Up to cryptography 3.4.1 - better show error. (#857) 2021-02-07 19:30:32 -08:00
Gene HoffmanandGene Hoffman 165f7c8d57 Add MacOS Univeral wheels 2021-02-06 10:37:29 -08:00
Arvid NorbergandGene Hoffman be7e2356d6 introduce SerializedProgram to use in the FullNode. Instead of parsing block programs in python, maintain them in serialized form to save time when executing them in rust 2021-02-04 18:26:26 -08:00
YostraandGene Hoffman 3d27a7d660 Use TLS Certificate hash as node id ssl id (#740)
* create CA

* create CA chain, pin public, private, auth

* build scripts

* refactor rpc

* test logging
2021-02-04 01:27:59 -08:00
Gene HoffmanandGene Hoffman 02966411b9 Fix blspy source dist 2021-02-04 01:27:59 -08:00
dependabot[bot]andGene Hoffman 4aabe86580 Bump chiabip158 from 0.17 to 0.18
Bumps [chiabip158](https://github.com/Chia-Network/chiabip158) from 0.17 to 0.18.
- [Release notes](https://github.com/Chia-Network/chiabip158/releases)
- [Commits](https://github.com/Chia-Network/chiabip158/compare/0.17...0.18)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-04 01:27:59 -08:00
dependabot[bot]andGene Hoffman 289c908adb Update setproctitle requirement from ~=1.1.10 to ~=1.2.2 (#752)
* Update setproctitle requirement from ~=1.1.10 to ~=1.2.2

Updates the requirements on [setproctitle](https://github.com/dvarrazzo/py-setproctitle) to permit the latest version.
- [Release notes](https://github.com/dvarrazzo/py-setproctitle/releases)
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst)
- [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.1.10...version-1.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

* setproctitle now has binary wheels for all platforms except mac - PR'ed those to them and added to download.chia

* Just install local wheels

* update changelog
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
2021-02-04 01:27:59 -08:00
Gene HoffmanandGene Hoffman fc140df9db blspy to 0.3.3 2021-02-04 01:27:59 -08:00
Gene HoffmanandGene Hoffman 7e514a842a chiapos to 0.12.42b2 2021-02-04 01:27:59 -08:00
Gene HoffmanandGene Hoffman 229703ac9e Up to chiavdf 0.13.3 2021-02-04 01:27:59 -08:00
Gene Hoffman b9ecc15c86 no 2. 2021-01-20 21:49:52 -08:00
Gene Hoffman fe236c7f2e Update aiosqlite to forked 47c7b21d 2021-01-20 21:47:41 -08:00
dependabot[bot]andGene Hoffman ffe980fbf9 Bump colorlog from 4.6.2 to 4.7.2
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 4.6.2 to 4.7.2.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v4.6.2...v4.7.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 19:06:48 -08:00
Gene HoffmanandYostra ade1cf3c16 chiavdf 0.13.2 for gcd speedup 2021-01-12 17:02:22 -05:00
Gene HoffmanandYostra 3688816747 back to chiavdf==0.13.1 2021-01-12 17:02:22 -05:00
Gene HoffmanandYostra a6ac2a8c89 sigh. Update the correct dependency... 2021-01-12 17:02:22 -05:00
Gene HoffmanandYostra 953ff86737 Going back to chiavdf 0.3.1b2 2021-01-12 17:02:22 -05:00