Commit graph

263 commits

Author SHA1 Message Date
Richard Kiss
8a3e00548a Rename src to chia. 2021-04-04 21:41:39 -07:00
Richard Kiss
7a970b8fe7 Add PYINSTALLER_SPEC_PATH. Simplify & unify spec file. 2021-04-02 19:50:54 -07:00
dependabot[bot]
5680124eaa Bump keyring from 23.0 to 23.0.1
Bumps [keyring](https://github.com/jaraco/keyring) from 23.0 to 23.0.1.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v23.0.0...v23.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 11:48:47 -07:00
Gene Hoffman
4a03f27431 Chiapos to 1.0.0 2021-03-29 23:57:15 -07:00
Mariano Sorgente
51e90ed19e
Removes aiter which is not used (#1524) 2021-03-26 10:57:27 -07:00
Gene Hoffman
a23b2947c5 Update cryptography to 3.4.7
Updated Windows, macOS, and ``manylinux`` wheels to be compiled with OpenSSL 1.1.1k due to a security issue in OpenSSL...
2021-03-25 15:55:59 -07:00
Richard Kiss
be4af4128c Monkey-patch click instead of forking. 2021-03-24 15:41:53 -07:00
Richard Kiss
f6cd947da2 Add some missing files to the sdist. 2021-03-24 15:41:53 -07:00
dependabot[bot]
ae53e7e185 Bump colorlog from 4.7.2 to 4.8.0
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 4.7.2 to 4.8.0.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v4.7.2...v4.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-23 21:54:27 -07:00
wjblanke
54dd987668 use forked click (#1347) 2021-03-17 18:40:45 -07:00
Gene Hoffman
122731cbaa
chiavdf to 1.0.1 for new Windows MPIR (#1238) 2021-03-11 01:08:15 -08:00
Gene Hoffman
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 Hoffman
de4b5b3050
chiavdf gold at 1.0 (#1214) 2021-03-09 19:38:05 -08:00
Gene Hoffman
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 Hoffman
26f18d4efe
Bump keyring, update GUI (#1211) 2021-03-09 15:30:51 -08:00
Gene Hoffman
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
Yostra
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 Hoffman
4ddd1385f6 chiapos to 0.9, pin current GUI 2021-03-04 02:24:05 -08:00
Mariano Sorgente
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 Hoffman
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 Hoffman
88a6675cf4 chiabip158 to 1.0 2021-03-03 19:02:44 -08:00
Yostra
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
Richard Kiss
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 Chirica
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 Kiss
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]
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 Hoffman
c35021339f chiapos to 12.45 for harvester multithread fix 2021-02-23 23:20:21 -08:00
Richard Kiss
1c1cafc865 Use renumbered opcodes. 2021-02-23 11:20:55 -08:00
Jesús Espino
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 Kelly
a07cec4362 Update clvm dependencies 2021-02-18 21:23:55 +09:00
Adam Kelly
20626108f5 Update clvm_revamp dependencies 2021-02-18 21:23:55 +09:00
Gene Hoffman
4bd91e36c7 Update chiapos 2021-02-17 14:50:50 -08:00
Gene Hoffman
94c3cb1a10 clvm_tools to 0.3.1 to fix the run/brun issue 2021-02-11 14:02:30 -08:00
Rostislav
2e6130cf6d Use fixed-size bytes100 object for compressed quadratic forms 2021-02-10 17:11:49 -08:00
Rostislav
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 Norberg
d9bb9bf12c honor safe-mode setting in CLVM when validating mempool conditions 2021-02-09 16:02:43 -08:00
dependabot[bot]
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 Sorgente
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
Yostra
17db396a02
Update clvm (#871)
* update clvm

* flk
2021-02-08 18:15:41 -08:00
Gene Hoffman
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 Hoffman
75a858c6a7
Up to cryptography 3.4.1 - better show error. (#857) 2021-02-07 19:30:32 -08:00
Gene Hoffman
165f7c8d57 Add MacOS Univeral wheels 2021-02-06 10:37:29 -08:00
Arvid Norberg
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
Yostra
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 Hoffman
02966411b9 Fix blspy source dist 2021-02-04 01:27:59 -08:00
dependabot[bot]
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]
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 Hoffman
fc140df9db blspy to 0.3.3 2021-02-04 01:27:59 -08:00