Commit Graph

11261 Commits

Author SHA1 Message Date
Arvid Norberg
6701f77bc2
fix testnet10 sync-from-scratch (#15967)
soft-fork2 was not a smooth softfork on testnet (but it was on mainnet). This re-introduces the minimum logic for supporting syncing on testnet10
2023-08-11 19:24:15 -05:00
Arvid Norberg
b32128949f
Simplify BlockStore and CoinStore (#15936)
* simplify BlockStore, now that we only support v2

* simplify CoinStore, now that we only support v2

* add test for BlockStore.get_peak()

* remove left-over database v1 support in test_hint_store

* extend test for BlockStore

* remove residual database v2 logic from test_block_height_map
2023-08-11 12:12:16 -05:00
Jack Nelson
0d36874caa
Refactor Seeder & Crawler code + add tests (#15781)
* Cleanup seeder & mypy all files

holy crap mother of all tech debt this was horrid

* Make UDP Protocol class a dataclass & separate out functions.

* add TCP protocol class to DNS server

* Fix mypy types & other cleanup

also fix a couple bugs

* Add seeder and crawler tests

* change log levels

* re add db lock timeout

oops

* add edns & edns tests

* fix repeated shutdown on close signal

* fix binding to use both ipv6 and ipv4

whyyyyyyy

* add ipv6 and ipv4 tests + add ipv4 if windows
2023-08-11 05:25:19 -05:00
Arvid Norberg
c9e6c9d5cc
fix bug in recent BlockStore optimization patch (#16007)
fix bug in recent BlockStore optimization patch (and fix the issue with the test that allowed it through)
2023-08-10 19:12:11 -05:00
William Allen
72119ca04d
checkpoint: into main from release/2.0.0 @ c4708072f0 (#16002)
Source hash: c4708072f0
Remaining commits: 7
2023-08-10 18:29:23 -05:00
Kyle Altendorf
42ebbbd3c8
pin direct dev dependencies (#16008)
* pin direct dev dependencies

* old ipython for 3.8 support
2023-08-10 18:03:06 -05:00
Kyle Altendorf
bf8f5263e5
let pre-commit pick isort files (#15807) 2023-08-10 16:51:51 -05:00
Kyle Altendorf
8baab9c034
use venv for pre-commit black (#15809) 2023-08-10 16:51:36 -05:00
Amine Khaldi
f2854fb10a
Merge commit 'c4708072f040fc7e56f864bc682e7ea5821e2203' into checkpoint/main_from_release_2.0.0_c4708072f040fc7e56f864bc682e7ea5821e2203 2023-08-10 18:23:58 +01:00
William Allen
c460423e86
checkpoint: into main from release/2.0.0 @ 6c2c7bd6af (#15998)
Source hash: 6c2c7bd6af
Remaining commits: 8
2023-08-10 11:54:49 -05:00
Arvid Norberg
b3fe7c4705
optimize blockchain DB for Chip-13 (#15948)
* optimize blockchain DB for Chip-13

* put plot_filter_info in its own table
2023-08-10 11:51:32 -05:00
Amine Khaldi
21b0875927
Merge commit '6c2c7bd6af519fb6194edc18630b3264b6969f56' into checkpoint/main_from_release_2.0.0_6c2c7bd6af519fb6194edc18630b3264b6969f56 2023-08-10 11:21:08 +01:00
William Allen
5e1da48ba2
checkpoint: into main from release/2.0.0 @ b1ecb5e154 (#15987)
Source hash: b1ecb5e154
Remaining commits: 8
2023-08-09 16:46:51 -05:00
William Allen
a92cbe82e9
Remove pipefail (#15986)
* Remove pipefail

* add fail condition
2023-08-09 16:44:29 -05:00
William Allen
e130fe7091
Re-enable benchmark runner (#15990)
* Re-enable benchmark runner

* Whitespace
2023-08-09 16:28:22 -05:00
Brandon Butler
8fdb42d7d0
Use ephemeral credentials from AWS OIDC provider (#15991) 2023-08-09 15:04:19 -05:00
Amine Khaldi
7b47227fef
Merge commit 'b1ecb5e15443787b3929fd9f8d99c566f0ab396a' into checkpoint/main_from_release_2.0.0_b1ecb5e15443787b3929fd9f8d99c566f0ab396a 2023-08-09 16:19:37 +01:00
William Allen
16cd673806
checkpoint: into main from release/2.0.0 @ 6a5bf15e9e (#15984)
Source hash: 6a5bf15e9e
Remaining commits: 8
2023-08-09 10:12:54 -05:00
Amine Khaldi
a417a438ad
Merge commit '6a5bf15e9e39e6c0f27ab69fe718ba82ce007354' into checkpoint/main_from_release_2.0.0_6a5bf15e9e39e6c0f27ab69fe718ba82ce007354 2023-08-09 13:00:33 +01:00
William Allen
7c4e8a8538
checkpoint: into main from release/2.0.0 @ a5a988c320 (#15978)
Source hash: a5a988c320
Remaining commits: 6
2023-08-08 22:05:35 -05:00
Matt Hauff
5ee19ea053
Simplify get_max_send_amount for XCH and CATs (#15859)
* Simplify get_max_send_amount for XCH and CATs

* Update crcat wallet
2023-08-08 20:38:29 -05:00
YeungTing
3cc5ef83f9
Update nft_wallet.py (#15968)
fix issue reuse_puzhash for new NFT
2023-08-08 20:33:49 -05:00
William Allen
b2a145e904
Fixing conditional execution (#15979)
* Fixing conditional execution

* Wrong switch
2023-08-08 19:20:29 -05:00
Amine Khaldi
6e68ec2302
Merge commit 'a5a988c32098d8a3f56d4c284680f20aeed2fccb' into checkpoint/main_from_release_2.0.0_a5a988c32098d8a3f56d4c284680f20aeed2fccb 2023-08-08 21:49:48 +01:00
William Allen
41f4df892a
checkpoint: into main from release/2.0.0 @ d13538d025 (#15969)
Source hash: d13538d025
Remaining commits: 7
2023-08-08 14:50:35 -05:00
Amine Khaldi
10b4b611c2
Merge commit 'd13538d02561a13ce13b318dc4efb7dddc959a46' into checkpoint/main_from_release_2.0.0_d13538d02561a13ce13b318dc4efb7dddc959a46 2023-08-08 16:44:49 +01:00
Kyle Altendorf
603e34e9b5
simplify db connection helper (more simply) (#15959) 2023-08-08 10:14:59 -05:00
William Allen
03248c9a88
checkpoint: into main from release/2.0.0 @ 51d3a5a7f6 (#15965)
Source hash: 51d3a5a7f6
Remaining commits: 8
2023-08-08 10:12:26 -05:00
Amine Khaldi
41c097d505
Merge commit '51d3a5a7f65efe6912f3066ba83efa4ba0abe765' into checkpoint/main_from_release_2.0.0_51d3a5a7f65efe6912f3066ba83efa4ba0abe765 2023-08-08 11:44:29 +01:00
Arvid Norberg
efcbc0ea4a
fixup block store and coin store benchmarks (#15946) 2023-08-08 02:25:59 -05:00
William Allen
dd2abb0ad4
Add coverage failure as comment to PR (#15903)
* Add coverage failure as comment to PR

* whitespace

* missed one

* Typo

* Add env

* fixing condition check, moving to separate step

* move env token to the right step

* Added comment/label update on success/failure

* fixing gh api

* fixing jq
2023-08-07 23:50:49 -05:00
Kyle Altendorf
bcf3da8779
test install scripts both dev and not (#15952)
* test install scripts both dev and not

* actually run chia --help
2023-08-07 18:49:16 -05:00
William Allen
60666f385b
checkpoint: into main from release/2.0.0 @ a9d2b97955 (#15962)
Source hash: a9d2b97955
Remaining commits: 7
2023-08-07 17:12:20 -05:00
Amine Khaldi
74af624fce
Fixup. 2023-08-07 21:37:41 +01:00
Amine Khaldi
55ab65791b
Merge commit 'a9d2b979559301eec85b784be81db12fa256e4da' into checkpoint/main_from_release_2.0.0_a9d2b979559301eec85b784be81db12fa256e4da 2023-08-07 21:29:23 +01:00
William Allen
cfbae06cac
checkpoint: into main from release/2.0.0 @ 39dc201564 (#15960)
Source hash: 39dc201564
Remaining commits: 8
2023-08-07 15:19:45 -05:00
Amine Khaldi
51659ac5b9
Merge commit '39dc20156464f1f14f301e75e32c87d0930ba0ca' into checkpoint/main_from_release_2.0.0_39dc20156464f1f14f301e75e32c87d0930ba0ca 2023-08-07 19:51:42 +01:00
William Allen
01e2488336
checkpoint: into main from release/2.0.0 @ 40134512c0 (#15954)
Source hash: 40134512c0
Remaining commits: 9
2023-08-07 13:38:56 -05:00
Amine Khaldi
ce2eb59bc4
Merge commit '40134512c0642e60f6c312e81a980739b86d87e5' into checkpoint/main_from_release_2.0.0_40134512c0642e60f6c312e81a980739b86d87e5 2023-08-07 17:56:44 +01:00
Matt Hauff
7184e53506
Skip problematic test (#15928) 2023-08-07 11:39:23 -05:00
William Allen
32bbc12a25
checkpoint: into main from release/2.0.0 @ 99e4d5b412 (#15953)
Source hash: 99e4d5b412
Remaining commits: 9
2023-08-07 11:38:42 -05:00
Arvid Norberg
c4708072f0
Revert "Add fields to BlockRecord. (#15695)" (#15947)
This reverts commit e84bdb0b30.
2023-08-07 09:32:31 -05:00
Arvid Norberg
e32c5699da
correct netspace calculation (#15931)
correct netspace calculation for blocks beyond the plot filter size reduction
2023-08-07 09:29:44 -05:00
Amine Khaldi
95c892dddc
Merge commit '99e4d5b41268073f691c6a745b9f924bf3ab6379' into checkpoint/main_from_release_2.0.0_99e4d5b41268073f691c6a745b9f924bf3ab6379 2023-08-07 14:58:25 +01:00
William Allen
0a09ee5d79
checkpoint: into main from release/2.0.0 @ ce8b1d43c8 (#15951)
Source hash: ce8b1d43c8
Remaining commits: 10
2023-08-07 08:51:37 -05:00
Amine Khaldi
15ab77bc4d
Merge commit 'ce8b1d43c8a689a32dc17f24f900f1e44e2ae1c3' into checkpoint/main_from_release_2.0.0_ce8b1d43c8a689a32dc17f24f900f1e44e2ae1c3 2023-08-07 13:09:59 +01:00
William Allen
8e6cfa0092
checkpoint: into main from release/2.0.0 @ 0ebb7642e1 (#15935)
Source hash: 0ebb7642e1
Remaining commits: 8
2023-08-07 02:20:20 -05:00
William Allen
6c2c7bd6af
Consolidate workflow to fetch bladebit (#15941)
* Consolidating bladebit fetch

* Using a portable sed command

* Whitespace
2023-08-05 05:16:22 -05:00
William Allen
b1ecb5e154
Update chiapos to full release (#15939)
Use full release of chiapos
2023-08-04 23:43:03 -05:00
Arvid Norberg
6a5bf15e9e
bump soft-fork3 activation height (#15938) 2023-08-04 20:36:31 -05:00