Commit Graph

4668 Commits

Author SHA1 Message Date
Kyle Altendorf a8d868efeb
Copyright 2021 Chia Network in LICENSE (#3153) 2021-04-29 21:44:40 -07:00
Yostra f740056fb2
remove commit and not needed query (#3148) 2021-04-30 00:22:18 -04:00
Adam Kelly 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 Norberg 6cde47d112
cache VDF validation results (per process) (#3110) 2021-04-29 13:34:04 -07:00
matt-o-how 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 Sorgente e611bef223
Use secure coin ids (#3095) 2021-04-29 13:30:24 -04:00
Antonio Borrero Granell ad205d9cd6
Fix typo (#3069) 2021-04-29 13:30:07 -04:00
Mariano Sorgente 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
Yostra 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 Eckert 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
Adam Kelly 8bb081fb95
Update gui submodule (#3042)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-28 15:27:44 -07:00
Adam Kelly 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 Bendick 0810f4ab74
locks on updates to plot_ids (#3036) 2021-04-28 14:22:22 -07:00
Adam Kelly 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 Sorgente 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 Sorgente b4f316555d
Decrease mempool size temporarily (#3018) 2021-04-28 10:53:29 -07:00
Mariano Sorgente 8aed3645be
1,2,3 mojo attack prevention (#3017) 2021-04-28 10:52:22 -07:00
wjblanke 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 Paz 2d4159d0b6
show syncing on long sync (#2985) 2021-04-28 10:50:44 -07:00
Almog De Paz 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 Sorgente cb054ef72b
Hopefully reduce chances of nonce collision (#2161)
* Hopefully reduce chances of nonce collision

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

* lint
2021-04-28 17:17:09 +09:00
Yostra 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-how 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 Paz 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 Long cb625117db
add more type hints (#2816) 2021-04-27 11:00:41 -07:00
Mariano Sorgente cdf9e1aaaa
Add tests for LRU and coin store (#2925) 2021-04-27 10:58:59 -07:00
Arvid Norberg 8717ca4b02
Leave programs in SpendBundle serialized (#2380) 2021-04-27 10:52:21 -07:00
Dave Johnson 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 Bendick c75b826808
bytes to hex (#2856)
* converts bytes to hex

* line too long
2021-04-26 23:22:44 -07:00
Yostra 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
Yostra d88697ef42
more speed (#2223) 2021-04-26 23:21:24 -07:00
Yostra 4c98dd2b71
decorator (#2221) 2021-04-26 23:21:04 -07:00
Zlatko c8a7cb4b89 node version 10.x => 12.x 2021-04-26 16:40:30 -07:00
Rostislav Skudnov 1f16bca87f
Update and re-enable Merkle set test (#2824)
Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
2021-04-26 11:20:08 -07:00
Mariano Sorgente cc1aba8c3b
Ms.ph scan (#2808)
* Work on offline signing

* Fix lint
2021-04-26 11:18:29 -07:00
Mariano Sorgente e76bf3dad5
Create puzzle hashes in normal operation (#2783) 2021-04-26 11:16:31 -07:00
Martin Mihaylov 59de4ffe9f
Add back logging for added coins (#2720)
It was removed in commit ee3dfb9eb1 for
unknown reason. A few people on keybase have learned to rely on it to
check for new coins being received by their wallet. Arguably not the
best way to do so but seems like a useful log output to have in general.
2021-04-26 01:23:25 -07:00
An Long e6f3db4e6a
Using the top level exceptions from aiohttp (#2700) 2021-04-26 01:23:06 -07:00
An Long 6027e8707c
fix type hint of harvester rpc client (#2706) 2021-04-26 01:22:31 -07:00
Martin Mihaylov e7304c594b
CONTRIBUTING: Update with src -> chia renaming (#2721) 2021-04-25 09:46:34 -07:00
An Long 1ec9444950
Fix type hint error (#2605) 2021-04-24 22:33:26 -07:00
An Long 6b0a70ff8e
Raise error when convertbits got invalid data (#2612) 2021-04-24 22:32:40 -07:00
Gene Hoffman 82c39c4077 Update chglg for 1.1.2 release 2021-04-24 20:50:09 -07:00
Christopher d0649fb574
change default buffer size to 3389 (#2320) 2021-04-24 14:56:19 -07:00
Chida82 79ecc40d15
Add max files in rotation (#2502) 2021-04-24 02:17:36 -07:00
An Long 560074dc2c add more type annotations 2021-04-23 21:26:19 -07:00
Yostra 788b630487
More accurate fork point (#2428) 2021-04-23 14:08:15 -07:00