Commit Graph
14659 Commits
Author SHA1 Message Date
justinenglandandJustin England f9cf76e0bc moving printed output inside of if to know if the command runs 2021-05-18 17:33:46 -06:00
justinenglandandJustin England 576bc017a9 == vs === 2021-05-18 17:33:46 -06:00
justinenglandandJustin England 5ed477ecf0 == vs is 2021-05-18 17:33:46 -06:00
justinenglandandJustin England 8bff69490a adding : 2021-05-18 17:33:46 -06:00
justinenglandandJustin England 9873679680 adding false setting to reset back to mainnet 2021-05-18 17:33:46 -06:00
Gene HoffmanandGitHub 0af10068ce Clearly prohibit root from installing the GUI (#5232)
* GUI should not build or run as root

* Use id -u instead

* shellcheck
2021-05-18 11:40:26 -07:00
Will BendickandGitHub 880df53f72 sets up wallet before running farm summary (#3235)
* sets up wallet before running farm summary

* fixes call to summary

* moves wallet peers discovery to after backup is initialized
2021-05-18 11:38:06 -07:00
Mariano SorgenteandGitHub 1c808b6c29 Ms.spikes4 (Fix duplicate signage points) (#4844)
* Fix duplicate signage point spikes

* Block record not hash

* Fix bugs in signage point cache

* Fix test, and log in debug level

* Change transaction logging to info

* More logging improvements
2021-05-16 11:33:47 -07:00
Florin ChiricaandGitHub 7012ca9e07 Speedup outbound connections. (#5124)
* Initial commit.

* Fix typo.

* Retry each node once every 30 mins.

* Flake8.

* mypy.

* Bound number of concurrent outbound connections.

* Blank line.
2021-05-15 23:07:39 -07:00
Will BendickandGitHub 39ef69643b release upnp ports on shutdown (#4024)
* release upnp ports on shutdown

* lint

* explicitly removes port mapping first to handle possible unclean shutdowns

* catches exception

* moves upnp setup to thread

* lint

* moves upnp logic to a message queue on a worker thread

* lint
2021-05-14 14:11:19 -07:00
92282fb954 Performance benchmark test (#4942)
* Performance benchmark

* dump profiles for the full node benchmarks

Co-authored-by: arvidn <arvid@libtorrent.org>
2021-05-14 14:08:18 -07:00
Arvid NorbergandGitHub 5863cccf4c a minor simplification in add_spendbundle (#5014) 2021-05-14 13:26:04 -07:00
Arvid NorbergandGitHub a7d607ee90 block_store performance (#4573)
* compute header_hash once

* read header_hash from the DB instead of computing it
when adding a block to the block store, also add it to the cache. This saves an otherwise mandatory round-trip to the DB.
2021-05-14 13:23:34 -07:00
Florin ChiricaandJustin England bb662f27dc Address review comments. 2021-05-14 14:05:12 -06:00
Florin ChiricaandJustin England 07f8ed198f Make sure we don't call dns in tests. 2021-05-14 14:05:12 -06:00
Florin ChiricaandJustin England 3cbb5dc4d5 Fix bug. 2021-05-14 14:05:12 -06:00
Florin ChiricaandJustin England ca09382fe5 linter. 2021-05-14 14:05:12 -06:00
Florin ChiricaandJustin England 413d29083f Initial commit. 2021-05-14 14:05:12 -06:00
Xinyue LuandGitHub 5f4b56757a Fix install.sh for Debian (#4152) (#4867) 2021-05-14 09:42:30 -07:00
b2800c94fa Optimize Streamable parsing by avoiding extra post-init checks (#4714)
* Optimize Streamable parsing by avoiding extra post-init checks

A performance test indicates that this optimization makes parsing block
records from database up to 40% faster (0.66 vs 1.09 seconds for 10000
records).

* Add type annotations, remove unnecessary .keys() call in Streamable

Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
2021-05-13 10:33:59 -07:00
Almog De PazandGitHub 3277058372 optional no_tx_filter (#4560)
* add no_tx option to get_header_blocks_in_range

* add type

* get_header_block_by_height no_tx_filter

* double negetive

* add param name

* param name

* change filter to false

* test header hash

* lint
2021-05-13 10:29:53 -07:00
178f63a3a3 exempt_peer_networks: allow exceeding target_peer_count. (#3234)
* exempt_peer_networks: allow exceeding target_peer_count.

* Flake8.

* Cleanup incorrect types.

* More typing.

* Added configuration examples for exempt_peer_networks.

* Be generous in the IP network definitions we allow as input.

* Correctly define 192.168.1.0/24 without host bits.

* Trivial change to re-trigger tests.

Co-authored-by: wjblanke <wjb98672@gmail.com>
2021-05-12 17:44:26 -07:00
An LongandGitHub eb7b6dd243 Makes linter happy (#2483) 2021-05-12 17:31:28 -07:00
Don KackmanandGitHub 56890df98d only copy cert files for init -c (#3328)
* only copy cert files for init -c

* fix linter error on single vs double quotes

* black formatting
2021-05-12 15:34:20 -07:00
An LongandGitHub 5034fcc85d Add more types (#3441) 2021-05-12 15:32:21 -07:00
Rong OuandGitHub 4395f97260 set the execute mode on install-gui.sh (#4079) 2021-05-12 15:28:56 -07:00
Vyacheslav LinnikandGitHub 2b19635d88 fix TypeError exception in case of unresponsive service (#4122) 2021-05-12 15:27:40 -07:00
df7dad8634 quick fix to update out-of-date CLI reference to close issue 4397 (#4538)
* quick fix to update out-of-date CLI reference to close issue 4397

* additional typo fixes in the cmds section

* removed old reference to incline Mnemonic inclusion in chia keys add
e Please enter the commit message for your changes. Lines starting

* Update keys_funcs.py

fixed some rogue quote changes due to a text editor flub

Co-authored-by: J. Eckert <sargonas@Js-MacBook-Air.sargonas.net>
Co-authored-by: J. Eckert <sargonas@Js-MacBook-Air.local>
2021-05-12 15:24:55 -07:00
Nikolaj KuntnerGitHubNikolaj Kuntner <>
2faab1ea83 Improve style consistency in root directory docs files (#4493)
* Improve style consistency

* black python required blank

Co-authored-by: Nikolaj Kuntner <>
2021-05-12 13:12:30 -07:00
080e830bb1 removes match_string variable (#4671)
The `match_string` variable is an alias of `grep_string` and thus can be
replaced by it.

Co-authored-by: Mario Seeli <mario.seeli@dectris.com>
2021-05-12 13:00:41 -07:00
Matty GandGitHub a56177ee56 Update to reflect CLI change (#4025) 2021-05-12 11:05:44 -07:00
Frederico SilvaandGitHub abd01b1e83 cmd: farm challenges, add missing space (#4038) 2021-05-12 10:50:30 -07:00
Chris MarslenderandGitHub 536d33ef59 second check should be fee, not amount again (#4112) 2021-05-12 10:49:48 -07:00
Arvid NorbergandGitHub 12751ce811 add simple profiler, enabled by enable_profiler config (#4054)
Analyze profilers with chia/utils/profiler.py
2021-05-12 10:46:38 -07:00
Arvid NorbergandGitHub 58a0eb548f avoid calling header_hash repeatedly in weight_proof (#4060)
header_hash is a property that serializes and hash the foliage block, this is somewhat expensive, especially the serialization
2021-05-12 10:44:11 -07:00
Will BendickandGitHub 25f4b6c101 prevents multiple copies of same service with lockfile (#4713) 2021-05-12 10:43:22 -07:00
Arvid NorbergandGitHub d3a71c3e19 make the serialization of Coin follow the normal protocol of implementing stream() (#4074) 2021-05-12 10:40:26 -07:00
YostraandGitHub 60fd84191d don't read from cli (#4625) 2021-05-12 10:38:35 -07:00
FelixandGitHub 3c616e2eee #4339 flag "Consensus error 124, not disconnecting" as info (#4695) 2021-05-12 10:37:31 -07:00
wjblankeandGitHub 79430402b4 use chiapos 1.0.2 (#4638) 2021-05-13 01:57:15 +09:00
Chris MarslenderandGitHub 4fc32cb5a8 Add pending coin removal count (#4509) 2021-05-11 09:40:49 -07:00
Nikolaj KuntnerGitHubNikolaj Kuntner <>
cbc9141689 add all none's (#4503)
Co-authored-by: Nikolaj Kuntner <>
2021-05-10 22:05:45 -07:00
118e7ccaeb Additional Issue Template changes (#3489)
* added new issue templates for support and requestes

* spelling is hard...

* tweaked issue templates for clearer submissions and easier triaging

* redirected support and ideas straight to Discussions, and added a link to Keybase

* Update config.yml

updating to make linter happy

* Update config.yml

* Sanitize?

* Update config.yml

yet another attempt to pass the lint check

* Try prettify

* skip the issue template lint

Co-authored-by: J. Eckert <sargonas@Js-MacBook-Air.sargonas.home>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2021-05-10 12:40:00 -07:00
EvgenijandGene Hoffman f011bcf90d RockyLinux support has been added
RockyLinux support has been added for install-gui.sh
2021-05-09 23:36:36 -07:00
Benedict JinandGene Hoffman bac1b8db6b Remove the useless loop iterator variable for did_wallet 2021-05-09 23:31:18 -07:00
Alfonso PerezandGitHub 1faa5e67af Clarify units of amount and fees in wallet help dialog (#3472)
* clarify units of amount and fees

* format code to pass linting rules
2021-05-10 14:58:38 +09:00
Chris MarslenderandGene Hoffman 61baae5648 Add unspent coin count to wallet balance API 2021-05-09 13:21:38 -07:00
Gene HoffmanandGitHub 2c8f4546c3 Am not PM (#4320)
* Am not PM

* Ignore error 124
2021-05-09 10:59:47 -07:00
Gene HoffmanandGitHub 0b91005c6b Changelog for 1.1.5 (#4313) 1.1.5 2021-05-09 09:37:51 -07:00
Mariano SorgenteandGitHub 5d3d4bbefc No negative amounts (#4294)
Mempool no negative amounts
Don't disconnect for COIN_AMOUNT_NEGATIVE
2021-05-10 01:28:15 +09:00