Commit Graph

61 Commits

Author SHA1 Message Date
almog
4835964515 lint add test 2021-03-17 00:00:13 +09:00
almog
092142cdd3 lint add test 2021-03-17 00:00:13 +09:00
Almog De Paz
a499127743
Fix signage point input and recent blocks deficit (#1304)
* fix challenge overflow first in slot

* fix deficit calc, in recent blocks

* use vdf info instead of proof to figure out end of slot

* lint
2021-03-15 13:11:08 -07:00
Gene Hoffman
4697e39470
Various clean ups, spelling thanks @adamfiddler, isort (#1278)
* Various clean ups, spelling thanks @adamfiddler, isort

* Actually thank @adamfiddler

* isort tests

* Update changelog, readme, spec, spelling

* Readme nit

* locales

* locales again
2021-03-13 14:57:41 -08:00
Yostra
708ddb5a3a
Minimum for refs (#1256)
* minimun for refs

* Commit to generator reference list value in the foliage

* missing args

* Insert generator references hash in foliage

* add comma.

* Add 3 commas for linter

* lint: commas

* kick the tests to run again

* 23

Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-03-11 22:59:15 -08:00
Almog De Paz
725e145151
recent chain refactor (#1237)
* wp refactor changes
2021-03-11 14:24:59 +02:00
Almog De Paz
255bbb14af
Weight proof optimizations (#1221)
* sub epoch samples optimizations, tests passing

* refactor

* fix sample validation

* fix indentation

* refactor

* dynamic recent chain

* logs

* revert dynamic recent chain

* dynamic recent chain

* tidy

* lint

* fix merge
2021-03-10 14:53:42 -08:00
Mariano Sorgente
1c6c372044
Ms.new breaking changes (#1182)
1. The formula for computing iterations is simplified, so that only one division is necessary, and inverting the (1-x) into just x.
2. There are new timestamp rules. A block N must have a greater timestamp than block N-1. Also, a block's timestamp cannot be more than 5 minutes in the future.
3. A List[Tuple[uint16, str]] is added to the handshake. These are the capabilities that the node supports, to add new features to the protocol.
4. The message_id is now before the data in each message.
2021-03-10 17:14:13 +09:00
Mariano Sorgente
4d15f86715
Ms.rate limits (#1204)
Implements rate limiting for full node.
2021-03-10 15:48:34 +09: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
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