Commit Graph
28 Commits
Author SHA1 Message Date
Gene HoffmanandGitHub 85f7b81e1a Merge pull request #119 from xorinox/patch-2
Process shutdown fix - Thanks for your submission!
2020-03-16 22:17:52 -07:00
xorinoxandGitHub a13eae2b70 Update common.sh
After terminating the full node (ctrl+c) I found that in some cases one or several python processes still run. After investigating I found the the _kill_servers() method is actually not killing the processes as it didn't specify SIGKILL. By default kill will send SIGTERM which _term() was already doing.
2020-03-17 00:57:23 -04:00
fchirica 91d7d2cd20 Launcher: refactor, stopping, add process logging 2020-03-10 00:05:27 +02:00
Gene Hoffman 0526910a72 Improved harvester restart logic 2020-03-09 14:08:13 -07:00
Gene Hoffman 332eabfb70 Created restart_harvester.sh 2020-03-09 13:43:42 -07:00
Florin ChiricaandGitHub 84fcee1867 Fix stopping script 2020-03-05 19:34:29 +02:00
xorinoxandGitHub 31c5201011 Update create_plots.py (#107)
The proposed change allows to call create_plots.py with an optional index, so ranges of plots can be generated, that don't overlap.
2020-03-02 14:27:05 +09: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
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
Gene HoffmanandGitHub e220285a33 "*" matches 0 or more of "_" so remove it
Using a shell glob instead of matching the precise regex
2020-01-14 19:49:11 -08:00
Mariano SorgenteandGitHub 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
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
Mariano SorgenteandGitHub 4cbd168527 Increase block reward to 16 trillion mojos and change displlay (#34) 2019-12-04 17:11:17 +09:00
Mariano SorgenteandGitHub 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 SorgenteandGitHub 54a87c9ccc Changes (#28)
* Sync changes
* Add recent peer threshold to full node
* Change farmer to weight instead of height
* Remove asyncio cancel, and add visibility of farming rewards
2019-12-03 03:38:00 +09:00
Mariano SorgenteandGitHub 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
Mariano Sorgente b589d5d3e7 Drop database script 2019-11-28 01:08:42 +09:00
Mariano Sorgente 52bc2fddf2 Faster sync algorithm, and requesting blocks 2019-11-27 16:21:48 +09:00
Mariano Sorgente 91c25001d7 Implement faster sync 2019-11-27 14:25:11 +09:00
Mariano Sorgente 26b92997a8 Docs, optimizations 2019-11-27 09:55:23 +09:00
Mariano Sorgente 550e88c39e Start work on local API 2019-11-26 15:23:17 +09:00
Mariano Sorgente 96531cc332 Small tweaks 2019-11-22 17:04:23 +09:00
Mariano Sorgente 45be0ab0b8 Attempt to fix timeout issue 2019-11-22 15:53:04 +09:00
Mariano Sorgente 16f61afe4c Run mongo within each script, not in common 2019-11-22 14:23:39 +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
Mariano Sorgente dfd3fd9676 Merge with latest master, bug fixes, cleanup 2019-11-20 16:28:26 +09:00
Alex Wice 3c3df3776e persist should work 2019-11-18 13:40:20 +09:00