Commit Graph

152 Commits

Author SHA1 Message Date
Gene Hoffman 9e87a5088a
Merge branch 'alpha-1.4' into master 2020-02-11 12:28:12 -08:00
Antonio Caccese 8daa3c1f2e
Update README.md
In "Each line that starts with `pip ...` becomes `python -m pip ...`" changed "python -m pip" with "python3.7 -m pip"  (paragraph "Alternate method for Ubuntu 18.04 LTS"). The command "python -m pip" calls the wrong version of python.
2020-02-11 19:01:17 +01:00
Mariano Sorgente 6359ebf967
Merge normal and timelord installation 2020-02-07 00:14:54 -05:00
Mariano Sorgente 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
Mariano Sorgente a7ebba5b89
Allow specifying temporary and final directory for proof of space 2020-01-31 17:16:40 +09:00
Mariano Sorgente 32a6cbfb09
New config system with argparse 2020-01-30 17:57:47 +09:00
Mariano Sorgente 109628fe20
Add example http call to readme 2020-01-29 12:16:29 +09:00
Gene Hoffman 3a7cab800d
Specify CentOS 7.7 2020-01-27 23:19:56 -08:00
Gene Hoffman ea94c5c2bf
Install actually RHEL 8.1 2020-01-27 22:19:47 -08:00
Gene Hoffman fb2ccbfb75
Lower boost requirements to 1.66 per RHEL
Boost 1.66 is good enough
2020-01-27 21:12:35 -08:00
Gene Hoffman 1e2e5575f3
Missing sqlite req for RHEL 8 2020-01-27 20:49:38 -08:00
Gene Hoffman a679aedcf5
Typo in RHEL VDF instructions 2020-01-27 20:46:56 -08:00
Gene Hoffman 3e06d9bbbe
Add RHEL 8 VDF install instructions 2020-01-27 20:45:48 -08:00
Gene Hoffman b851444235
RHEL8 farmer/fullnode install instructions 2020-01-27 20:36:50 -08:00
Mariano Sorgente 88e991c67f
Optional uvloop (#83)
* uvloop is an optional dependency
2020-01-23 14:19:47 +09:00
Mariano Sorgente f2d539013b
Fix node starting script (#85) 2020-01-22 17:54:29 +09:00
Mariano Sorgente aea467a952
Fix node starting script (#85) 2020-01-22 17:53:12 +09:00
Gene Hoffman 13413c8da0
Update install for Ubuntu, CentOS, Amzn 2020-01-18 19:13:28 -08:00
wjblanke 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
Gene Hoffman b4c45bd9f5
Revert requirement for Python 3.7.5 on MacOS 2020-01-18 12:24:18 -08:00
Gene Hoffman ea52f26070
Add MacOS Python 3.7.5 minimum requirement 2020-01-15 13:13:03 -08:00
Gene Hoffman a49aa920a3
README - "firewall rules"
Grammar fix to firewall rules/UPnP sentence
2020-01-14 20:32:09 -08:00
Gene Hoffman a8181b25fa
README.md - remove redundant wiki link 2020-01-14 20:10:34 -08:00
Gene Hoffman e0da240cde
Merge branch 'alpha-1.3' into docs-nits 2020-01-14 20:07:02 -08:00
Mariano Sorgente 49e4629935
Sqlite, RPC server, and other changes (#68)
* Switches to sqlite and remove all mongo stuff
* Starts RPC server on port 8555
* UI is in new process, communicates to node through rpc
* JSON serialization for streamables
* Harvester periodically prints its plot names and sizes
* Process names are set to chia_full node, chia_harvester, etc
* CONTRIBUTING.md, and remove docs from git (put in wiki)
* Adds the SmallHeaderBlock type, it's header block without the PoT and PoSpace
* Fix harvester bug (allows two harvesters in the same machine)
2020-01-13 22:19:53 +09:00
Gene Hoffman ab5fc9b1b1
"in the FAQ" 2020-01-11 18:00:16 -08:00
Gene Hoffman 4aca30f620
Correct port 8444, add link to k sizes 2020-01-11 17:57:51 -08:00
Gene Hoffman 079ee2c6a0
"on port", not "in port" 2020-01-11 17:53:07 -08:00
Gene Hoffman 9c3a7e2ed3
Merge branch 'master' into docs-nits 2020-01-11 17:38:29 -08:00
Gene Hoffman b7c8514c80
Reformat apt-get install 2020-01-11 17:08:24 -08:00
Gene Hoffman c18b56b133
Update ubuntu install for git in 19.10
git isn't coming with build essentials so added it explicitly.
2020-01-11 17:07:06 -08:00
Gene Hoffman 102cae6f9e
Move python3 to code 2020-01-09 16:10:12 -08:00
Mariano Sorgente 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
Gene Hoffman b84672bc89
Link to FAQ 2019-12-26 12:37:44 -08:00
Gene Hoffman 8e671bbcd8
Mention boost minimum requirements
HT AdrianScott
2019-12-25 11:52:31 -08:00
Gene Hoffman 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
Gene Hoffman 5cdb1b07e3
Remove scm warning
Revert install instructions due to scm fix
2019-12-13 15:40:54 -08:00
Richard Kiss 64fba173ff
Update README.md.
Note that setuptools_scm requires `.git` directory
2019-12-13 13:22:12 -08:00
Gene Hoffman acdb83a11b
Merge pull request #48 from AdrianScott/AdrianScott-ubuntu-install-1
Added boost 1.71.0 req to Ubuntu instructions
2019-12-10 17:04:51 -08:00
Adrian Scott b17a88aa5e
Added boost 1.71.0 req to Ubuntu instructions
Added boost 1.71.0 requirement and links to Ubuntu installation instructions
2019-12-10 16:38:59 -05:00
Gene Hoffman da3ca16655
request upgrade of python 2019-12-08 00:46:58 -08:00
Gene Hoffman 8351468ac4
README.md formatting
And added a word
2019-12-05 10:43:24 -08:00
Gene Hoffman db39c9753e
Add requirement for UPnP
Describe UPnP or NAT firewall issues for IPv4 and link to a generic explainer.
2019-12-05 10:41:48 -08:00
Gene Hoffman 75db340710 Formatting 2019-12-03 18:21:31 -08:00
Gene Hoffman 92066bbaf5 Point folks to Mongo install instructions 2019-12-03 18:20:46 -08:00
Gene Hoffman 94f404e301 Update Readme - 50 PoSpace Hint added 2019-12-03 16:14:13 -08:00
Mariano Sorgente bee9ce7a54 Add more explanation of how to use simulation (#29)
* Add more explanation of how to use simulation

* Prevent simultanous TCP connection

* Small comment fix
2019-12-03 19:03:43 +09:00
Mariano Sorgente 402ea10e20 Sync changes (#27)
* Added a new API call GetAllHeaderHashes which returns just the header hashes. This is used for finding fork point.
* Only downloads headers and blocks from fork point
* Remove CancelledError logging
* Short sync should now work properly, it will always ask for previous block. There might be some repeated requests.
* Introducer now only returns peers which it has seen recently, and full node only connects to peers which it has heard from recently.
2019-12-02 22:47:09 +09:00
Gene Hoffman ca53b5be42 Update ubuntu instructions
make sure apt-get is up to date
Removed duplicate library requirements which are already in install.sh
2019-11-30 11:21:51 -08:00
Mariano Sorgente cb23889a87 Fix mistakes in readmee 2019-11-28 15:36:01 +09:00
Bill Blanke d4ddcb3ca6 fix for renamed scripts 2019-11-27 08:39:03 -08:00
Mariano Sorgente 8c20241273 Change block time to 5 min, 128 block epoch, default upnp 2019-11-28 00:35:48 +09:00
Mariano Sorgente 946f2b5f2e Merge pull request #24 from Chia-Network/faster-sync
Faster sync
2019-11-27 16:41:33 +09:00
Mariano Sorgente 52bc2fddf2 Faster sync algorithm, and requesting blocks 2019-11-27 16:21:48 +09:00
Gene Hoffman 86e75a88da Update README.md - enhance MacOS instructions
Added git cloning flint2 and how to get brew installed. Will update install.sh to compile and install flint2
2019-11-26 11:33:14 -08:00
Gene Hoffman 6a6bc10695 README.md
formatting
2019-11-26 10:05:36 -08:00
Gene Hoffman dbeeddc8b4 Update README.md
Adding dependencies and the other way to download and install
2019-11-26 10:04:58 -08:00
Mariano Sorgente f9cdf90fdd New command to start mongo 2019-11-22 17:35:52 +09:00
Mariano Sorgente 45be0ab0b8 Attempt to fix timeout issue 2019-11-22 15:53:04 +09:00
Mariano Sorgente 36017bd660 Merge, change names of scrips, change ports 2019-11-22 12:57:01 +09:00
Mariano Sorgente a722920d36 Merge branch 'install_scripts' into persist 2019-11-22 12:30:16 +09:00
fchirica 0e24cbea60 Simulate network working with old VDF Server exec 2019-11-20 22:56:48 +02:00
Mariano Sorgente 654c50ec93 Merge branch 'master' of github.com:Chia-Network/chia-blockchain into persist 2019-11-20 17:44:12 +09:00
Mariano Sorgente 2f0c84f75e Change introducer port, remove prints 2019-11-20 17:07:00 +09:00
Mariano Sorgente dfd3fd9676 Merge with latest master, bug fixes, cleanup 2019-11-20 16:28:26 +09:00
Gene Hoffman ba42a3b7bb Update README.md 2019-11-19 23:21:05 -08:00
Gene Hoffman fffb6c5576 Update README.md
Continuing to flush out actual install requirements
2019-11-19 22:53:59 -08:00
Gene Hoffman 0ed0227b3f Update README.md
added git clone and made sure to point out that server start should be backgrounded
2019-11-19 19:35:01 -08:00
Florin Chirica b2dc340b79 README typo 2019-11-19 01:29:57 +02:00
Alex Wice 3c3df3776e persist should work 2019-11-18 13:40:20 +09:00
Mariano Sorgente db3eac9fb9 Allow specifying an alternate plot directoey 2019-11-08 16:53:29 -05:00
Mariano Sorgente a479a506f9 Scripts (#14)
* Start block UI stuff

* Start with block search

* Create connections from the UI

* Add plot directory

* Add scripts for key generation, and plotting

* Remove keys and plot config

* Add scripts for key generation, and plotting

* Readme, comments
2019-11-08 16:51:01 -05:00
Mariano Sorgente c480a1c914 Clean up scripts for linux 2019-11-03 08:24:49 -08:00
Mariano Sorgente e65d9bad71 __bytes__, cbor, etc 2019-11-01 14:53:48 -07:00
Mariano Sorgente 3ec5064873 Merge branch 'master' of github.com:Chia-Network/chia-blockchain into prompt 2019-10-31 10:34:25 -07:00
Mariano Sorgente 5869538416 Start with block page, and remove global connections lock 2019-10-31 10:34:16 -07:00
Richard Kiss fae863af37 Improve installation a bit. 2019-10-30 15:25:19 -07:00
Richard Kiss 8b400d73fd Use lib version of prompt-toolkit. 2019-10-30 14:46:37 -07:00
Mariano Sorgente 32c7e0de40 SSH instructions 2019-10-30 14:38:16 -07:00
Mariano Sorgente bddb146df1 Merge branch 'uipot' into prompt 2019-10-30 01:37:43 +09:00
Mariano Sorgente 8bafbbaac7 Fix a few bugs 2019-10-29 12:33:32 +09:00
Mariano Sorgente 44fdd743db Start on prompt 2019-10-29 09:39:02 +09:00
Mariano Sorgente b4449fbe04 Fix error messages 2019-10-25 19:25:26 +09:00
Mariano Sorgente dfb7844dd1 Start with UI 2019-10-23 13:23:32 +09:00
Mariano Sorgente 0fef0b933e Changed to mypy from pyright, fix tests (full node still broken) 2019-10-22 16:44:01 +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
Mariano Sorgente c78d870ec1 Merge branch 'new_pot' of github.com:Chia-Network/chia-blockchain into new_pot 2019-10-10 13:51:26 +09:00
Mariano Sorgente a22e606f75 Merge 2019-10-10 13:04:52 +09:00
Mariano Sorgente 397925d29e Implement new formula, and added tests 2019-10-09 16:36:58 +09:00
fchirica 52a19e7aaf Sync with master 2019-10-07 20:02:34 +03:00
Mariano Sorgente 4f89752d62 Implement difficulty adjustment 2019-09-30 22:15:32 +09:00
Mariano Sorgente 1198273ee7 Merge branch 'master' of github.com:Chia-Network/chia-blockchain into network 2019-09-20 13:59:54 +09:00
Mariano Sorgente f658607a74 Network working with multiple peers 2019-09-20 13:57:22 +09:00
Rostislav 1234fcdb0e README.md: Add more installation instructions 2019-09-19 10:38:54 +03:00
Mariano Sorgente ff2915642e Timelord processes 2019-08-14 16:02:15 -03:00
Mariano Sorgente 005259a12d Timelord server, python vdf, calculate iterations, and multiple plots in plotter 2019-08-08 19:37:51 +09:00
Mariano Sorgente 3c9cbf7449 Fix errors, and merge tests 2019-08-05 15:16:08 +09:00
Mariano Sorgente 2c5fe392f4 Block created by full node 2019-07-30 15:54:26 +09:00
Mariano Sorgente 0ac150a29b More changes 2019-07-23 23:11:07 +09:00