Commit Graph

4701 Commits

Author SHA1 Message Date
justinengland 36f8eae04e fixing line too long 2021-05-05 18:19:45 -06:00
justinengland d4f2199c3a spacing 2021-05-05 18:19:45 -06:00
justinengland d77c70bd4c better wording 2021-05-05 18:19:45 -06:00
justinengland bce1c3fbe3 making easier to configure testnet settings 2021-05-05 18:19:45 -06:00
justinengland ae9c2668bc removing _ 2021-05-05 18:19:45 -06:00
justinengland 7d32527706 fixing bad selectec network key 2021-05-05 18:19:45 -06:00
justinengland 5833b1f7a5 making port an int for printing 2021-05-05 18:19:45 -06:00
justinengland fbe5ec3632 adding argument to configure function preamble 2021-05-05 18:19:45 -06:00
justinengland bff9e4a248 adding configure options. removing old testnets 2021-05-05 18:19:45 -06:00
Adam Kelly 0fbf998bf7
Changelog for 1.1.4 (#3734)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-05-04 16:48:30 -07:00
Mariano Sorgente 88310d6142
Mempool sorting and accept reverted pending transactions (#3683)
* Sort by fee/cost, and fix pending tx issue in reorgs

* Fix test name

* Bring the seen list size back to normal.
2021-05-04 11:21:27 -07:00
Mariano Sorgente c72d065f6b
Fix test (#3350) 2021-05-04 09:34:48 -07:00
Arvid Norberg b759958d13
fix indentation issue in message send retry logic. factor out retry coroutine (#3629) 2021-05-04 22:28:58 +09:00
Almog De Paz 859a080637
brake if end of ses list (#3583)
* brake if end of ses list

* log

* throw if wp peak is not heavier

* comment

* handle sync from scratch

* comment
2021-05-03 18:40:12 -07:00
Adam Kelly faa5c832d1
hide secret wallet key by default with 'chia keys show' (#3565)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-05-03 12:55:00 -07:00
Arvid Norberg 912dc84663
don't increment counters for outgoing messages blocked by the rate limit. (#3518)
This was causing a problem where outbound messages, blocked by the rate limiter,
would still increment the counters as-if they had been sent. This, in turn,
could cause other message types to get blocked becuase the rate limiter thought
we had sent a lot of the other (blocked) message type.
2021-05-03 11:18:29 -07:00
Mariano Sorgente 5ce1bfc34c
Don't retry respond_peers message (#3508) 2021-05-03 18:58:17 +09:00
Arvid Norberg ca4b25210b
Rust parse serialized (#3444)
* use rust implementation for finding length of a serialized clvm program

* bump clvm_rs version
2021-05-03 18:58:01 +09:00
Gene Hoffman 74f7d97a4a
Apologies to @Chida82 who added log rotate count! (#3369) 2021-05-02 10:24:16 -07:00
Gene Hoffman a56796c587
Changelog for 1.1.3 (#3345)
* Changelog for 1.1.3

* minor updates

* updates part 3

* Those engineers who don't update changelogs... :)
2021-05-01 12:17:30 -07:00
Mariano Sorgente 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 Sorgente 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 Hoffman f19b7a410b
Fix the final plot logging issue from the GUI (#3272) 2021-04-30 22:46:01 -07:00
Yostra 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 Sorgente 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 Kiss 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
Richard Kiss 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 Hoffman 977928607c
Update CLI tools to use EiB when appropriate. (#3117) 2021-04-30 10:19:34 -07:00
Joel c75bf4b2f4
fix takes 1 positional argument but 2 were given (#3202) 2021-04-30 10:18:20 -07:00
wjblanke 33a0c4c6ba
wait to end of process to avoid zombies (#3160) 2021-04-30 10:17:43 -07:00
Yostra 44728ff98d
increase ratio (#3155) 2021-04-30 10:14:56 -07:00
wjblanke 10dce11b42
fix plot dupe (#3154) 2021-04-29 22:39:39 -07:00
Yostra 17c45bf64e
just filter limit (#3152) 2021-04-30 01:00:09 -04:00
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