Commit Graph
5861 Commits
Author SHA1 Message Date
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
Geoff Walmsley ceba39c672 remove singleton_store (#16868) 2023-11-21 09:45:10 -06:00
Matt Hauff d09b3a8207 Fix set_status accidental arg (#16860) 2023-11-20 10:40:20 -06: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
Arvid Norberg 038f5e8fb7 Fix deep reorgs (#16594) 2023-11-15 10:51:04 -06:00
dependabot[bot]andKyle Altendorf 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
Arvid Norberg fe3799b1ea request blocks in batches of 32 instead of 33 (#16792)
request blocks in batches of 32 instead of 33 (with the last block overlapping with the next request). Add comments to document a quirk in how we interpret the block range in the block request message.
2023-11-09 12:14:15 -08:00
Amine Khaldi d054314a18 Move generate_in_memory_db_uri to the chia/util to avoid importing tests from the chia package (#16752)
Move generate_in_memory_db_uri to the chia/util to avoid importing tests from the chia package.
2023-11-09 09:04:03 -08:00
Arvid Norberg 66d83db23b Fix invalid sync request (#16779) 2023-11-09 08:25:54 -08:00
Arvid Norberg 23dfcd85ac reduce redundant calls to compute the header hash (#16797)
* reduce redundant calls to compute the header hash for FullBlocks in multiprocess_validation

* test_long_reorg_nodes() still seem to take longer on CI sometimes
2023-11-08 16:17:05 -08:00
Arvid Norberg 5a1c15e20b Fix peak height race (#16776)
when we add a block, there's a subtle co-routine suspension point in between updating the height-to-hash map and the peak height. This leaves a window for a call to get_peak() to fail, because the peak height doesn't exist in height-to-hash map. This patch moves the suspension point to make these updates atomic. This allows for removing a hack in a test, that previously had to catch this exception
2023-11-08 08:41:40 -08:00
Earle Lowe 206b5c5185 Fix problems with wallet node discovery (#16782)
* Fix problems with wallet node discovery

* Adjust tests to work more consistently

* Attempt to debug rate limit test

* Limit rate test to one consensus mode
2023-11-08 08:40:21 -08:00
Arvid Norberg 64d6fb56a6 simplify the interface to mempool_manager.new_peak() (#16787)
simplify the interface to mempool_manager.new_peak() to just take the spent coin IDs rather than full NPCResult objects
2023-11-07 10:40:16 -08:00
Matt Hauff eabeac82b4 Port trade test to WalletTestFramework (#16293) 2023-11-07 09:50:22 -08:00
Arvid Norberg d2c2b91b30 add test performing a deep reorg with 3 nodes (#16774)
* increase test_constant BLOCKS_CACHE_SIZE to fit 3 epochs, to better mimic mainnet

* add test performing a deep reorg with 3 nodes, along with various fixes to make it work
2023-11-07 09:08:54 -08:00
Arvid Norberg 95e5b97557 Use bls from chia rs (#16715)
* replace blspy imports with chia_rs imports for BLS types

* remove blspy-stubs, since we're dropping the blspy dependency. chia_rs has type stubs already
2023-11-07 09:06:52 -08:00
Arvid Norberg 962233137b make sure we set max_sync_wait to 0 in all tests (#16771) 2023-11-06 07:02:12 -06:00
Kyle Altendorf 95ed41da94 more time for plot refreshing in ci (#16762) 2023-11-03 11:36:01 -05:00
Kyle Altendorf ffe20da303 fixup pylint confusion (#16716) 2023-11-03 11:35:37 -05:00
Matt Hauff bf4cdf22a5 Port VC lifecycle tests to WalletTestFramework (#16292) 2023-11-03 08:30:59 -05:00
Geoff Walmsley c2b35009de fix flaky dao tests (#16740) 2023-11-03 08:30:41 -05:00
Don Kackman 975af7494b [ADDED] Allow the daemon to use TLS v1.2 via config flag (#16747) 2023-11-01 11:53:58 -05:00
Chris MarslenderandKyle Altendorf 53435588a0 Update to support looking up mnemonic by just the first 4 letters of each word (#16704)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-01 11:52:52 -05:00
Amine Khaldi 97fb769755 Speed up test runs by leveraging in-memory databases within reason (#16637) 2023-11-01 10:56:40 -05:00
Geoff Walmsley 402cbc0499 return List[TransactionRecord] from nft bulk mint functions (#16680) 2023-11-01 08:24:40 -05:00
Arvid Norberg ca85e485e6 transition away from __bytes__ conversion for fixed-size integers (#16701) 2023-10-31 16:57:17 -05:00
Arvid Norberg 7ad1db1b62 bump chia_rs to version 0.2.13 (#16737) 2023-10-30 13:05:15 -07:00
Izumi Hoshino c9f414611a Distinguish insufficient_partials from invalid_partials (#16667) 2023-10-30 10:12:06 -07:00
Arvid Norberg 1d55fa894f generalize JSON serializer (#16733) 2023-10-30 08:50:10 -07:00
Arvid Norberg 0d1abd71a5 move vdf validation to a free free function (#16633) 2023-10-30 07:40:47 -07:00
Amine Khaldi c2fbd6ecf1 Make pylint ignore bare-except in this particular case, just like we do with flake8 (#16714) 2023-10-27 14:29:47 -07:00
Kyle Altendorf fc0eda6178 refactor WebSocketServer.ping_task() to loop (#15408) 2023-10-27 12:03:48 -07:00
Kyle Altendorf aaf081f69d explicit protocol checks against RpcServiceProtocol (#16710) 2023-10-27 12:03:15 -07:00
Geoff Walmsley 2382df975c dao updates (#16691) 2023-10-26 20:00:36 -05:00
Chris Marslender 066140cb36 Swap some info logs in seeder to warning (#16703) 2023-10-26 19:59:04 -05:00
Arvid Norberg f863326d87 harmonize SerializedProgram with Program (#16694) 2023-10-26 15:55:10 -05:00
Arvid Norberg 709190bbfd Sync no farmer (#16698) 2023-10-26 15:33:58 -05:00
Amine Khaldi a420d8ea0c Simplify add_block_batch by making it take PeerInfo instead of WSChiaConnection (#16692) 2023-10-26 10:33:45 -05:00
Felix BruckerandKyle Altendorf ef98949a30 Add support for lists of peers in the config (#16376)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-10-24 12:33:19 -05:00