Commit Graph

303 Commits

Author SHA1 Message Date
J. Eckert 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
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 24fdd378a7
Transaction matching (#1932)
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-16 03:23:40 +09:00
Adam Kelly 82876587ca Generator Block Decompression 2021-04-14 20:03:37 -07:00
Adam Kelly 2d26934965
Add types to support Generator Back References (#1901)
* Add types to support Generator Back References

* Add test workflows

Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-04-14 13:49:36 -07:00
Adam Kelly 6946b265b9 Keep up with dependabot modifying our workflow files and Canonicalize order of tests 2021-04-14 11:07:56 -07:00
dependabot[bot] 9ea6399280 Bump styfle/cancel-workflow-action from 0.8.0 to 0.9.0
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.8.0...89f242ee29e10c53a841bfe71cc0ce7b2f065abc)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 19:51:07 -07:00
dependabot[bot] 6ddce0e0f6 Bump actions/cache from v2.1.4 to v2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 19:49:54 -07:00
Richard Kiss 8a3e00548a Rename `src` to `chia`. 2021-04-04 21:41:39 -07:00
Gene Hoffman ad7d7e0cce Add missing linux specfile change. Error on pyinstaller failure (#1668)
* Add missing linux specfile change. Error on pyinstaller failure

* Build ARM64 in Ubuntu 18.04 LTS

* It's apt upgrade...

* drop sudo

* install add-apt-repository

* missing -y

* Need python3.8-venv python3.8-distutils too

* python3.8 was not happy

* apt install even... Need curl

* git and others are missing

* need sudo to support sh install.sh

* debug venv

* Emulate install.sh instead

* still needs git...

* Need build essentials for pyinstaller

* pyinstaller needs zlib1g-dev

* need libpython3.8-dev

* don't use -e with pip install
2021-04-03 21:38:10 -07:00
Gene Hoffman 00b3af2bcb Don't cancel main branch CI runs 2021-04-02 11:48:25 -07:00
Adam Kelly 2e2f0f5627 Remove daemon test jobs 2021-03-25 12:05:54 -07:00
Adam Kelly f59acccf51 Add github workflow tool 2021-03-25 12:05:54 -07:00
Adam Kelly ab8931c52c Update timeouts for slow runners, remove empty jobs 2021-03-25 12:05:54 -07:00
Adam Kelly 153aa55688 Add moved test jobs 2021-03-25 12:05:54 -07:00
Adam Kelly cae7676502 update test-cache to 0.26.0 2021-03-25 12:05:54 -07:00
Adam Kelly c87cc82da9 WIP 2021-03-25 12:05:54 -07:00
Gene Hoffman 33efff1d5d First attempt at a .deb build (#1372)
* First attempt at a .deb build

* Actually run the linux installer.

* src and dest

* Lets use ubuntu to build the .deb...

* Better options to installer-debian

* package name of chia-blockchain

* chia-blockchain

* drop sudo

* chia-blockchain-x64 dir

* target amd64

* drop arch in packager

* Prepare for ARM64

* ARM64?

* Redhat and ARM take 2

* redhat in failure mode

* redhat version issue

* Limit ARM64 and try for both linux

* Use 18.04 for x86 and manylinux2014 for ARM64

* Add RH - ARM64 fix

* Try updated ARM64 podman, fix fake SCM version

* No sudo

* Install node correctly

* remove sudo

* Next time, save the changes...

* need epel for fakeroot

* Grrr -y

* Correct fake setuptools

* correct version number

* Remove quotes

* RH version fix?

* try revision 0

* Remove revision

* Don't set SCM_PRETEND
2021-03-24 15:41:53 -07:00
Richard Kiss f6cd947da2 Add some missing files to the sdist. 2021-03-24 15:41:53 -07:00
dependabot[bot] 0fe73829b8
Bump github/super-linter from v3.15.3 to v3.15.5 (#1446)
Bumps [github/super-linter](https://github.com/github/super-linter) from v3.15.3 to v3.15.5.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.3...286abe2b0349da9c074c0fed8e8ec0a86cd13279)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 22:46:20 -07:00
Gene Hoffman e123ec9ef8
Change dependabot to target main (#1470) 2021-03-23 16:42:16 -07:00
Gene Hoffman b833fde8ab Fix versioning for 1.0.0, ping GUI, a little more installer time (#1356) 2021-03-17 18:40:45 -07:00
Richard Kiss da57397087 Change rewards coin ids 2 (#1342)
Replay protection by encoding genesis challenge into coinbase parent ids. 

Co-authored-by: Yostra <straya@chia.net>
2021-03-17 18:40:45 -07:00
dependabot[bot] e94f3d365b Bump github/super-linter from v3.15.2 to v3.15.3 (#1321)
Bumps [github/super-linter](https://github.com/github/super-linter) from v3.15.2 to v3.15.3.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.2...9de5db92288c66235faef7716d6893949ce43769)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 18:40:45 -07:00
Gene Hoffman fd827a4e62
Try python 3.9 for mac installers (#1308) 2021-03-15 15:42:31 -07:00
Mariano Sorgente 10e5bc3ae3
Ms.rc8 changes (#1307)
* Migrate rc6,rc7 to rc8

* Fix migration and green flag issue

* Testnet8 constants

* testnet8 introducer

* Remove comment

* New test blocks
2021-03-15 13:47:38 -07:00
Gene Hoffman 67f5cd5b92
spec file changes (#1266)
* spec file changes

* Clean up installer build process

* revert as PR 1267 is right
2021-03-12 15:19:33 -08:00
Yostra 708ddb5a3a
Minimum for refs (#1256)
* minimun for refs

* Commit to generator reference list value in the foliage

* missing args

* Insert generator references hash in foliage

* add comma.

* Add 3 commas for linter

* lint: commas

* kick the tests to run again

* 23

Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-03-11 22:59:15 -08:00
Mariano Sorgente 1c6c372044
Ms.new breaking changes (#1182)
1. The formula for computing iterations is simplified, so that only one division is necessary, and inverting the (1-x) into just x.
2. There are new timestamp rules. A block N must have a greater timestamp than block N-1. Also, a block's timestamp cannot be more than 5 minutes in the future.
3. A List[Tuple[uint16, str]] is added to the handshake. These are the capabilities that the node supports, to add new features to the protocol.
4. The message_id is now before the data in each message.
2021-03-10 17:14:13 +09:00
Mariano Sorgente 4d15f86715
Ms.rate limits (#1204)
Implements rate limiting for full node.
2021-03-10 15:48:34 +09:00
Gene Hoffman b5ce8c9e66
Isort take 3 (#1213)
* isort in a black friendly way

* isort but debug superlinter later
2021-03-09 18:27:27 -08:00
dependabot[bot] 15377a0b72 Bump github/super-linter from v3.15.1 to v3.15.2
Bumps [github/super-linter](https://github.com/github/super-linter) from v3.15.1 to v3.15.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.1...16f5c4067d70b7e90445a32524a96d02f973ca4b)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 10:15:08 -08:00
Gene Hoffman 61f007b9f3
Remove requirements-dev.txt (#1197)
* Remove requirements-dev.txt

* Lint needs different reqs
2021-03-08 19:56:56 -08:00
Gene Hoffman fb14ecf204
Extend timeouts - check dev for test success (#1147) 2021-03-03 23:50:22 -08:00
Gene Hoffman ccbd20bc94
Chia VDF to 0.9 (#1138)
* Chia VDF to 0.9

* Try test-cache 20
2021-03-03 20:54:19 -08:00
Florin Chirica bde064e73b
Try passing with fixtures. (#1134) 2021-03-03 14:39:51 -08:00
Florin Chirica bac6e36c05
Bluebox weight proof. (#1028)
* Initial commit weight proof bluebox.

* More verification, fix linting.

* Checkpoint testing.

* Checkpoint verify compact proofs.

* First attempt already seen compact proofs.

* Try bigger timeouts.

* Try passing first without ICC EOS.

* Try to uniformly sanitize by field_vdf.

* Try to fix vdf.py

* Temporary change: check if simulation is slow or stalled.

* Try fixing VDFProof erros in tests.

* Checkpoint: address some comments.

* Checkpoint is_fully_compactified.

* First attempt compact blocks fixture.

* Add tests.

* Test simulation should eventually pass.

* Test full node store passing.

* Use the proper fixture.

* Try lighter test_simulation.

* Bump chiavdf, use correct fixture db, try test cache.

* Update fixtures.py

* Try bigger timeouts.

* First attempt split tests.

* Rename workflow files.

* Relax test simulation since it's still failing.

* Update test cache.
2021-03-03 13:13:08 -08:00
Mariano Sorgente 05220d9b9b
Ms.difficulty simplify (#1123) 2021-03-03 10:27:00 -08:00
Gene Hoffman d8638c0f05
Try superlinter at 3.15.1 (#1081)
* Try superlinter at 3.15.1

* pylint: disable=E1101
2021-02-27 17:26:46 -08:00
Gene Hoffman afb911a49d
Add new empty slot block test db to cache, start new changelog (#1068)
* Add new empty slot block test db to cache, start new changelog

* chglg nit
2021-02-25 14:21:40 -08:00
Adam Kelly 30863d4668
Test clvm compilation (#1042)
* Add checks for blockchain program generation
This is written in a verbose style for better error messages.
Note that src/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.clvm is temporarily moved aside, until it compiles to our intended bytecode.

* Remove CI clvm compilation check in favor of pytest check

* improve test failure message

* Enable clvm tests

* Formatting

Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-02-24 23:48:39 -08:00
Gene Hoffman d7c22bd99f
rm Genesis puzzle hashes (#1049)
* rm Genesis puzzle hashes

* ubuntu core to 70 min
2021-02-24 20:12:43 -08:00
Gene Hoffman 5f649fc6dc
Genesis block for RC3 (#1048)
* Genesis block for RC3

* Update blocks in test-cache
2021-02-24 19:02:12 -08:00
Gene Hoffman 4eb8a53992 wallet tests to 40 minutes 2021-02-24 15:38:06 -08:00
Gene Hoffman abd5f8f466 Update test-cache to 0.13.0 2021-02-24 15:38:06 -08:00
Richard Kiss 4e45fda663
Optimize standard puzzle a bit more (#1031)
* More optimizations to `p2_delegated_puzzle_or_hidden_puzzle.clvm`.

* Don't get cached plots.

* Bump up wallet test time.
2021-02-24 12:20:32 -08:00
Gene Hoffman d960b18ca0
clean up cbor remnants (#1032)
* clean up cbor remnants

* Azure needs that line
2021-02-23 23:30:47 -08:00
Yostra 7448b2b2b7 Revert "enable tests on push"
This reverts commit 5c17a86c291c8214e734e57a9e2391e032d3a04c.
2021-02-24 00:17:30 -05:00
Yostra 0d730df5c6 enable tests on push 2021-02-24 00:17:30 -05:00
Gene Hoffman 2ef68723d7
Fix bad version numbering from scm for installers (#1029)
* Search for bad version numbering from scm

* pollution is in the sub repo. Dir to check

* test-cache fetch depth 1 - clean debug installers
2021-02-23 19:40:14 -08:00