4582 Commits
Author SHA1 Message Date
Gene HoffmanandGitHub a56796c587 Changelog for 1.1.3 (#3345)
* Changelog for 1.1.3

* minor updates

* updates part 3

* Those engineers who don't update changelogs... :)
1.1.3
2021-05-01 12:17:30 -07:00
Mariano SorgenteandGitHub fe257cdfe1 Improve wallet consistency (#3305)
* Improve wallet consistency

* Improve CLI significantly, and fix self-tx balances

* Fix await

* Fix deadlock and test

* Remove spam.sh
2021-05-01 15:13:04 -04:00
Mariano SorgenteandGitHub d044cbb763 2 harvesting features (#3331)
* 3 harvesting features:
- Debug level shows the time for every quality lookup
- Warning level if takes longer than 5 seconds
- Allow configuration of plot loading interval (default 2 minutes)

* Comment out super logging
2021-05-01 10:16:19 -07:00
Gene HoffmanandGitHub f19b7a410b Fix the final plot logging issue from the GUI (#3272) 2021-04-30 22:46:01 -07:00
YostraandGitHub 976678d651 More performance (#3279)
* speed

* more speed

* same event loop init

* typo

* sempahore

* ignore if more than semaphore

* higher_compact_semaphore

* don't ignore
2021-04-30 22:44:12 -07:00
Mariano SorgenteandGitHub 75d75de190 SES could corrupt DB. Also don't cancel a task which could lead to corrupt memory. (#3237) 2021-04-30 16:11:05 -04:00
Richard KissandGitHub a7f996b4dc Tests skipping mempool (#3065)
* Avoid importing `test_constants` as it takes a long time.

* Some new tests that circumvents mempool.

* Fix lint problems.
2021-04-30 10:23:45 -07:00
b084813b12 Improve streamable (#3031)
* Avoid importing `test_constants` as it takes a long time.

* Factor out `parse_*` functions.

* First crack at refactoring `Streamable.parse`.

* Don't add `_parse_functions` attribute to `Streamable`.

This no longer requires an extra `_parse_functions` attribute on a
`Streamable`, as it may be confusing serializers or other functions
that use `__annotations__`.

* Fix lint problems with `black`.

* Fix `parse_tuple`.

* Defer some parsing failures to parse time rather than class-creation time.

* Tidy up & remove some obsolete stuff.

* Decorate `RequestBlocks` as `streamable`.

* Fix wrong uses of Streamable class

Revert an earlier commit and error out on class creation in case a
Streamable subclass is instantiated incorrectly, e.g. containing a
non-serializable member.

Fix cases where Streamable parent class was forgotten.

* Fix wrong types when creating DerivationRecord and WalletCoinRecord

* additional unit tests for streamable parsers

* add type annotations (#3222)

Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
Co-authored-by: arvidn <arvid@libtorrent.org>
2021-04-30 10:22:11 -07:00
Gene HoffmanandGitHub 977928607c Update CLI tools to use EiB when appropriate. (#3117) 2021-04-30 10:19:34 -07:00
JoelandGitHub c75bf4b2f4 fix takes 1 positional argument but 2 were given (#3202) 2021-04-30 10:18:20 -07:00
wjblankeandGitHub 33a0c4c6ba wait to end of process to avoid zombies (#3160) 2021-04-30 10:17:43 -07:00
YostraandGitHub 44728ff98d increase ratio (#3155) 2021-04-30 10:14:56 -07:00
wjblankeandGitHub 10dce11b42 fix plot dupe (#3154) 2021-04-29 22:39:39 -07:00
YostraandGitHub 17c45bf64e just filter limit (#3152) 2021-04-30 01:00:09 -04:00
Kyle AltendorfandGitHub a8d868efeb Copyright 2021 Chia Network in LICENSE (#3153) 2021-04-29 21:44:40 -07:00
YostraandGitHub f740056fb2 remove commit and not needed query (#3148) 2021-04-30 00:22:18 -04:00
eb21a64d2f Update GUI for plot refresh issue (#3135)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-29 15:46:45 -07:00
Arvid NorbergandGitHub 6cde47d112 cache VDF validation results (per process) (#3110) 2021-04-29 13:34:04 -07:00
637177519a Add announcements for standard tx (#3023)
* changed bahviour of wallet and wallet tools for standard solutions

* black formatting wallet_tools

* added a test for hypothetical stolen zero_output coin

* swap to sha256 from sha256tree for message

* fix wallet_tools version, address lint issues

* correctly int_from_bytes

* fix uninstantiated key in dict

* Comment out broken test

* Fix types (used SerializedProgram)

Co-authored-by: Mariano <sorgente711@gmail.com>
2021-04-30 03:13:00 +09:00
Mariano SorgenteandGitHub e611bef223 Use secure coin ids (#3095) 2021-04-29 13:30:24 -04:00
Antonio Borrero GranellandGitHub ad205d9cd6 Fix typo (#3069) 2021-04-29 13:30:07 -04:00
Mariano SorgenteandGitHub e3ab63a472 Ms.empty blocks3 (#3064)
* Fix empty blocks

* Remove error log

* Missing imports

* .header_hash instead of .prev_hash in simulator
2021-04-29 16:14:16 +09:00
YostraandGitHub 5f9f63155d Add lock, keep cache consistent (#3051)
* execute task decorator

* use blockchain lock

* indentation

* lint

* execute_task
2021-04-29 16:13:00 +09:00
J EckertandGitHub 7cfc07d23d Added new issue templates (#3033)
* added new issue templates for support and requestes

* spelling is hard...
2021-04-28 19:18:11 -07:00
8bb081fb95 Update gui submodule (#3042)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-28 15:27:44 -07:00
0f57b11af5 Fix memory bloat when displaying plot logs in GUI by sending only new changes (#2847)
* Fix memory bloat when displaying plot logs in GUI by sending only new changes

* Add updated lines field to plot logs message

* Send full log during service connection, and send log updates every time

* updated plot logs
fixed removing of the plots from the queue

* used message from main process

* used just one plot for serial plotting

* lint format

Co-authored-by: Adam Kelly <aqk@aqk.im>
Co-authored-by: Zlatko <zlatko@chia.net>
2021-04-28 14:52:48 -07:00
Will BendickandGitHub 0810f4ab74 locks on updates to plot_ids (#3036) 2021-04-28 14:22:22 -07:00
ea10fcb0fe Don't show mnemonic seed by default in chia keys show (#3032)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-28 12:45:37 -07:00
Mariano SorgenteandGitHub 621c13c249 Improve safety of coin store (#2984)
* Improve safety of coin store

* Add test for exception

* Fix issue with fork_point_with_peak
2021-04-28 15:27:56 -04:00
Mariano SorgenteandGitHub b4f316555d Decrease mempool size temporarily (#3018) 2021-04-28 10:53:29 -07:00
Mariano SorgenteandGitHub 8aed3645be 1,2,3 mojo attack prevention (#3017) 2021-04-28 10:52:22 -07:00
wjblankeandGitHub ec48e968a9 increase wp timeout from 3 minutes (2 megabit) to 6 minutes (1 megabit) (#3022) 2021-04-28 10:51:18 -07:00
Almog De PazandGitHub 2d4159d0b6 show syncing on long sync (#2985) 2021-04-28 10:50:44 -07:00
Almog De PazandGitHub eae1cb6220 check summaries on long sync (#2894)
* check summaries against wp on long sync

* lint

* move summary check to receive_block

* lint

* lint

* ban peer if bad response during batch sync

* fix typo
2021-04-28 10:50:16 -07:00
Mariano SorgenteandGitHub cb054ef72b Hopefully reduce chances of nonce collision (#2161)
* Hopefully reduce chances of nonce collision

* No collisions
2021-04-28 13:34:32 -04:00
YostraandGitHub 92cd23cbaf Filter test (#2980)
* reenable

* lint
2021-04-28 17:17:09 +09:00
YostraandGitHub 4ef3777119 Avoid multiple requests (#2860)
* avoid dupe requests

* move to store, clean tasks

* linting

* limit

* 10peers,5sec
2021-04-28 02:58:45 -04:00
Yostra 47e6f0d4c6 count and time 2021-04-28 02:44:52 -04:00
Yostra a614430952 cache and retry after 10 min and on startup 2021-04-28 02:29:15 -04:00
matt-o-howandGitHub c1846b0f49 Singleton improvements (#2286)
* Changed singleton to take puzzlehash as origin.
Updated DID wallet to use this

* fixed hex and sha256tree for singleton puzzle

* require more signature for DID spends

* fix singleton tests
black format did wallet

* fix broken test
fix linting
switch to inline functions

* remove unused defuns from singleton_top_layer
2021-04-27 11:25:33 -07:00
Almog De PazandGitHub 50164d16d3 Farm while syncing (#2195)
* add long sync lock

* lint

* test getting new high peak while synced

* lint

* fix logs
2021-04-27 11:05:16 -07:00
An LongandGitHub cb625117db add more type hints (#2816) 2021-04-27 11:00:41 -07:00
Mariano SorgenteandGitHub cdf9e1aaaa Add tests for LRU and coin store (#2925) 2021-04-27 10:58:59 -07:00
Arvid NorbergandGitHub 8717ca4b02 Leave programs in SpendBundle serialized (#2380) 2021-04-27 10:52:21 -07:00
Dave JohnsonandGitHub a2401ccfd4 Allow install as root on minimal attack surface OSes (#2871)
pip is not accessible to root on many limited core OS distros. Launching explicitly via python resolves for all
2021-04-27 01:24:24 -07:00
Will BendickandGitHub c75b826808 bytes to hex (#2856)
* converts bytes to hex

* line too long
2021-04-26 23:22:44 -07:00
YostraandGitHub a929ec889e Use lru cache (#2433)
* use lru cache

* use new func

* cache block after write is done

* dont iterate as orederd dict
2021-04-26 23:21:58 -07:00
YostraandGitHub d88697ef42 more speed (#2223) 2021-04-26 23:21:24 -07:00
YostraandGitHub 4c98dd2b71 decorator (#2221) 2021-04-26 23:21:04 -07:00
ZlatkoandGene Hoffman c8a7cb4b89 node version 10.x => 12.x 2021-04-26 16:40:30 -07:00