Commit Graph

12076 Commits

Author SHA1 Message Date
Florin Chirica
d80b751850
DL: delete full files for when subscribed to a datastore per config (#16850) 2023-11-27 12:18:39 -06:00
Arvid Norberg
ace61bf774
add benchmark for loading test chains (#16775) 2023-11-27 10:20:57 -06:00
Kyle Altendorf
3caa0754cc
add DBWrapper2.managed() (#16880) 2023-11-22 13:48:01 -06:00
wjblanke
8e3f9db89c
only forward 4 most recent cached SPs (#16879) 2023-11-22 10:09:18 -06:00
Amine Khaldi
3c91881324
Fix propagating spent coins IDs to the mempool on successful generator bundle creation in SpendSim's farm_block (#16918) 2023-11-22 09:08:19 -06:00
Arvid Norberg
30fb9f3d00
avoid redundant list->set and set->list conversions (#16855)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-22 09:02:33 -06:00
Kyle Altendorf
e49d3495f3
" not ' (#16913) 2023-11-21 19:38:48 -06:00
dependabot[bot]
d4234d804f
build(deps): bump keyring from 23.13.1 to 24.3.0 (#16885)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-21 17:29:29 -06:00
dependabot[bot]
9d5be54a9a
build(deps-dev): bump pytest-xdist from 3.4.0 to 3.5.0 (#16907)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 17:19:46 -06:00
dependabot[bot]
51c47dcf68
build(deps): bump boto3 from 1.29.0 to 1.29.4 (#16906)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 17:19:36 -06:00
dependabot[bot]
305dfa74aa
build(deps): bump aiohttp from 3.8.6 to 3.9.0 (#16884)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-21 17:19:15 -06:00
Kyle Altendorf
b431a7c0a8
remove unneeded try/finally/pass from load_clvm.py (#16878) 2023-11-21 17:19:00 -06:00
Kyle Altendorf
fa7b6ac080
remove unneeded try/except/raise from did_wallet.py (#16877) 2023-11-21 17:16:45 -06:00
Kyle Altendorf
5496eeead0
timelord just manage (#16759) 2023-11-21 17:14:48 -06:00
Kyle Altendorf
9d5cbf3f24
crawler just manage (#16758) 2023-11-21 17:14:29 -06:00
Kyle Altendorf
6d480b8256
introducer just manage (#16757) 2023-11-21 17:14:10 -06:00
Kyle Altendorf
576ec7c08c
datalayer just manage (#16756) 2023-11-21 17:13:47 -06:00
Kyle Altendorf
799b4928c7
harvester just manage (#16755) 2023-11-21 17:13:32 -06:00
Kyle Altendorf
06e680d421
farmer just manage (#16754) 2023-11-21 17:13:08 -06:00
Kyle Altendorf
eff655518c
full node just manage (#16753) 2023-11-21 17:12:32 -06:00
Arvid Norberg
5318514582
update the StateChangeSummary to not keep full NPCResult objects (#16793) 2023-11-21 17:06:49 -06:00
Arvid Norberg
c0deb18405
remove special case logic for soft-fork 3 activation (#16819) 2023-11-21 17:06:17 -06:00
Amine Khaldi
02bda86e8e
Fix SimBlockRecord construction w.r.t. prev_transaction_block_hash (#16882) 2023-11-21 13:04:48 -06:00
dependabot[bot]
28be7413f1
build(deps): bump clvm-tools-rs from 0.1.38 to 0.1.39 (#16888)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 12:17:15 -06:00
Kyle Altendorf
5ec2deedba
only fail on a coverage diff for PR builds, not commit builds (#16901) 2023-11-21 10:59:01 -06:00
Geoff Walmsley
ceba39c672
remove singleton_store (#16868) 2023-11-21 09:45:10 -06:00
Kyle Altendorf
96646e3af4
clvm_tools==0.4.7 (#16894) 2023-11-20 16:54:05 -06:00
Kyle Altendorf
1e7842b0b0
add npm config for dependabot (labels and reviewers) (#16840) 2023-11-20 12:41:32 -06:00
Matt Hauff
d09b3a8207
Fix set_status accidental arg (#16860) 2023-11-20 10:40:20 -06:00
Amine Khaldi
6f3f54c974
Speedup and simplify test_mempool_update_performance (#16848) 2023-11-20 09:42:56 -06:00
Kyle Altendorf
410f328c15
cleanup assertions of True and False (#16874) 2023-11-20 09:42:06 -06:00
wjblanke
886e79be2b
get_block_generator() fork detection (#16867)
### Purpose:

fix logic in get_block_generator() that determines whether we're looking
up a block from a fork or the main chain.

### Current Behavior:

We only consider a block lookup to be in the main chain if its previous
block is in *the cache*.

### New Behavior:

We consider block lookups part of the main chain if the previous block
is in the database and its hash is the same as the height-to-hash map
for that height.

### testing

This change was tested by issuing the following RPC command:

```
chia rpc full_node get_puzzle_and_solution '{"coin_id": "0xdc43c91390490b8bbec628bf3c0c2388578548c1889f0ea40c6cfc8fac409947", "height": 280858}'
```

in `main` this freezes with this patch it returns the result quickly.
2023-11-18 14:20:22 -08:00
arvidn
1a10172a7c
fix logic in get_block_generator() that determines whether we're looking up a block from a fork or the main chain 2023-11-17 23:49:11 +01:00
Arvid Norberg
5ab1721cff
clean up SpendBundle class (#16808) 2023-11-16 19:21:28 -06:00
Kyle Altendorf
fbdb27bef1
managers for services (#16670) 2023-11-16 19:21:12 -06:00
Kyle Altendorf
5484024ef3
move time_out_assert() family back to tests (#16846) 2023-11-16 11:20:18 -06:00
Zachary Brown
ddadd8c664
Change -h to -k for --key flag for datalayer get_value cli command (#16843)
Change -h to -k for key flag for get_value cli command
2023-11-16 09:40:17 -07:00
dependabot[bot]
4c8c1b89d0
build(deps): bump boto3 from 1.28.79 to 1.29.0 (#16839)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 13:39:35 -06:00
dependabot[bot]
7200eaf4b9
build(deps-dev): bump black from 23.10.1 to 23.11.0 (#16836)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 13:05:29 -06:00
dependabot[bot]
c880203824
build(deps-dev): bump types-setuptools from 68.2.0.0 to 68.2.0.1 (#16834)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 13:05:21 -06:00
dependabot[bot]
4698612eae
build(deps-dev): bump diff-cover from 8.0.0 to 8.0.1 (#16833)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 13:04:57 -06:00
dependabot[bot]
a4e5b46ab8
build(deps-dev): bump pytest-xdist from 3.3.1 to 3.4.0 (#16832)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 13:04:28 -06:00
Amine Khaldi
ee7aa96d20
Simplify a test for mempool manager's new_peak (#16796) 2023-11-15 13:04:14 -06:00
Arvid Norberg
038f5e8fb7
Fix deep reorgs (#16594) 2023-11-15 10:51:04 -06:00
Amine Khaldi
d619b7cf86
Fix silently failing to submit a transaction in test_mempool_update_performance (#16828) 2023-11-15 09:16:53 -06:00
Kyle Altendorf
e0d0edacfc
add reviewers to be assigned for dependabot PRs (#16838) 2023-11-15 09:15:20 -06:00
dependabot[bot]
e986d1e3ee
build(deps-dev): bump mypy from 1.5.1 to 1.7.0 (#16788)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-14 12:20:56 -06:00
dependabot[bot]
de0328bdfb
build(deps-dev): bump coverage from 7.3.0 to 7.3.2 (#16790)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 12:17:48 -06:00
dependabot[bot]
f06259be58
build(deps-dev): bump types-setuptools from 68.0.0.3 to 68.2.0.0 (#16791)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 12:17:42 -06:00
Arvid Norberg
d127353030
Fix mypy types (#16807) 2023-11-14 09:28:30 -06:00