Commit Graph
413 Commits
Author SHA1 Message Date
wjblankeandGitHub bdd52e7fd4 Merge pull request #100 from Chia-Network/alpha-1.4
Alpha 1.4

1. Compiling and execution now detect AES-NI, or a lack of it, and fall back to a software AES implementation. This adds support for Raspberry Pi 4, related ARM processors and Celeron processors. 
2. Added install instructions for CentOS/RHEL 8.1. Thanks to @A-Caccese for fixes to Windows WSL instructions.
3. Due to changes to the sqlite database that are not backwards compatible so re-synch will be required. Loading the blockchain only loads headers into memory instead of header blocks (header + proofs), speeds up the startup, and reduces normal operation memory usage by 80%. Memory access is now synchronous to reduce use of locks and speed up block processing.
4. Chia fullnode, farmer and harvester now default to logging to chia.log in the chia-blockchain directory. This is configured in config.yaml and due to config.yaml changes it is recommended to edit the new template config instead of using older config.yaml’s from previous versions.
5. Plotting working directory and final directory can both be specified in config.yaml
6. uvloop is now an optional add on.
7. Plotting now logs a timestamp at each major step. Thanks @dkackman who also fixed some compiler warnings. Additionally harvester/farmer will not try to farm plots that they don’t have the key for.
8. Added support for Python 3.8.
alpha-1.4
2020-02-19 20:38:32 -08:00
Gene HoffmanandGitHub 248cbbfe45 Update CentOS 7.7 - lib dir
Add LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib for CentOS 7.7 install
2020-02-19 15:35:17 -08:00
Gene HoffmanandGitHub 4e3e0dc6d7 Merge pull request #99 from Chia-Network/new-platforms
RHEL/Centos 8.1
2020-02-19 14:58:18 -08:00
Don KackmanandGitHub b0f48c1a25 fix signed-unsigned comparison warning (#98) 2020-02-14 12:59:38 -05:00
Gene HoffmanandGitHub fa64c4afae Merge pull request #97 from A-Caccese/master
Update README.md for WSL alternative clarification - resolve merge conflict.
2020-02-11 12:28:49 -08:00
Gene HoffmanandGitHub 9e87a5088a Merge branch 'alpha-1.4' into master 2020-02-11 12:28:12 -08:00
Antonio CacceseandGitHub 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 5676e5ca9d Don't allow farming plots with wrong key 2020-02-07 14:55:52 -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
Gene HoffmanandGitHub b15f50b66f Merge pull request #89 from dkackman/alpha-1.4
Log phase start and end time
2020-02-02 11:59:14 -08:00
Don KackmanandGitHub 88a30d05cf Merge pull request #1 from dkackman/log-event-time
Log phase start/end time
2020-02-02 13:33:54 -06:00
Don Kackman c84c99212e log timestamp at start and end of each phase 2020-02-02 10:33:38 -06:00
Gene HoffmanandGitHub 22991687d8 UI should say "Synced" instead of "Not Syncing"
UI spends most of it's life Synced so change from the negative tense
2020-02-01 23:14:12 -08:00
Gene HoffmanandGitHub 3a7cab800d Specify CentOS 7.7 2020-01-27 23:19:56 -08:00
Gene HoffmanandGitHub ea94c5c2bf Install actually RHEL 8.1 2020-01-27 22:19:47 -08:00
Gene HoffmanandGitHub fb2ccbfb75 Lower boost requirements to 1.66 per RHEL
Boost 1.66 is good enough
2020-01-27 21:12:35 -08:00
Gene HoffmanandGitHub 1e2e5575f3 Missing sqlite req for RHEL 8 2020-01-27 20:49:38 -08:00
Gene HoffmanandGitHub a679aedcf5 Typo in RHEL VDF instructions 2020-01-27 20:46:56 -08:00
Gene HoffmanandGitHub 3e06d9bbbe Add RHEL 8 VDF install instructions 2020-01-27 20:45:48 -08:00
Gene HoffmanandGitHub b851444235 RHEL8 farmer/fullnode install instructions 2020-01-27 20:36:50 -08: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
Mariano SorgenteandGitHub 88e991c67f Optional uvloop (#83)
* uvloop is an optional dependency
2020-01-23 14:19:47 +09:00
Mariano SorgenteandGitHub f2d539013b Fix node starting script (#85) 2020-01-22 17:54:29 +09:00
Mariano SorgenteandGitHub aea467a952 Fix node starting script (#85) 2020-01-22 17:53:12 +09:00
wjblankeandGitHub 4eebd0956c Merge pull request #84 from Chia-Network/alpha-1.3
Alpha 1.3

FullNode performance improvements - Syncing up to the blockchain by importing all blocks is faster due to improvements in VDF verification speed and multithreading block verification. Also fixed a bug where the node may not sync if it restarts close to a tip.
VDF improvements - VDF verification and generation speed has increased and dependence on flint2 has been removed. We wish to thank Dr. William Hart (@wbhart) for dual licensing parts of his contributions in [FLINT](http://www.flintlib.org/) and [Antic](https://github.com/wbhart/antic) for inclusion in the Chia blockchain.
Implemented an RPC interface with JSON serialization for streamables - currently on port 8555 - and moved the ssh UI to use RPC.
Mongodb deprecated. Moved to [SQLite](https://www.sqlite.org/) for the blockchain database. This will require nodes to re-sync with the network. Luckily this is now faster.
Changed the displayed process names for harvester, farmer, fullnode, timelords, and VDFs to to chia_full node, chia_harvester, etc. Fixed a bug that could cause inadvertent shutdown of other processes like an ongoing plotting session when new chia services were started.
Added details on how to contribute in CONTRIBUTING.md. Thanks @RichardLitt. Also moved documentation from inside the repository to the [wiki](https://github.com/Chia-Network/chia-blockchain/wiki).
Added color logging and now chia_harvester will periodically announce which plots it is currently farming and their k sizes.
Fixed a typo in the UI. Hat tip to @lvcivs for the pr.
Clarified the minimum version of boost required to build timelord/VDFs. Hat tip @AdrianScott
Lots of smaller bug and documentation fixes.
alpha-1.3
2020-01-21 17:55:01 -08:00
Bill Blanke 9db48385ff flake8 fix 2020-01-21 12:39:10 -08:00
Bill Blanke 83388d9198 temporarily remove multiprocessing until we have more work to do 2020-01-21 11:51:41 -08:00
Rostislav 169852d13b fast_vdf: Fix memory leak in qfb_nudupl 2020-01-21 16:07:28 +02:00
Mariano SorgenteandGitHub c37222d0d5 Reduce memory requirement by clearing header list (#82) 2020-01-21 22:47:53 +09:00
Gene HoffmanandGitHub 035a8df046 Merge pull request #78 from Chia-Network/install-tests-1.3
Update install for Ubuntu, CentOS, Amzn
2020-01-20 19:59:41 -08:00
Mariano SorgenteandGitHub cf93472d30 Temporary fix for CI issue (#81)
Updates cbor to 5.0.0, tweak github workflow.
2020-01-21 12:25:35 +09:00
Gene HoffmanandGitHub 13413c8da0 Update install for Ubuntu, CentOS, Amzn 2020-01-18 19:13:28 -08:00
Gene HoffmanandGitHub 7cef9a8eee Merge pull request #76 from fisehara/alpha-1.3
Confirmed new minimal MacOS install instructions
2020-01-18 16:24:11 -08:00
Gene HoffmanandGitHub 49dff81857 Merge branch 'alpha-1.3' into alpha-1.3 2020-01-18 16:23:21 -08: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
Gene HoffmanandGitHub a443ec32fc Add Copyright to CONTRIBUTING.md
Fix typos.
2020-01-18 12:57:31 -08:00
Gene HoffmanandGitHub 1fe7a7bde4 CONTRIBUTING.md - Copyright licensing 2020-01-18 12:53:50 -08:00
fiseharaandGitHub 20674da0d2 Update README.md 2020-01-18 21:49:06 +01:00
Gene HoffmanandGitHub b4c45bd9f5 Revert requirement for Python 3.7.5 on MacOS 2020-01-18 12:24:18 -08:00
Gene HoffmanandGitHub 76a93c4a38 Add Trello to CONTRIBUTING.md 2020-01-17 15:09:13 -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
Gene HoffmanandGitHub ea52f26070 Add MacOS Python 3.7.5 minimum requirement 2020-01-15 13:13:03 -08:00
Gene HoffmanandGitHub 78e02cefb4 Merge pull request #74 from Chia-Network/sqlite-blockchain_x.db
Change db name to blockchain_x.db
2020-01-14 23:00:08 -08:00
Gene HoffmanandGitHub fba486ec9c Move tests to blockchain.db 2020-01-14 22:40:26 -08:00
Gene HoffmanandGitHub 28ba54722c Move tests to blockchain.db 2020-01-14 22:39:34 -08:00
Gene HoffmanandGitHub 7026ad4a04 Change tests to blockchain.db 2020-01-14 22:36:18 -08:00
Gene HoffmanandGitHub 0f9ddfb2bb Ignore blockchain_test 2020-01-14 22:27:34 -08:00
Gene HoffmanandGitHub 2a002ab7b8 Change db name to blockchain_x.db 2020-01-14 22:25:43 -08:00