271 Commits
Author SHA1 Message Date
Gene Hoffman cb3dab5c89 Update to reverted blspy 1.0.2 2021-04-17 02:32:07 -07:00
wjblankeandGitHub 065a539490 reverted BLS back to GIL enforced (#1936) 2021-04-15 10:59:38 -07:00
Arvid NorbergandGitHub cab78c43a6 update cost and max cost according to new plan (#1864)
* update cost and max cost according to new plan
of even split between (1) generator program size (2) generator program CPU and
memory costs (3) CREATE_COIN conditions for and archetype block with 1000
vanilla transactions, 2 inputs and 2 outputs each.

update costs of conditions to use the same unit (as CLVM). Remove CLVM_COST_RATIO_CONSTANT

Add COST_PER_BYTE constant, defining the cost for each byte of generator program.

* bump clvm and clvm_rs versions

* fix typo in setup.py
2021-04-15 20:16:52 +09:00
Will BendickandGene Hoffman 5cc09d8c22 bump blspy 2021-04-09 10:06:45 -07:00
dependabot[bot]andGene Hoffman bc2c31afd1 Bump chiapos from 1.0.0 to 1.0.1
Bumps [chiapos](https://github.com/Chia-Network/chiavdf) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/Chia-Network/chiavdf/releases)
- [Commits](https://github.com/Chia-Network/chiavdf/compare/1.0...1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-09 10:06:18 -07:00
Mariano SorgenteandGitHub 876692631a Fix issue with error handling in timelord. Show infusion rate for all… (#1716)
* Fix issue with error handling in timelord. Show infusion rate for all timelords (even slow ones), and fix logging for rate limiting

* Fix another issue

* Further improvements in crashes, and better counting

* Don't error if we cannot infuse

* flake8

* more flake8

* Improvements for not the fastest timelord

* Don't double count

* Don't double count (again)
2021-04-06 19:48:46 -07:00
matt-o-howandGitHub 5e1bf6d5f3 Merge DID into main (#1720)
* rebase DID off main

* fix indentation and imports

* lint fixes

* fix test_compilation paths for new puzzles

* added _init__.py for did_wallet

* mypy typing fixes

* included did_wallet in setup.py module list

* stored pubkey & puzhash so that recovery_spend can choose not take them

* black missing comma
2021-04-06 19:31:44 -07:00
Richard KissandGene Hoffman b3f70a1c68 Bump clvm versions. 2021-04-06 18:33:41 -07:00
Richard KissandGene Hoffman 8a3e00548a Rename src to chia. 2021-04-04 21:41:39 -07:00
Richard KissandGene Hoffman 7a970b8fe7 Add PYINSTALLER_SPEC_PATH. Simplify & unify spec file. 2021-04-02 19:50:54 -07:00
dependabot[bot]andGene Hoffman 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 HoffmanandGene Hoffman 4a03f27431 Chiapos to 1.0.0 2021-03-29 23:57:15 -07:00
Mariano SorgenteandGitHub 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 KissandJustin England be4af4128c Monkey-patch click instead of forking. 2021-03-24 15:41:53 -07:00
Richard KissandJustin England f6cd947da2 Add some missing files to the sdist. 2021-03-24 15:41:53 -07:00
dependabot[bot]andGene Hoffman 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
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