* use separate protocol versions for the different services
* Validate protocol version on handshake
* simplify checking protocol version for incoming connections
---------
Co-authored-by: Harold Brenes <h.brenes@chia.net>
* Pass full version in Handshake
* Move chia version conversion into crawler
* Rename to overloaded `chia_short_version` and always return str
* Ensure we extract major.minor.patch from invalid pep440 if available
Improve get_seconds_and_delayed_puzhash_from_p2_singleton_puzzle.
* Construct delayed_puzzle_hash as a proper bytes32 object.
* Mark unused values.
* Handle atom optionality before constructing return values.
Properly construct CATCoinData's mod and tail program hashes in CATWallet's coin_added.
This now handles optional values and constructs a bytes32 object on success.
* update to aiohttp 3.9.2
* correct testing of bans
* fixup
* again
* again (again)
* 🍌 ooh-ooh-aah-aah 🐒
* add back a test that banned host can not connect
* Optimize insert/upsert/delete by using get_node_for_key
* Add a unit test for insert's key already present code path.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
* test that installers find plotters
* maybe correct launching from installers
* handle noisy output
* list dmg contents
* list exe installed contents
* adjust chia path on darwin
* linux as well
* fix
* more prints and some timeouts
* resolve
* undo
* empty
* more output
* install numa
* no madmax working from rpm
* reword
* Update build-linux-installer-rpm.yml
fix lookup_fork_chain() to support starting from an empty chain (i.e. height -1 and header-hash GENESIS_CHALLENGE). There are edge cases where the node may want to do this
* Port test_wallet_coinbase
* Port test_wallet_make_transaction
* Port test_wallet_reuse_address
* Port test_wallet_clawback_claim_auto
* Port test_wallet_clawback_clawback
* Port test_wallet_clawback_sent_self
* Port test_wallet_clawback_claim_manual
* Port test_wallet_clawback_reorg
* Rebase fixes and flakiness improvements
* Port test_get_clawback_coins
* Port test_clawback_resync
* Port test_wallet_coinbase_reorg
* Port test_wallet_make_transaction_hop
* Port test_wallet_make_transaction_with_fee
* Port test_wallet_make_transaction_with_memo
* Port test_wallet_create_hit_max_send_amount
* Port test_wallet_prevent_fee_theft
* Port test_wallet_tx_reorg
* Port test_address_sliding_window
* Port test_sign_message
* Port test_wallet_transaction_options
* Remove unneeded check_balances call.
* Introduce tx_amount and use it across test_wallet_clawback_claim_auto.
* Reapply b79ecd2 (got lost in the recent merge).
* Minor improvements to test_wallet_clawback_clawback:
* Introduce tx_amount and test_fees and use them to clarify test conditions.
* Remove no longer needed json.dumps(resp) call.
* Remove unneeded dict() call on a {} constructed dictionary.
* Remove accidental change (addendum to bebc87f).
* More tx_amount and test_fees.
* Remove no longer needed json import.
* Remove unneeded dict() calls on {} constructed dictionaries.
* Introduce tx_amount2 in test_clawback_resync and clarify state transitions.
* Clarify state transitions in test_wallet_make_transaction_hop.
* Simplify transaction_has_failed.
* Just some consistency.
* Remove unneeded check_balances calls.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
we never pass HeaderBlock objects to multiprocess_validation(), only FullBlocks. Remove all code that handles HeaderBlocks in the multiprocess_validation path
* its also useful to have network info available from the daemon, vs having to ask whichever service(s) happen to be up
* Add test for get_network_info on daemon
* Fix precommit
* Update source to black 24 spec
* update black to 24.1.1
* update pylint to ignore multiple-statements
* update test file
* black updates
* format updates
* Update test_network_protocol_files.py
* Update test_network_protocol_files.py
* tighten up the check for duplicate UnfinishedBlocks before requesting them
* improve comment. rename private member with an underscore prefix
* improve variable names