Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 64c57fdd78 fully hint test_pool_rpc (#14204) 2022-12-23 11:32:35 -06:00
Amine KhaldiandGitHub 5d31f2679e check_removals() doesn't need to be async (#14199)
check_removals() doesn't need to be async.
2022-12-23 11:32:06 -06:00
Adam KellyandGitHub 407c0ba4a4 Fixes the case when a fee estimation request is made before the FullNode has initialized a peak (#14193)
* Fixes the case when a fee estimation request is made before the FullNode has initialized a peak

* Clarify code by setting defaults early

* Only spawn one full node in test
2022-12-23 11:31:44 -06:00
Kyle AltendorfandGitHub b8068a856d wait for wallet sync in test_wallet_coinbase_reorg() and test_wallet_tx_reorg() (#14202) 2022-12-22 00:12:50 -06:00
Kyle AltendorfandGitHub ccfaca8060 make wallet rpc client wallet id parameters accept int, not str (#14200)
* make wallet rpc client wallet id parameters accept int, not str

* Update chia/cmds/wallet_funcs.py
2022-12-22 00:12:33 -06:00
Kyle AltendorfandGitHub cb6c5fc17f improve adjusted_timeout() to handle floats and None (#14198) 2022-12-21 23:59:36 -06:00
Amine KhaldiandGitHub a802007936 Remove redundant check for duplicate outputs (#14195)
Remove redundant check for duplicate outputs.
2022-12-21 23:59:17 -06:00
Kyle AltendorfandGitHub f2d99f6195 Add py310 to the black target version (#14159) 2022-12-21 23:58:35 -06:00
William AllenandGitHub 8bf2d2ff3f Updating PR template & adding exclusion tags (#14055)
* Updating PR template & adding exclusion tags

* Updating PR Template, and additional release note filtering label
1.7.0-b4
2022-12-21 11:31:51 -06:00
JeffandGitHub 187e2648b5 Bump chia-blockchain-gui to c76d0dc6ddda0cfae729e66022daa69a55292f16 (#14205)
Includes:
NFT search/filtering and multiselect
Refactoring of the NFT LRU cache
Bump Electron to 20.3.8
"Wallet Connect" --> "WalletConnect" renaming
Many ESLint fixes
2022-12-21 11:18:42 -06:00
Kyle AltendorfandGitHub 1d42886721 hint RpcClient.create() return type (#14197) 2022-12-20 14:11:10 -06:00
Earle LoweandGitHub 3140c223bd TechDebt: add get_name to WalletProtocol (#13995)
* add get_name to WalletProtocol

* remove async from did_wallet::get_name

* Return "Standard Wallet" for get_name
2022-12-20 13:26:06 -06:00
Kyle AltendorfandGitHub 55f5e371b3 Block and transaction processing helpers (#11535)
* Block and transaction processing helpers

* flake8

* more and hints

* More

* separate tests of the simulator from tests using the simulator

* move fixture to conftest

* amounts are uint64

* remove unneeded while loop

* backoff instead of fixed sleep times

* .farm_blocks() only forces tx blocks when needed

* fix test_wallet_create_hit_max_send_amount

* fix test_wallet_tx_reorg

* fix test_address_sliding_window

* rename to farm_blocks_to_wallet

* rename to farm_rewards_to_wallet

* undo changes to protocol endpoints

* reword farm_blocks_to_wallet() loop

* rename process_blocks() to farm_blocks_to_puzzlehash() for now

* timeouts

* debug

* debug

* debug... for 3,7

* fix

* up timeout per block to 2 seconds

* increase transaction processing default timeout

* make debug maybe ok to leave around

* tidy

* intersperse sleeps again for wallet progression

* remove debug code

* review tidy

* cheat on uint64() type

* Update tests/simulation/test_simulator.py

* another import fix

* more fixes

* farm_blocks_to_puzzlehash

* more

* tweak

* fix the two-tx-blocks-instead-of-one dilemma

thanks to almog for figuring this out

* fix

* fixup

* rework since it was still broken on 3.7/3.8...

* oops

* yucky timeout

* more timeout

* cleanup todos

* add balance assertion after reorg before resubmission processing

* Apply suggestions from code review

* rename funds to expected_confirmed_balance

* catchup
2022-12-19 16:40:58 -06:00
William AllenandGitHub 8d8983275e checkpoint: into main from release/1.6.2 @ 30b9173eb2 (#14179)
Source hash: 30b9173eb2
Remaining commits: 0
2022-12-19 12:58:29 -06:00
Arvid NorbergandGitHub a9b3e25d2a bump default bladebit version to 2.0.1 in install-plotter.sh (#14181) 2022-12-19 10:55:28 -06:00
Kyle AltendorfandGitHub 419342ed22 reorder gui install command instructions in install.sh/ps1 (#14180)
* reorder gui install command instructions in install.sh

* reorder gui install command instructions in Install.ps1
2022-12-19 10:55:07 -06:00
Adam KellyandGitHub 60bcefef25 Don't rely on noticing self.limit_factor, instead do the block limit calculation once. (#14174)
* Don't rely on noticing self.limit_factor, instead do the block limit calculation once.

* Report the fill rate relative to the consensus rules, i.e. the published max block cost.
2022-12-19 10:53:36 -06:00
Amine Khaldi 9884a729ac Merge commit '30b9173eb205db5476b72bba8ef61dd2c3d34645' into checkpoint/main_from_release_1.6.2_30b9173eb205db5476b72bba8ef61dd2c3d34645 2022-12-17 12:57:33 +01:00
Adam KellyandGitHub 39d733599d Rename Mempool.removals, which is actually a map from coin_id to a list of SpendBundleIDs (#14168) 2022-12-16 20:53:09 -06:00
Adam KellyandGitHub 2762490fd1 Create logger object in module instead of passing it in (#14173) 2022-12-16 20:52:47 -06:00
William AllenandGitHub 6f222d5bce checkpoint: into main from release/1.6.2 @ 69501ae22a (#14171)
Source hash: 69501ae22a
Remaining commits: 1
2022-12-16 15:51:09 -06:00
Amine Khaldi 22a94594f3 Merge commit '69501ae22a2aeddc705633b9997a909971799f8a' into checkpoint/main_from_release_1.6.2_69501ae22a2aeddc705633b9997a909971799f8a 2022-12-16 21:40:40 +01:00
dustinfaceandGitHub a98546defd types: PeerInfo doesn't need to be streamable (#14166) 2022-12-16 12:33:04 -06:00
William AllenandGitHub 64985cbe7a checkpoint: into main from release/1.6.2 @ 29590b86a5 (#14169)
Source hash: 29590b86a5
Remaining commits: 2
2022-12-16 10:59:25 -06:00
Amine Khaldi 2b39b831c0 Merge commit '29590b86a5d41b5ea6da0f45f4b80bceb916e7b9' into checkpoint/main_from_release_1.6.2_29590b86a5d41b5ea6da0f45f4b80bceb916e7b9 2022-12-16 15:40:33 +01:00
Adam KellyandGitHub 8ec789586d Rename confusing variables. 'c_id' suggests coin IDs, but these values are actually SpendBundle IDs. (#14111) 2022-12-15 23:18:58 -06:00
Kyle AltendorfandGitHub 777295b2ad add system and os dependent timeout adjustments (#13778)
* add system and os dependent timeout adjustments

* Update time_out_assert.py

* add adjusted_timeout() and apply

* Update connection_utils.py
2022-12-15 20:00:00 -06:00
dustinfaceandGitHub 4aadaeb7f1 server: Resolve peers in harvester and timelord startup also (#14161)
Fix missing host resolving in harvester and timelord startup process 
after https://github.com/Chia-Network/chia-blockchain/pull/14069.
2022-12-15 19:59:39 -06:00
William AllenandGitHub e30a45eb04 checkpoint: into main from release/1.6.2 @ b0fc142878 (#14157)
Source hash: b0fc142878
Remaining commits: 3
2022-12-15 19:59:03 -06:00
Amine Khaldi 2e6569bce7 Merge commit 'b0fc14287882f2e2e08418fb25821789098c9930' into checkpoint/main_from_release_1.6.2_b0fc14287882f2e2e08418fb25821789098c9930 2022-12-15 16:23:51 +01:00
William AllenandGitHub e2114ba0cf checkpoint: into main from release/1.6.2 @ 81965c6dd5 (#14153)
Source hash: 81965c6dd5
Remaining commits: 4
2022-12-15 09:14:22 -06:00
Amine Khaldi 4a54941c50 Merge commit '81965c6dd57944294bb030e95f59ee0c8c9e94c4' into checkpoint/main_from_release_1.6.2_81965c6dd57944294bb030e95f59ee0c8c9e94c4 2022-12-15 11:55:19 +01:00
dustinfaceandGitHub e2e103241a Wrap Union[IPv4Address, IPv6Address] in the class IPAddress (#14136) 2022-12-14 17:11:08 -06:00
dustinfaceandGitHub efba674564 server: Resolve config peers earlier (#14069) 2022-12-14 17:10:34 -06:00
William AllenandGitHub f0ab764cb0 checkpoint: into main from release/1.6.2 @ 618f93b4c4 (#14138)
Source hash: 618f93b4c4
Remaining commits: 5
2022-12-14 17:09:31 -06:00
Amine Khaldi 7defb1ebfc Merge commit '618f93b4c42b176659cc74c02a4dd711adc62052' into checkpoint/main_from_release_1.6.2_618f93b4c42b176659cc74c02a4dd711adc62052 2022-12-14 19:24:34 +01:00
William AllenandGitHub dfd888dc58 checkpoint: into main from release/1.6.2 @ 0eed79bad4 (#14135)
Source hash: 0eed79bad4
Remaining commits: 6
2022-12-14 12:18:55 -06:00
Amine Khaldi 1d363dd70d Merge commit '0eed79bad4f71874ca54755b758ca7c698d013b6' into checkpoint/main_from_release_1.6.2_0eed79bad4f71874ca54755b758ca7c698d013b6 2022-12-14 13:10:26 +01:00
Matt HauffandGitHub ffd02b2f80 Return existing CAT wallet instead of raising (#14101)
* Return existing CAT wallet instead of raising

There's no reason to raise here, all the caller is looking for is an instance of the CATWallet that they're looking for and to create it if it doesn't exist.

* rename create_wallet_for_cat -> get_or_...

* Move wallet created noti inside of function

* remove redundant call
2022-12-13 22:46:16 -06:00
William AllenandGitHub c2529e1f9e checkpoint: into main from release/1.7.0 @ 9d423d1516 (#14129)
Source hash: 9d423d1516
Remaining commits: 5
2022-12-13 22:44:05 -06:00
Kyle Altendorf 2c7a4e4c96 Merge branch 'main' into checkpoint/main_from_release_1.7.0_9d423d1516f5b3900fab282db5d7d93acfa5ae72 2022-12-13 20:58:35 -05:00
Earle LoweandGitHub 30b9173eb2 Remove wallet coins list/split/combine options (#14132) 1.6.2-rc1 2022-12-13 18:47:07 -06:00
Amine KhaldiandGitHub cd4874c584 create_bundle_from_mempool() doesn't need to be async (#14114)
create_bundle_from_mempool() doesn't need to be async.
2022-12-13 17:11:12 -06:00
dustinfaceandGitHub 42f6a883ae isort: Remove the remaining exceptions and sort the related files (#14124) 2022-12-13 17:10:55 -06:00
Earle LoweandGitHub 69501ae22a Fees should always be in XCH mojos units (#14127)
Fees are always XCH mojos
2022-12-13 17:02:18 -06:00
Amine Khaldi 1c68458503 Merge commit '9d423d1516f5b3900fab282db5d7d93acfa5ae72' into checkpoint/main_from_release_1.7.0_9d423d1516f5b3900fab282db5d7d93acfa5ae72 2022-12-13 20:06:05 +01:00
William AllenandGitHub 6467bd03d7 checkpoint: into main from release/1.7.0 @ 397d703570 (#14113)
Source hash: 397d703570
Remaining commits: 6
2022-12-13 13:00:10 -06:00
dustinfaceandGitHub d13f8b837f server: Drop redundant VettedPeer.__init__ (#14123)
server: Drop unused `VettedPeer.__init__`
2022-12-13 09:52:21 -06:00
dustinfaceandGitHub fbc3127bd5 util: Rework get_host_addr (#14068)
* util: Rework `get_host_addr`

* Require `prefer_ipv6` to be named

* Remove outdated comment

* Improve result selection
2022-12-13 09:48:41 -06:00
Almog De PazandGitHub b5f44027dd don't throw unnecessary exception on peer connect (#14108)
don't throw unnecessary exception
2022-12-13 01:29:05 -06:00