Matt Hauff
aac1792192
Port get_notifications RPC to RPC marshaller ( #17283 )
...
* Port get_notifications RPC to RPC marshaller
* Fix test (I hate this)
* Don't use string formatting in SQL query
* rename notification member variable
* Missed a couple?
* Suggestion by @altendky (w/ black fix >:( )
2024-01-23 10:05:39 -08:00
Rigidity
f742e4e515
Add way to get coin states in batches ( #17300 )
...
* Add way to get coin states in batches
* Remove partial blocks from coin state batches
* Fix logic and improve tests
* Change state batching to have fixed limit of 15,000 and test more
* Remove unnecessary parens
* Simplify batch finalization logic
* Improve filter query logic
* Improve feature test coverage
* Cleanup code and simplify finished logic
* Fix many coin states test
* Parametrize tests
* Sort by height and ensure results are in order
* Remove unnecessary test function
* Use if instead of elif
* Improve test
* Test fixture for random coin data
* Add comment explaining 15000 limit
2024-01-23 10:05:10 -08:00
Amine Khaldi
35bffc58b4
Remove unused ignore_size_limit from get_nft_info_from_puzzle ( #17355 )
...
Remove unused ignore_size_limit from get_nft_info_from_puzzle.
2024-01-23 10:02:41 -08:00
Amine Khaldi
bec2c39107
Remove confusing claim_coinsol value in spend_to_delayed_puzzle ( #17357 )
...
Remove confusing claim_coinsol value in spend_to_delayed_puzzle.
2024-01-23 10:02:03 -08:00
Felix Brucker
82f3b06051
Add support for defining a list of full node peers to connect to ( #17369 )
2024-01-23 10:00:54 -08:00
Matt
2eb047aafc
Merge remote-tracking branch 'origin/main' into quex.remove_announcement_main
2024-01-22 10:11:25 -08:00
Matt
9a44ca926d
Merge commit 'f96aaee604072b83c9aae7bcb03a1e3856f4b4cc' into HEAD
2024-01-22 09:59:43 -08:00
Matt Hauff
c0f7fd3e94
Remove duplicate short option from make_offer command ( #17376 )
...
Remove duplicate short option
2024-01-22 09:32:52 -08:00
wjblanke
4ec439f789
measured new_signage_point_harvester size with 100 pools for limit ( #17350 )
2024-01-19 20:51:23 -06:00
Arvid Norberg
28942934ff
extend Block validation timing logs to measure just the CLVM and conditions ( #17275 )
...
extend Block validation timing logs to measure just the CLVM and condition parsing
2024-01-19 14:12:44 -06:00
Arvid Norberg
42762bcb7c
use rust implementation of SerializedProgram ( #17297 )
2024-01-19 11:38:15 -06:00
Izumi Hoshino
d4ff6ef448
Fixed an issue where chia wallet did transfer command mistreats the type of fee ( #15138 )
...
* Fixed an issue where `did_tranfer_did` mistreated the unit of `--fee`
* Fixed test
2024-01-19 11:37:52 -06:00
Amine Khaldi
68106521d2
Compute authorized providers list and pass it to construct_cr_layer ( #17292 )
2024-01-17 09:51:55 -06:00
Arvid Norberg
45edd24f95
remove old work-around for a bug in version 1.1.4 and earlier ( #17339 )
2024-01-16 18:48:17 -06:00
Chris Marslender
763168167c
Update default testnet to testnet11 ( #17303 )
2024-01-16 18:48:09 -06:00
Arvid Norberg
c6d5f7fa1e
use rust types for slots, SubEpochSummary and SubEpochData ( #17298 )
...
* use rust types for slots, SubEpochSummary and SubEpochData
* use rust type for EndOfSubSlotBundle
* use rust types for SubEpochChallengeSegment, SubEpochSegments and SubSlotData
2024-01-16 11:04:49 -06:00
Amine Khaldi
f483328276
Annotate wallet_rpc_client.py ( #17316 )
...
Annotate wallet_rpc_client.py.
2024-01-16 09:24:24 -06:00
Kyle Altendorf
1a30c171ea
remove unused chia.wallet.block_record module ( #17325 )
...
* remove unused `chia.wallet.block_record` module
* missed it
2024-01-16 09:24:05 -06:00
Kyle Altendorf
78b7904fda
switch transaction queue completion to a new ValuedEvent ( #17305 )
...
* switch transaction queue completion to a new `ValuedEvent`
* add tests
2024-01-16 09:22:42 -06:00
Amine Khaldi
c93e7ae672
Fetch only value in get_object ( #17320 )
...
Fetch only value in get_object.
2024-01-12 15:15:40 -06:00
neurosis69
ffc11cd79c
extend measured sizes for plot check with value for k39 ( #17239 )
...
added values for k39 plot size
2024-01-12 12:15:54 -06:00
Matt Hauff
dd26d00e22
Fix sorted for dictionary keys of both bytes/xch ( #17270 )
...
* Fix sorted for dictionary keys of both bytes/xch
* Fix parameterizations
2024-01-12 10:39:09 -06:00
neurosis69
f85da250d9
replace hardcoded value for db_readers ( #17195 )
...
replace hardcoded value
2024-01-12 10:38:56 -06:00
Florin Chirica
41c69f5144
DL Compress get_keys_values output by hash. ( #17243 )
...
* DL Compress get_keys_values output by hash.
* Lint.
* Lint.
* Lint.
* Remove get_node from delete.
2024-01-12 09:41:00 -06:00
Matt Hauff
b62d64d572
Subscribe to DIDs that come into wallet ( #17299 )
2024-01-12 09:40:34 -06:00
Gene Hoffman
fb2e8929cb
Log string header_hash on long validation warnings ( #17304 )
...
* Log string header_hash on long validation warnings
We are logging the binary form of the header hash in the "WARNING Block validation time" is slow log entry. Instead log the human readable header hash.
* Catch another incorrect header_hash log event
* revert last commit
* revert -gui pin
* use .hex() instead
2024-01-11 20:46:35 -06:00
Matt Hauff and Amine Khaldi
537b8864db
Introduce and use LineageProof.from_program ( #17301 )
...
* Introduce and use LineageProof.from_program.
* tweak from_program and add tests
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org >
2024-01-11 15:29:10 -06:00
Amine Khaldi
856293d863
construct_exigent_metadata_layer's metadata is an optional Program ( #17291 )
...
construct_exigent_metadata_layer's metadata is an optional Program.
2024-01-11 10:12:54 -06:00
Amine Khaldi
eadfad63c7
Return genesis_id instead of its bytes representation in GenesisByIdOrSingleton's match ( #17294 )
...
Return genesis_id instead of its bytes representation in GenesisByIdOrSingleton's match.
2024-01-11 09:16:11 -06:00
Amine Khaldi
ff3a1f61b5
Clarify to_program handling of args in UnknownCondition ( #17285 )
...
Clarify to_program handling of args in UnknownCondition.
2024-01-11 09:15:45 -06:00
Amine Khaldi
20875b53ba
Pass seconds_delay to create_p2_singleton_puzzle without converting it to bytes ( #17282 )
...
Pass seconds_delay to create_p2_singleton_puzzle without converting it to bytes.
2024-01-11 09:15:23 -06:00
Amine Khaldi
08b65cd358
Pass the bytes32 representation of metadata_updater_hash to nft_puzzles.create_full_puzzle ( #17284 )
...
Pass the bytes32 representation of metadata_updater_hash to nft_puzzles.create_full_puzzle.
2024-01-10 15:51:57 -06:00
Chris Marslender
da79f64b84
Add fork height & rolled_back_records to block event for metrics ( #17276 )
...
* Add fork height to block event
* Add rolled_back_records to the state change data as well
* Update default values for fork_height and rolled_back_records to be None
2024-01-10 15:51:48 -06:00
Arvid Norberg
51808b4ef7
Rust proof-of-space, reward chain and foliage types ( #17218 )
...
* use rust type for ProofOfSpace
* use rust types for Foliage
* use rust types for reward chain blocks
2024-01-10 15:42:31 -06:00
Amine Khaldi
b50bda4b06
Explicitly check that (optional) memos is not None in cat_spend ( #17261 )
...
Explicitly check that (optional) memos is not None in cat_spend.
2024-01-10 14:38:04 -06:00
Amine Khaldi
9926f26398
Fix wallet RPC client's get_transaction_count return type ( #17257 )
...
Fix wallet RPC client's get_transaction_count return type.
2024-01-10 14:37:28 -06:00
Rigidity
0cafc83194
Refactor subscriptions and add remove functionality ( #17249 )
...
* Refactor PeerSubscriptions
* Rename ph to puzzle in subscriptions
* Add subscription list test
* Fix test
* Improve code quality and logging
* Remove redundant line
2024-01-10 10:52:37 -06:00
matt-o-how
c4f2595e54
Add ability to get the aggsig additional data from full node RPC ( #17241 )
...
* add melting related function rpc api
* add rpc_client version of new functions
* add get_additional_data to rpc and test it
* remove melt_cats
* remove cat_set_tail
* black
* lint fix
* rpc_client returns bytes32
* black test file
2024-01-09 16:24:25 -06:00
Kyle Altendorf
04f59ff1dc
move tools/legacy_keyring.py to chia/legacy/keyring.py ( #17252 )
...
* move `tools/legacy_keyring.py` to `chia/legacy/keyring.py`
* init
2024-01-09 14:09:56 -06:00
Amine Khaldi
bb81c0f65b
Document the fact that we should be using tx_config and taking a fee in DID's create_attestment ( #17212 )
...
Document the fact that we should be using tx_config and taking a fee in DID's create_attestment.
2024-01-09 11:04:12 -06:00
Amine Khaldi
b6a9c1d6d6
Simplify updates construction in dl_update_multiple ( #17214 )
...
Simplify updates construction in dl_update_multiple.
2024-01-09 09:08:05 -06:00
Amine Khaldi
f085e94dec
Import BetaMetricsLogger only when needed ( #17240 )
...
Import BetaMetricsLogger only when needed.
2024-01-08 10:39:28 -06:00
Amine Khaldi
1557dcfe60
Annotate test_cat_wallet.py ( #17146 )
...
Annotate test_cat_wallet.py.
2024-01-08 08:36:38 -06:00
Rigidity and Kyle Altendorf
3e6e08732f
Add a few missing type annotations ( #17043 )
...
* Add a few missing type annotations
* Update chia/util/struct_stream.py
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* Update chia/util/keyring_wrapper.py
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* add `ClassVar` import
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-01-08 08:36:13 -06:00
Arvid Norberg
c9e33f0e30
simplify get_unfinished_blocks() ( #17226 )
2024-01-08 08:35:52 -06:00
wjblanke
101f1aa9e4
add measured sizes for plot check ( #16830 )
2024-01-05 16:13:16 -08:00
Arvid Norberg
41b9d02669
evict entries continuously from seen_unfinished_blocks ( #17207 )
...
remove entries from the seen-unfinished-blocks cache continuously, rather than emptying it periodically
2024-01-05 12:23:03 -08:00
Matt Hauff
c7c4c6b4b7
Fix endless recursion in list_to_binary_tree ( #17219 )
2024-01-05 12:22:34 -08:00
Matt Hauff
1a33cfdecc
Add --override flage to make_offer ( #17220 )
2024-01-05 12:22:06 -08:00
Arvid Norberg
92499b64a2
use rust types for VDFInfo, VDFProof and ClassgroupElement ( #17102 )
...
* use rust types for VDFInfo, VDFProof and ClassgroupElement. Since these types aren't dataclasses, the dataclass.replace() is changed to method replace()
* add test for recursive_replace()
* add comment in recursive_replace() hack
2024-01-04 10:54:21 -08:00