Commit Graph
14659 Commits
Author SHA1 Message Date
darkverbitoandGitHub 98f00ef063 Fixed an issue on initial creation of a coloured coin where code always falls into default else clause due to lack of type conversion (#7851) 2021-07-28 22:04:56 -07:00
89b96fb40d Add pairing cache for faster aggregate signature verification (#7484)
* Add pairing cache to speed up aggregate signature verification

* Reduce excessive logging in test_performance.py

* Fix issues in cached_bls found in code review

Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
2021-07-27 19:45:58 -07:00
Almog De PazandGitHub 85fd9f7d89 add block height assertions after block farming (#7526)
add tx confirmed assertions
use time_out_assert only when needed
2021-07-27 14:21:19 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8e60a9b357 Bump github/super-linter from 4.5.0 to 4.5.1 (#7824)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 13:53:55 -07:00
Arvid NorbergandGitHub c6bf1910d0 extend initial freeze test (#7580) 2021-07-27 10:30:48 -07:00
paulhainsworth-chiaandGitHub b593f55dcd changelog for 1.2.3 (#7702)
* changelog for 1.2.3

* Changelog for 1.2.3 updated 7-26-21
1.2.3
2021-07-26 16:01:25 -07:00
PlaywoandGitHub 21b9944fb5 Case insensitive payout_instructions comparison (#7768) 2021-07-26 10:15:18 -07:00
dustinfaceandGitHub efd8facf54 farmer|tests: Always bump last_update in update_cached_harvesters (#7792)
* farmer: Always bump `last_update` in `update_cached_harvesters`

* tests: Wait a bit for the harvester in `test_farmer_harvester_rpc.py`
2021-07-26 10:14:42 -07:00
Niraj PathakandGitHub 0c35b7718d rename windows checksum to be consistent with other installer checksums (#7756) 2021-07-23 18:07:05 -04:00
Michael GraczykandGitHub 87da172c50 Fix use of print_exc in farmer (#7754)
print_exc prints to a file, while format_exc returns a string:

https://docs.python.org/3/library/traceback.html#traceback.format_exc
2021-07-23 14:54:59 -07:00
Mariano SorgenteandGitHub ba6a316efa Ms.refresh plots (#7744)
* farmer: Send update to GUI when plots or harvesters change

* farmer: Increase cache interval to help large farmers
2021-07-23 10:00:26 -07:00
Mariano SorgenteandGitHub 9705cd066d Ms.remove proof limit (#7745)
* Remove proof limit for mainnet, but not testnet

* farmer: Revert typo
2021-07-23 09:58:38 -07:00
Aaron McMillinandGitHub 2dd4442cdd Add timing metrics to plot check (#5109)
* Add timing metrics to plot check

* Remove averge time, add quality check time

Formatting fixed
2021-07-22 10:36:13 -07:00
chenliangandGitHub 557eb9447f Add set_harvester_port in chia.cmds.configure (#6937) 2021-07-22 09:42:53 -07:00
Earle LoweandGitHub 18708e2bb8 More friendly error reporting for peername errors (#7716) 2021-07-22 09:05:31 -07:00
wjblankeandGitHub d3599da0a0 reverting 7645 (#7708) 2021-07-22 09:00:36 -07:00
William Blanke 46b9d332a7 update gui to bd3f816ef60402717a0c8636888da94abf342b46 2021-07-21 16:43:59 -07:00
William Blanke 1ebb55acb3 upped bls to 1.0.5 2021-07-21 10:40:31 -07:00
Earle LoweandGitHub 2d1b19d871 Option to revert back to sequential read (#7644)
* Option to revert back to sequential read

* reverse logic for disable

* Add parallel_read to initial-config
2021-07-21 10:37:07 -07:00
30cb11a051 Partial reversion of CoinSpend rename for API compatibility (#7636)
* Partial reversion of the coin spend rename

* Make `SpendBundle` json-serialize the classic way by default.

Co-authored-by: Richard Kiss <him@richardkiss.com>
2021-07-21 10:24:47 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c0373acbdb Bump actions/setup-node from 2.2.0 to 2.3.0 (#7674)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.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-20 14:45:19 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eaf2c0f2fb Bump github/super-linter from 4.3.0 to 4.5.0 (#7675)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.3.0 to 4.5.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.3.0...v4.5.0)

---
updated-dependencies:
- dependency-name: github/super-linter
  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-20 14:44:24 -07:00
William Blanke 9f6d272cce updated gui to 96b8def9dadf0bd6af0b5c66aee7a2abe473a2ce 2021-07-20 13:05:12 -07:00
dustinfaceandGitHub d113a7d483 farmer: Use hexstr_to_bytes in set_payout_instructions (#7646)
This is to also allow hex strings prefixed with `0x` here which is 
required because we prefix the strings in JSON conversion here 
https://github.com/Chia-Network/chia-blockchain/blob/4fbc2919692260ed15604dff28e1d50cf9845375/chia/util/json_util.py#L20-L23
2021-07-20 13:02:22 -07:00
dustinfaceandGitHub 5b690066c1 cmds|util|tests: Drop 0x prefix from JSON conversions (#7645)
Not sure if that has been done for a specific reason but i feel like its 
better to not have them in general. Let me know if there are any 
objections, im happy to close this PR if its for a reason i missed.
2021-07-20 13:01:58 -07:00
Felix BruckerandGitHub b5ae89a67e Fix invalid content-type header in pool api requests (#7589) 2021-07-20 10:46:27 -07:00
Misha NasledovandGitHub 4d6eb5bba7 Display successful points in chia plotnft show (#7611)
The GUI has a useful "Percent Successful Points" display and it just gets this
from `get_pool_state`

Since `chia plotnft show` is already calling this API and getting this
data, I've updated the output to show it
2021-07-20 10:44:41 -07:00
William Blanke 4fbc291969 update blspy to 1.0.4 (sans GIL release) 2021-07-17 10:09:20 -07:00
Chris MarslenderandGitHub 200bdf16e7 CentOS runner for rpm builds (#7552)
* disable build links

* Disable binary stripping - #3846

Causes error:
`ImportError: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chiavdf.cpython-39-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned`

* Quote NODE_ROOT

* Add workaround for building on centos

* Remove the cache stages, since this is on self-hosted now and we remove it all anyways
2021-07-16 14:07:31 -07:00
Matt HauffandGitHub 257021d862 Include all chialisp files in source distribution (#7571) 2021-07-16 13:50:13 -07:00
Matt HauffandGitHub 8f214e4f5f Added backwards compatibility for coin_solutions in push_tx (#7574) 2021-07-16 13:49:53 -07:00
51a7adf966 add mempool tests (#7519)
* add mempool tests

* Update tests/core/full_node/test_mempool.py

Co-authored-by: Richard Kiss <him@richardkiss.com>

* Update tests/core/full_node/test_mempool.py

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

* Update tests/core/full_node/test_mempool.py

Co-authored-by: Richard Kiss <him@richardkiss.com>

* Update tests/core/full_node/test_mempool.py

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

Co-authored-by: Richard Kiss <him@richardkiss.com>
Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
2021-07-16 11:43:13 -07:00
Arvid NorbergandGitHub f1b1747130 convert test_rom.py to use pytest (#7560) 2021-07-16 11:35:07 -07:00
Arvid NorbergandGitHub d7a9dc082b fix test_singleton (#7559) 2021-07-16 09:05:57 -07:00
Matt HauffandGitHub 5097d0681d Added an option to set the default constants on the simulator (#7495) 2021-07-16 06:40:07 -07:00
Arvid NorbergandGitHub 7e8465e873 add test for ephemeral coins with relative time/height locks (#7502)
* add test for ephemeral coins with relative time/height locks

* additional checks

* formatting

* rename parameter

* don't include condition in first spend

* move test into a better test class

* fixes

* formatting

* simplify test

* make ephemeral coin test not depend on wall clock. Make the initial transaction freeze test also not depend on wall clock. Add tests for ASSERT_SECONDS_ABSOLUTE

* formatting
2021-07-16 01:51:03 -07:00
Adam KellyandGitHub 7de13d672a Warn user not to send money to Pay to Singleton ("pool contract") address (#7541) 2021-07-15 11:01:36 -07:00
Mariano SorgenteandGitHub 0d1c3a235f cli: Use correct type annotations (#7482)
* cli: Use correct type annotations

* cli: Respond to comments

* cli: Add more missing Optionals
2021-07-15 10:25:56 -07:00
Arvid NorbergandGitHub 98e330e41e remove left-over debug logging from test_wallet_pool_store (#7533) 2021-07-15 10:24:41 -07:00
Mariano SorgenteandGitHub 1b8d1b0d7f cli: Show plot count in chia plotnft show (#7481)
* cli: Show plot count in `chia plotnft show`

* cli: Ignore non-pooled plots
2021-07-15 07:43:38 -07:00
dustinfaceandGitHub 1b196e6bd8 chia|tests: Add node_type parameter to get_connections RPC (#7492)
* rpc|server: Add Optional `node_type` paramter to `get_connections`

* farmer: Query `HARVESTER` connections only

* tests: Basic test for `node_type` parameter
2021-07-15 07:42:06 -07:00
dependabot[bot]andGitHub 1ea65f02b5 Bump blspy from 1.0.2 to 1.0.3 (#7462)
Bumps [blspy](https://github.com/Chia-Network/bls-signatures) from 1.0.2 to 1.0.3
2021-07-15 07:41:16 -07:00
Almog De PazandGitHub 6a0c6a3b63 fix err type in wallet_blockchain.py (#7527) 2021-07-15 07:38:38 -07:00
Mariano SorgenteandGitHub 0d0bae36c4 Ms.pool wallet spam2 (#7447)
* pool_wallet: Return correct balance, ignoring spam

* pool_wallet: Raise error if there are no rewards to claim. Adds test
2021-07-15 07:34:09 -07:00
Chris MarslenderandGitHub f708500f8c Add cleanup script to the beginning of all workflows to ensure a clean slate (#7515) 2021-07-14 20:35:51 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
447d038848 Bump github/super-linter from 4.2.2 to 4.3.0 (#7460)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v4.2.2...v4.3.0)

---
updated-dependencies:
- dependency-name: github/super-linter
  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-14 17:20:38 -07:00
Chris MarslenderandGitHub 3a6207c706 Swap the start release notify to the dedicated notify runner (#7507) 2021-07-14 16:53:11 -07:00
7709599f80 Minor bug fix : dnf requires elevated priveleges to enable modules. (#7493)
Tested on Fedora and Rocky.

Co-authored-by: h <h@localhost.localdomain>
2021-07-14 12:57:02 -07:00
Earle LoweandGitHub fa2e66bc74 Use bundled CA store for pool https (#7461) 2021-07-14 08:35:11 -07:00
Arvid NorbergandGitHub 35dfdbc9ff add test for minting coin check in block_body_validation (#7450) 2021-07-14 14:08:43 +09:00