Commit Graph
14659 Commits
Author SHA1 Message Date
4474026672 Ca cert automation (#7472)
* removing changes that are not mine

* fixing new lines?

* Update mozilla-ca-cert.yml

* Update mozilla-ca-cert.yml

* trying different formatting

* fixing bad spacing ln 32

* Format

* More line endings?

Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2021-07-13 22:02:40 -06:00
Matt HauffandGitHub 7244df3fe7 Lightweight spend simulator (#7256)
* added a new lightweight simulator and updated a single test to use it

* Implemented full node rpc methods on the node (untested)

* moved locations and separated out the node client

* Lint fix

* Added barebones testing

* python black fixes

* Moved to RAM CoinStore

* Renamed Node to SpendSim and NodeClient to SimClient

* CoinSolution is CoinSpend now
2021-07-13 13:16:18 -07:00
Chris MarslenderandGitHub b09623a027 Update mozilla-ca (#7457) 2021-07-13 11:05:45 -07:00
Adam KellyandGitHub cb0c811d7a Add resource usage check to generated template. Add warning to generated workflows. (#7181)
* Add resource usage check to generated template. Add warning to generated workflows

* Revert submodule commit
2021-07-13 10:45:35 -07:00
ChiaMineJPandGitHub 2bdc23c7c4 Fixed type annotation (#7445) 2021-07-13 10:40:17 -07:00
Matt HauffandGitHub 87ae0cca7e Added get_coin_records_by_parent_id(s) (#7310)
* Added new RPCs to get coins by their parent

* Got rid of the individual request in favor of requiring a list of puzzle hashes
2021-07-13 10:36:33 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f6022da43c Bump actions/setup-node from 2.1.5 to 2.2.0 (#7144)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 01:07:01 -07:00
Gene HoffmanandGene Hoffman e14159b217 Revert f4a685 2021-07-13 01:05:15 -07:00
BLOCKCHAIN EXPERTandGitHub 69ca8039f1 fix error when sync with height 0 (#7419) 2021-07-12 19:42:49 -07:00
willi123yaoandGitHub f4a68506c0 Fix wrong typings for get_puzzle_and_solution (#7326) 2021-07-12 19:42:35 -07:00
Luke McGregorandGitHub 8bcdea9f14 [DOCS] Updated main readme to point to pooling guide (#7280) 2021-07-12 19:42:14 -07:00
Chris MarslenderandGitHub 8a17252a35 Pin pyinstaller to a known working version for m1 (#7432) 2021-07-12 17:06:23 -07:00
beechordGitHubbeechord <@>
a59073fc38 coordinate blueboxes better (#7175)
* bluebox: simplify handling of uncompact orphan blocks

* bluebox: fix redundant work done by blueboxes at the bottom of the chain

* bluebox: do not tarpit when the chain is nearly fully compact

Co-authored-by: beechord <@>
2021-07-12 16:54:09 -07:00
Richard KissandGitHub 6cf29102f9 Rename coin solution to coin spend (#6841)
* Rename `CoinSolution` as `CoinSpend` everywhere.

* Run `black` everywhere.
2021-07-12 16:31:27 -07:00
paulhainsworth-chiaandGitHub efd401ee35 Changelog for 1.2.1 (#7422) 1.2.1 2021-07-12 11:44:08 -07:00
Chris MarslenderandGitHub 5af2f3d216 Fix m1 version (#7321)
* Rename job - not catalina

* Cleanup leftovers from previous runs. #7309
2021-07-09 21:56:03 -07:00
Kristian FeldsamandGitHub d6e6c704c7 Added support for Fedora in install-gui script (#5957)
* Support Fedora in install-gui script

* Update install-gui.sh

* Update install-gui.sh
2021-07-09 14:56:20 -07:00
dustinfaceandGitHub de1a6c6463 farmer|harvester|server: Fix harvester cache updates, bump message size, increase timeout (#7244)
* farmer: Increase timeout for `HarvesterAPI.request_plots` requests

Set it to `UPDATE_HARVESTER_CACHE_INTERVAL`.

* farmer|harvester: Add some debug logs around `get_harvester` stuff

* server: Bump size limit for `respond_plots` from 10MB/msg to 100MB/msg

Those messages can become pretty big now for large farms.

* farmer: Keep also track of failed cache update attempts

Prior to this commit the farmer called the `request_plots` every second 
for each harvester as long as they failed to respond properly. Since the 
rate limit was 10/minute this lead to hitting the rate limit if the 
harvester didn't responds for 10 tries in a row for whatever reason.

This commit changes the behaviour to always keep track of request 
attempts even if they end up in a timeout to really only re-try every 
60s no matter what.

* farmer: Introduce and use `HarvesterCacheEntry`
2021-07-09 09:32:05 -07:00
Almog De PazandGitHub d80d5033fd move peak look to _start (#7270) 2021-07-09 09:30:50 -07:00
Matt HauffandRichard Kiss 7d55c39ab1 Fix load.clvm 2021-07-08 14:12:51 -07:00
J. EckertandGitHub 2035fc803e GH Action to tag and close stale issues (#7140)
* Create stale-issue.yml

Created initial Stale Issue/PR script config with the following configuration parameters:

Run the script every day at 4am PST (11am UTC)
Flag issues as stale after 14 days of no activity with stale-issue label.
Flag PRs as stale after 60 days of no activity with stale-pr label.
Close stale issues after a further 7 days of no activty.
Do NOT close stale PRs, only warn with comments.
Ignore stale status for any Issues or PRs with an assigned milestone, or an assignee.
Remove stable labels if they have been updated

This change will not be put into a PR for review until this entire flow has been tested on release-test first.

* Update stale-issue.yml

changing to main to incorporate some needed fixes
2021-07-08 11:20:29 -06:00
Arvid NorbergandGitHub 7b1fc9afa7 fix duplicate-output test to not also do a double-spend (#7176) 2021-07-08 09:58:34 -07:00
Chris MarslenderandGitHub 859a107f59 Fix folder for m1 torrents (#7186) 2021-07-07 22:26:15 -07:00
b2ec0f7ae7 Changelog for 1.2.0 release - draft (#7145)
* Changelog for 1.2.0 release - draft

* Thanks Atom! - @gldecurtins corrected.

* fixed some typos

* Remove accidental cruft

* "Updated chiapos"

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>

* More precision about pre-release plot NFT, OG plots.

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>

* Hopefully capturing @efishcent's changes

* Changelog updates

* More details on RPC and other changes

* Nits and a date

* Final two GUI enhancements

* Markdown lint

* remote harvester issue list

* Let GH link the commit SHAs

* Note re wallet resync

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>

Co-authored-by: Roy Natian <roynatian@gmail.com>
Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
Co-authored-by: Mariano <sorgente711@gmail.com>
1.2.0
2021-07-07 20:23:44 -07:00
Gene HoffmanandGitHub 60797ad307 Update GUI submodule for plot count fix (#7180) 2021-07-07 20:23:13 -07:00
Kyle AltendorfandGitHub ac8165d4ca make instructions in the issue template be comments (#7177)
This avoids the instructions being shown in the final PR submission.
2021-07-07 17:47:39 -07:00
Adam KellyandGitHub d16a8ca1c4 longer system test timeout (#7172) 2021-07-07 14:33:31 -07:00
William Blanke 35a4fcbbb1 updated gui 2021-07-07 14:16:55 -07:00
dustinfaceandGitHub 17b061d1d7 farmer: Update payout_instructions on the pool if changed (#7161)
* farmer: Refactor `update_pool_farmer_info`

Return the actual `GetFarmerResponse` object and a flag if the farmer is
known on the pool or not.

* farmer: Call `PUT /farmer` if the `payout_instructions` changed

* farmer: Force farmer update, don't directly call `update_pool_state`

Let the periodical task handle the update.

* farmer: Temporary fix for `Streamable` not supporting JSON `Optional`

* tests: Call `update_pool_state` after `set_payout_instructions`
2021-07-07 09:37:23 -07:00
Kyle AltendorfandGene Hoffman fe8413ea25 Correct 'leave' command --help 2021-07-07 09:05:22 -07:00
dustinfaceandGitHub af30ce78a2 farmer|cmds: Improve remote harvester info (#6979)
* farmer|cmds: List harvester by IP/peer_node_id instead of IP/port

* farmer: Cache harvester responses

* test: Trigger `update_cached_plots` and adjust `get_plots` format

* farmer|cmds|test: Adjust RPC output of `get_plots`

* rename: Farmer RPC `get_plots` to `get_harvesters` + rename related code

* farmer: Fix remove loop indentation

* farmer: Catch exceptions in `_periodically_clear_cache_and_refresh_task`

* cmds: Distinguish between local and remote harvesters

* cmds: Explicitly check against 0

* cmds: Rename `print_harvesters` -> `process_harvesters`
2021-07-06 20:20:21 -07:00
dustinfaceandGitHub 8940a7a007 farmer: Always check the pool URL for https:// (#7152) 2021-07-06 18:38:31 -07:00
873c5f16cd Enforce HTTPS when fetching pool server configs for mainnet (#7148)
* Enforce HTTPS when fetching pool server configs for mainnet

* Update chia/cmds/plotnft_funcs.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* Update chia/cmds/plotnft_funcs.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* Update chia/farmer/farmer.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2021-07-06 16:06:10 -07:00
William Blanke b96c830282 updated gui to latest 2021-07-06 15:59:59 -07:00
Chris MarslenderandGitHub 6c81516527 Split secret check to signing and aws secrets, so we can still do AWS actions when we dont have a signing cert available (#7142) 2021-07-06 14:57:27 -06:00
willi123yaoandMariano Sorgente 3ad7f8e93c Minor fix to wrong error message printed 2021-07-07 00:08:59 +09:00
MarianoandMariano Sorgente b1cd26cf5b Fix DB invalid format for additional_coin_spends 2021-07-04 14:48:55 +09:00
Niraj PathakandGene Hoffman 2cbbdbe492 update arm64 builder 2021-07-02 15:17:08 -07:00
Niraj PathakandGene Hoffman 749cde1949 rename build script to match corresponding yml file 2021-07-02 15:17:08 -07:00
Earle LoweandGitHub 46395374ae Improves error handling for unknown protocol types (#7073)
* Improves error handling for unknown protocol types

* Add test for invalid protocol
2021-07-01 21:20:21 -07:00
Arvid NorbergandGitHub 3b71210a9c in strict/safe mode, require integers to use the minimal/canonical encoding (#7071) 2021-07-01 21:19:47 -07:00
nirajpathak13andGitHub 229ff7ab08 Split linux installers (#6987)
Move .rpm and .deb installers into individual workflows
2021-07-01 23:11:22 -04:00
Chris MarslenderandGitHub 75223a497f M1 Installer (#7092) 2021-07-01 14:44:01 -05:00
Earle LoweandGitHub 34ae4609ac New RPC to check keys prior to deleting them (#6894)
* New RPC to check keys prior to deleting them

* Updates based on PR comments

* Make sure to stop wallet before start again
2021-07-01 11:52:54 -07:00
Arvid NorbergandGitHub f1390dab73 lower the RAM threshold to 800 MB (the largest test use 144 MB right now). Also improve printing of results (#6972) 2021-07-01 09:48:28 -07:00
Mariano SorgenteandGitHub 24b4533e7d farmer: Reload keys when config changes, so we can detect new plot NFTs (#7060) 2021-06-30 07:51:49 -07:00
Mariano SorgenteandGitHub 925bb2b644 Remove debug logging (#7061) 2021-06-30 07:50:52 -07:00
William Blanke d5a7dbbcfa update to latest gui main 1b268cd167f04ca823651afe0c897845f411cc4a 2021-06-29 23:10:42 -07:00
Adam KellyandMariano Sorgente b758e74828 Handle undef. sync state in UI 2021-06-30 15:07:50 +09:00
Gene Hoffman 9e0169d4b7 Add missing secrets check 2021-06-29 20:32:32 -07:00