Commit Graph
14659 Commits
Author SHA1 Message Date
Gene HoffmanandGitHub aaa583051c Fix flake8 formatting issue 2020-03-16 23:51:09 -07:00
Yostra 1aabe0c962 no guarantee lca is actually 3 behind 2020-03-16 22:42:48 -07:00
Yostra d935dd4ec0 fix test 2020-03-16 22:42:25 -07:00
Gene HoffmanandGitHub fb224d9a2b Merge pull request #120 from xorinox/patch-3
Update harvester.py to report corrupt plot files
2020-03-16 22:34:47 -07:00
xorinoxandGitHub ed5a1f0ed6 Update harvester.py
Once in a while I would run into this issue:
Harvester src.harvester         : ERROR    02:43:26.358 Error using prover object. Reinitializing prover object.
Harvester src.server.server     : ERROR    02:43:26.398 Error <class 'RuntimeError'> Caught an unknown exception!, closing connection Connection(('127.0.0.1', 8447), server_port 8447)
Farmer src.server.server        : WARNING  02:43:26.399 Connection error by peer ('127.0.0.1', 43144), closing connection.

Chasing it down it was related to malformed/corrupted plot files. They had an unexpected size. I changed the code so the re-try of calling prover.get_qualities_for_challenge() is also wrapped in a try/except block. The loop for index, quality_str in enumerate(quality_strings) should only be executed when either calls to get_qualities_for_challenge() did not yield an exception. If an exception was caught, the error message should actually print the plot file causing the exception.
2020-03-17 01:30:52 -04:00
Yostra cc02b94560 test transaction broadcast; 2020-03-16 22:22:59 -07:00
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
Yostra 8542bda11d cost os zero and less is invalid 2020-03-16 21:16:51 -07:00
Yostra 128102a2cd cost and fees are in reverse order 2020-03-16 21:16:22 -07:00
Mariano Sorgente 1601d13ce0 Header block verification 2020-03-17 13:02:57 +09:00
Yostra 401120e43b advertise new transaction 2020-03-16 15:09:54 -07:00
fchirica 694ad4e1f5 Add potential clients before sending stop signal 2020-03-16 22:33:35 +02:00
Mariano Sorgente 035ba54141 Merge branch 'integration' of github.com:Chia-Network/chia-blockchain into light-verification 2020-03-16 16:25:03 +09:00
Mariano Sorgente 161dedd7ea Merge branch 'integration' of github.com:Chia-Network/chia-blockchain into integration 2020-03-16 16:21:22 +09:00
Mariano Sorgente 1220bd1aa2 Fix two bugs reported by straya 2020-03-16 16:19:01 +09:00
Yostra 2c855ffc97 cache unspent coins in memory, don't request tx while syncing 2020-03-13 21:02:53 -07:00
Yostra 520d7a3cda funciton not property 2020-03-13 21:02:53 -07:00
Yostra 6ccba344a4 we need both in order to finish a block 2020-03-13 20:12:09 -07:00
Yostra de7b38ae78 temp hack 2020-03-13 19:34:43 -07:00
Yostra 6feeb1ccac don't update on every tx, use value 2020-03-13 19:25:23 -07:00
Yostra b7c82d1088 use chia unit in transactions 2020-03-13 18:14:05 -07:00
Yostra 507cdf8c42 make transaction table scrollable 2020-03-13 18:14:05 -07:00
Yostra 864fd11541 return -1 if empty 2020-03-13 18:14:05 -07:00
Yostra 2286651eb3 use hd keys for wallet target 2020-03-13 18:14:05 -07:00
YostraandGitHub 168a936947 Merge pull request #118 from Chia-Network/tlsintegrationwjb
Tlsintegrationwjb
2020-03-13 16:26:21 -07:00
Bill Blanke 1fbb3d7235 removed cli for tests 2020-03-13 14:46:34 -07:00
Bill Blanke bfea03ed48 mypy 2020-03-13 10:22:56 -07:00
Bill Blanke 9a64bdd2ed configd ssl 2020-03-13 09:57:42 -07:00
Bill Blanke 92a3dab772 log flake8 2020-03-13 09:11:17 -07:00
Bill Blanke 36de9eafc0 simple tls for integration 2020-03-13 08:48:25 -07:00
Yostra 284de7e14c wallet use introducer 2020-03-12 18:32:59 -07:00
Yostra 61ebc39f47 log stack trace 2020-03-12 18:28:43 -07:00
Yostra 15373d0109 introducer peer count 2020-03-12 18:26:17 -07:00
Yostra f089885378 use wallet target for farmer and pool 2020-03-12 16:04:40 -07:00
Yostra 44690abdec use wallets puzzlehash as target for farmer 2020-03-12 15:49:33 -07:00
Yostra 40ec288efb format 2020-03-12 15:28:01 -07:00
Yostra a995a460cd use units, chia - mojo 2020-03-12 15:27:21 -07:00
Yostra e33d92134f move sync_mode to WSM, state change for new block 2020-03-12 12:53:50 -07:00
Yostra 65c8629f6f get height, sync status, peer info 2020-03-12 12:53:06 -07:00
Yostra 1dd02fe55c get height and syncing status 2020-03-12 10:59:04 -07:00
Yostra 3196b100d9 connect ot introducer if not testing 2020-03-12 10:59:04 -07:00
Yostra 6d4793ef2a formatting 2020-03-12 10:59:04 -07:00
Yostra 0b80faa6b3 update balance, use only one html file 2020-03-12 10:59:04 -07:00
Yostra e126313984 bytes, not string 2020-03-12 10:59:04 -07:00
Yostra d63dd1888a get logging from child process 2020-03-12 10:59:04 -07:00
Mariano Sorgente 16a1627b6f Fix script typo 2020-03-12 15:21:48 +09:00
Mariano Sorgente 3e74649930 Fix sync test 2020-03-12 15:05:28 +09:00
Mariano Sorgente 5a2dfd09e8 Merge branch 'integration' into light-verification 2020-03-12 14:11:37 +09:00
Mariano Sorgente 7b00daaeb3 Fix filter test 2020-03-12 13:44:40 +09:00