Commit Graph
82 Commits
Author SHA1 Message Date
Rostislav 139c860ce8 fast_vdf: Add vdf_bench tool
The tool can be used to benchmark the following:
- "square_asm": form squaring in assembly
- "square": form squaring in C
- "discr": generation of form discriminant from seed
2020-03-10 06:25:42 +00:00
Rostislav f9be513c66 fast_vdf: Do not repeat initialization in CreateDiscriminant 2020-03-10 04:55:13 +00:00
fchirica 91d7d2cd20 Launcher: refactor, stopping, add process logging 2020-03-10 00:05:27 +02:00
Don KackmanandGitHub ed3699f96e static analysis changes (#113)
changes based on the output cppcheck --enable=all --inconclusive --force *.hpp

* marked members const where possible
* marked members noexcept where possible
* marked members static where possible
* changed to constructor initialization lists where possible
2020-03-09 22:23:13 +09:00
Gene HoffmanandGitHub ef06db4a5c Add florin's verifier.h
Patch around current fullnode crash
2020-03-06 12:36:21 -08:00
Florin ChiricaandGitHub b4d473197b Cluster (#96)
* Initial commit cluster

* Flake8

* mypy

* support IPv6; gather instead of create_task

* flake8
2020-02-25 20:34:56 +02:00
Don KackmanandGitHub b0f48c1a25 fix signed-unsigned comparison warning (#98) 2020-02-14 12:59:38 -05:00
wjblankeandGitHub 5e924d2100 Softaes14wjb (#95)
Software AES fallback for runtime (eg Celeron) and compiletime (eg Raspberry Pi via cmake try_run)
2020-02-06 11:27:56 -06:00
Mariano SorgenteandGitHub 5468c25a09 Db headers, locks, pos dirs, and config (#88)
* New database table to store headers
* Loading blockchain only loads headers into memory instead of header blocks (header + proofs), speeds up the startup, and reduces normal operation memory usage by 80%
* Fix deadlock issues with store class
* Make memory store access synchronous, to reduce use of locks, this improves performance of block and unfinished block processing
* Remove locks from reads of DB, only lock for writes
* Cleaner configuration system with argparse
* Log to file by default, configurable to stdout
* Proof of space binary and create_plots scripts allow passing in temp and final directories
2020-02-05 09:42:57 +09:00
Don KackmanandGitHub 528782fe8a Fix warnings (#90)
* fix signedness comparison warninings
* script to setup builds
* replace static_cast with size_type
2020-02-05 09:30:38 +09:00
Don Kackman c84c99212e log timestamp at start and end of each phase 2020-02-02 10:33:38 -06:00
Mariano SorgenteandGitHub 5c49a2858c Fix sqlite issue on Github CI machine (#87)
* Add a lock and update cbor2
* Support python3, and tests python3 in ci
2020-01-24 20:44:09 +09:00
Rostislav 169852d13b fast_vdf: Fix memory leak in qfb_nudupl 2020-01-21 16:07:28 +02:00
wjblankeandGitHub d01cbcb901 Verifierwjb (#77)
C PoT improvements, partly using modified code from Flint/Antic

On Mon, Jan 13, 2020 at 11:03 PM Bill Hart <goodwillhart[at sign]googlemail.com> wrote:
Dear Bram Cohen,

I cannot relicense all of Flint and Antic as I don't own the copyright for all files.

However, I wrote the files you mention and therefore you can also use them under BSD 2-Clause. In addition, I hereby license you to use these files under the MIT license for your project. Please ensure that my copyright is retained on the files, as per the MIT license.

Best Wishes,

William Hart.

On Tue, 14 Jan 2020 at 01:10, Bram Cohen <bram[at sign]chia.net> wrote:
Hello Dr. Hart. As you likely already know in Chia's VDF implementation competition Antic and Flint were able to produce meaningful
improvements in how fast our VDF runs. We're now working on integrating those changes and making further improvements which we'd like
to upstream but we're having some licensing issues.

On all of Chia's code we use MIT, Apache2 and public domain. If you're willing to relicense using one of those or even relicense just the
following files that would be very helpful

https://github.com/wbhart/antic/blob/trunk/qfb/nudupl.c
https://github.com/wbhart/antic/commits/trunk/qfb/nucomp.c
https://github.com/wbhart/flint2/blob/trunk/fmpz/xgcd_partial.c

Please let me know what you think.

Thank you,

-Bram
2020-01-18 16:10:06 -08:00
Mariano SorgenteandGitHub 9426e00d8f Fixes the setproctitle bug and the wheel bug. (#75)
Fixes the setproctitle bug, and the wheel bug.
2020-01-17 17:36:01 +09:00
Mariano Sorgente cc7a12ef1a Remove python toolkit from lib, install from pypi 2020-01-13 21:26:57 +09:00
Mariano Sorgenteandwjblanke 281be67729 Alpha 1.2 (#64)
Remove database access from blockchain, and handle headers instead of blocks
Avoid processing blocks and unfinished blocks that we have already seen.
Also adds test for load.

Plotting improvements
2020-01-08 18:07:52 -06:00
d9bf22cb3b Separate timelord, add Windows/CentOS/AMZN (#62)
1.1.1 release

* windows build instructions

* install.sh newline fix

\n wasn't as cross platform as it should be so reverted to an extra echo

* Add CentOS to README.md

Full CentOS 7.7 install instructions

* mention blspy

* confirmed boost 1.67.0 works on Ubuntu

* Update README.md.

* Fix problem with zip download.

* Remove scm warning

Revert install instructions due to scm fix

* Update README and install scripts to separate timelord installation

Do not install VDF server and its dependencies in install.sh, create a
separate script install_timelord.sh for that.

* Move installation of VDF server dependencies to install_timelord.sh

* First and broken attempt at CentOS install

* Working CentOS 7.7 install

* typos in timelord explanation

* Timlord/VDF build instructions

Specifics for CentOS and MacOS

* Various install tips and tricks

* spelling error

* Add AMZN linux 2 install

* Add AMZN linux 2 timelord install

Also clean up base install instructions

* Combine TL for AMZN and CentOS

* Nits for AMZN and CentOS

* CentOS, AMZN timelord paralleling

* Fix header layouts

* Replace VDF server compilation scripts with Makefile

* layout improvements

* fast_vdf: Remove unused files

* Partial ARM install support

* missing l in lib

* Fleshed out Windows/WSL installs

And verified the method for upgrade to 19.x

* Move MacOS install fullnode to bottom

* Change to mongo "system-wide"

* Add mongo start to WSL

* Add actual upgrade for WSL/Ubuntu

Co-authored-by: Mariano Sorgente <sorgente711@gmail.com>
Co-authored-by: Rostislav Skudnov <skrostislav@gmail.com>
Co-authored-by: Richard Kiss <him@richardkiss.com>
Co-authored-by: wjblanke <wjb2002@flex.com>
2019-12-25 11:18:07 -08:00
Mariano SorgenteandGitHub 55192f257b Fix pos (#45)
* Attempt to fix PoS issue, changing to uint32
* Change more variables to 32 bits
* Script to check plots
2019-12-10 08:10:43 +09:00
fchirica 9606aa9e67 Add send iters loop inside the timelord, remove POLL 2019-12-06 00:01:25 +02:00
Gene HoffmanandGitHub b18c88c1ed Merge pull request #37 from Chia-Network/aiter_from_pip
Aiter from pip instead of included in repo
2019-12-03 23:19:45 -08:00
Bill Blanke b9e6d4dc15 make buffer big enough for billions 2019-12-03 19:39:40 -08:00
Richard Kiss 60bcafd8fe Use aiter from pypi. 2019-12-03 17:57:28 -08:00
Florin ChiricaandMariano Sorgente 25cd828e71 Memory and iter count fix (#33)
* Memory and iter count fix

* Increase constant in vdf.h
2019-12-04 10:12:41 +09:00
Bill Blanke 43aff9c32c reenable verify 2019-11-27 13:59:16 -08:00
Bill Blanke 61d5d0f154 ssh UI fix for uvloop 2019-11-27 13:56:03 -08:00
Bill Blanke 30713a6615 added uvloop and disabled inkfish verification 2019-11-27 09:16:42 -08:00
fchirica e1073b3952 Timelord/VDF changes 2019-11-26 01:59:08 +01:00
fchirica 501eb85eed Merge 2019-11-21 22:37:13 +02:00
Bill Blanke 5159801d6f don't optimize for catalina since clang is borked there 2019-11-21 09:26:22 -08:00
RostislavandMariano Sorgente 0201e13baa Fix .gitignore for chiavdf and chiapos
Do not track files generated in the build process.
2019-11-21 10:01:39 +09:00
fchirica a2a2f72c85 Merge remote-tracking branch 'origin/master' into install_scripts 2019-11-20 22:22:21 +02:00
fchirica 35c7a6f227 Attempt to fix pybind11 2019-11-20 22:00:56 +02:00
Bill Blanke 121553cb15 turn back on akashnil/pulmark reeduce 2019-11-20 10:15:22 -08:00
fchirica 477a7a12ff Attempt to put chiapos/pybind11 back hoping it's not corrupted 2019-11-20 01:55:40 +02:00
fchirica 5061658420 Remove pos/pybind 2019-11-20 01:28:15 +02:00
fchirica c3b8639e49 Remove submodules 2019-11-20 00:03:34 +02:00
Bill Blanke 336b24fa20 updated chiapos submodule 2019-11-12 21:42:42 -08:00
fchirica 11c5ce6373 Push new algorithm 2019-11-07 23:45:36 +02:00
Mariano Sorgente c480a1c914 Clean up scripts for linux 2019-11-03 08:24:49 -08:00
Bill Blanke 7427d9797e use preincrement instead of postincrement. fixed issue with float precision by using akashnil equation 2019-11-02 12:39:47 -07:00
Florin ChiricaandGitHub 2b3236e101 Remove pulmark for now in VDF 2019-10-31 17:40:29 +02:00
Richard Kiss b03ce1c783 Update aiter version. 2019-10-30 15:10:09 -07:00
Richard Kiss 0ed21a4991 Use map_aiter instead of parallel_map_aiter. 2019-10-30 14:59:27 -07:00
Mariano Sorgente bddb146df1 Merge branch 'uipot' into prompt 2019-10-30 01:37:43 +09:00
fchirica 22a70166e7 Initial process commit 2019-10-29 03:22:21 +02:00
Mariano Sorgente 44fdd743db Start on prompt 2019-10-29 09:39:02 +09:00
Mariano Sorgente b50fb9c097 Working 2019-10-26 11:13:23 +09:00
Mariano Sorgente 3916e9032b Start with refactor 2019-10-21 22:48:27 +09:00
Mariano Sorgente b4baff9f4e Fix tests 2019-10-16 17:38:49 +09:00