This commit adds just the 'chia-farmer-version' and
'chia-harvester-version' headers and is a reduced version of the
following original commits by Felix Brucker:
commit 0e51984c06
Date: Fri Mar 29 15:59:48 2024 +0700
Rename header prefix from `x-` to `chia-`
commit 2bdc4de2f0
Date: Wed Mar 27 17:13:42 2024 +0700
Add test and fix missing version on dummy harvester peer
commit 15f3feae85
Date: Wed Dec 13 22:34:38 2023 +0530
Add additional partial headers
* refactor new_peak_timelord
* fix test
* improve test assertions
* lint
* return after skipping peak
* improve comments
* limit condition to a diff of one block
* remove log
* refactor test
* better conditions
consider overflows as well
* pre commit
* test with overflow
* add test for EOS case
* lint
* comment
* prefer lower iterations peaks
* test full node receiving same weight lower iterations
* lint
* fix reorg test, lint
* fix block tools bug
* use signage point param in test
* use signage point param for overflows as well
* remove unused case
* fix block_tools condition
* lint
* lint
* Add check for peak not none in test
---------
Co-authored-by: Earle Lowe <e.lowe@chia.net>
* Add in connect timeout to DL http download
* Update mock function
* Consolidate to using aiohttp.ClientTimeout
* Revert "Consolidate to using aiohttp.ClientTimeout"
This reverts commit db3e77c101.
* Consolidate to using aiohttp.ClientTimeout
* Fix up default value with proper use of default_factory
Use launcher_id as the primary key when updating (current) pool config.
Add an error diagnostic for the case where updating fails due to the supplied closure.
* Change a bunch of info logs back to warning in crawler, since crawlers are typically run in warning mode, to avoid the info log connection spam
* Ensure that the crawler loop ONLY doesn't start when in tests
* Rename the crawler service to crawler_service_no_loop, so defaults can also be tested WITH a loop
* Test crawler loop modes
* Add message when we received state chaged callback
* Add log to indicate crawling has started and how many peers we're crawling
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add action_scope: WalletActionScope to all tx endpoints
* Add usage of action scope throughout wallet codebase
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* Fix miscellaneous test
* Fix miscellaneous test
* Fix miscellaneous test
* pylint
* Add auto claim test coverage
* Take advantage of extra_spends
* Fix tests
* test fixes
* pylint
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add action_scope: WalletActionScope to all tx endpoints
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* Fix miscellaneous test
* Fix miscellaneous test
* Fix miscellaneous test
* Add auto claim test coverage
* Add prune old peers functionality for crawler to keep the database size and write times under control
* Add test
* Make starting the crawler loop optional for tests. Test the pruning of old peers
* Fix lint issues
* Show trusted (wallet) peers
* Warn when the subscription limit has been reached
* Revert: (39022fe) Warn when the subscription limit has been reached
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* Add auto claim test coverage
make plain Program.run() and Program.run_with_cost() default to enabling all the most recent features, and to disallow unknown opcodes (i.e. strict mode). To have full control of which features are enabled, introduce a run2() function
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* preliminary setup with poetry
* don't worry about locking the poetry env for the exploration right now
* recover black config in pyproject.toml
* install.sh for linting workflow
* pull chiavdf version from poetry in install-timelord.sh
* activate etc in upload and lint workflow
* debug poetry show output on macos
* update to clvm-tools 0.4.4
* add back setproctitle
* catchup deps
* lock
* allow 3.10
* debug
* make Install.ps1 use poetry as well
* -ErrorAction Ignore
* more todo about python version selection
* make install-timelord.sh modifications more posix compliant
* gitignore .penv* and .venv* as well
* remove requirements.penv.txt
* get artifact check requirements from poetry
* fix .gitignore for venv symlink
* separate out poetry setup
* :
* comment out code to be worked on
* setup poetry for dependency check
* ignore new poetry symlink
* chia_rs==0.1.4
* a few updates
* some missed updates `:[`
* update some types libs
* fix extras
* activate
* just use `python` somewhere
* for windows
* less symlinking for windows
* oops
* s
* more
* # shellcheck disable=SC2086
* activate action
* more python version
* lock up
* include ipython (for python >=3.8)
* add miniupnpc extra
* add poetry-dynamic-versioning
* type it out
* better match dev versioning
* catch up and delete setup.py again
* lock
* add pytest-cov
* .penv/bin/poetry
* .venv for windows activation
* update pytest-xdist
* install upnp extra
* upnp
* quote
* maybe update some deps
* mandatory and string
* oops
* slighty tidy
* debug pip list
* debug
* pybind11 maybe instead?
* remove pip install debugging
* debug without upnp nor pypi.chia.net
* chiavdf==1.0.8
* bring back upnp
* re-enable upnp
* diagnostic exception reraise
* .exe?
* diagnostics
* .cmd...?
* light tidy
* more cleanup
* make dependency check script not cwd dependent for finding the poetry env
* correct sh substitution
* lock
* coverage 7
* todo cleanup
* poetry update
* interesting
* windows too
* support non-editable install via scripts again
* oops
* again
* sheesh
* fixup
* more
* more
* Update dependencies
* various pre-commit linter updates
* add pyupgrade to extras list
* use priority=supplemental instead of secondary
* Add in some missing deps
* update setuptools and pyinstaller to match main
* venv->.venv
* lint fixes
* update a few packages for 3.12 support
* get zstd from chia resource for python 3.12
* Adjustments to dynamic versioning
* experiments with versioning
* test fixes
Signed-off-by: Earle Lowe <e.lowe@chia.net>
* fixup last commit
* include upnp as extra when installing on windows
* include mozilla-ca as a package for the cacert.pem file
* some windows tweaks
* use SPECPATH as anchor path in pyinstaller.spec file
* Add lxml as dev dependency
* Fixup typo in lxml version
* Update some packages to resolve GH vuln reports
* Update more packages to resolve GH vulns
* Ignore pylint license in depedency checker
* match installation of the dynamic version plugin on windows
* Fix issues with setting windows environment and use pip to install plugin per poetry docs recommendation
* properly apply non-editable option with -i
* use -f with ln to remove existing file as needed
* use shell=true for subprocess to help windows run chia if it's a .cmd
* Update .coveragerc
* use shutil.which() to find chia executable in a cross platform way
* mypy fixes
* Address conflicts for numpy based on python version
* Update lock file
* Remove troublesome reference to pypi source
* Add TODOs for manual install of poetry-dynamic-versioning plugin
* Use poetry dynamic versioning to figure out the version rather than setuptools_scm
* Update .github/workflows/reflow-version.yml
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Update .github/workflows/test-single.yml
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Update urllib3
* Attempts to get dynamic versioning to output something semver
* more versioning finangling
* lint pyproject.toml
* Update certifi
---------
Signed-off-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
make MempoolItem and InternalMempoolItem contain the SpendBundleConditions directly, rather than the NPCResult. A mempool item is guaranteed to be valid, so the error state of NPCResult will never be engaged anyway.
* Repin hsms
* Add to sdist only allowed list
* Signer protocol tweaks
* Convert wallet RPC client to deserialized types
* Introduce @tx_out_cmd decorator
* Make execute_signing_instructions RPC
* Add transport layer support
* Add signer commands
* Rework wallet execute_signing_instructions
* Inadvertent merge changes
* Fix signer command tests
* Try a different approach: recursive flattening
* Bump hsms
* Add comments
* Test coverage
* Coverage ignores
* Remove inadvertent time traveler
* Bring in lost time traveler
* pylint
* Attempt to make qr test less flaky
* Actually test coverage ignore
* Small refactor for test coverage
* transport -> translation
* missed one
* transport -> translation
* Fix asdict error
* coverage
* Forgoe rotation testing for now
* Test coverage
* jsonify_unsigned_txs -> full_jsonify
* Move a class
* Add better type checking to framework
* explicitly state kwargs on _CommandParsingStage
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Address comments by @altendky
* Consolidate add_private_key and add_public_key
* Consolidate get_key_for_fingerprint and get_public_key_for_fingerprint
* Test fix
* Merge fix
* Bad merge
* Bad merge
* oops
* pylint
* Tweak keychain_proxy.get_key_for_fingerprint
* Fix wallet RPC test?
* pragma: no cover
* Redesign clvm_streamable
* Fix test imports
* black
* fix one more test
* Address comments by @altendky
* Test coverage
* bytes32
* Better CLI mnemonic check
* Use functools.partial
* Rename full jsonify to chip 29
* whoops missed a couple
* Better CLI mnemonic check
* black
* pylint
* Missed one
* black
* Farm at least one block
* Revert last change and fix 0 block farming
* black
* bad merge
* Merge fix
* Inadvertent changes
* Inadvertent changes
* Syncronize with quex.tx_out_decorator2
* These are no longer dictionaries.
* Use new clvm_streamable pattern
* Fix offer endpoint
* Add @tx_out_cmd decorator
* Bump ecdsa version
* Fix @marshal util to return proper transactions
* Add get_public_key
* port `chia wallet send` to @tx_out_cmd
* merge fix of puzzle hash derivation
* Port `chia wallet coins` to @tx_out_cmd
* Port chia wallet clawback to @tx_out_cmd
* Port `chia wallet take/cancel_offer` to @tx_out_cmd
* Port `chia wallet did ...` to @tx_out_cmd
* Port `chia wallet nft ...` to @tx_out_cmd
* Port `chia wallet notifications send` to @tx_out_cmd
* Port `chia wallet vcs ...` to @tx_out_cmd
* Port `chia dao ...` to @tx_out_cmd
* Exclude data layer and plotnft functions
* [no ci]
* Address comments by @AmineKhaldi
* Fix rpc util
* add test for BSTLSigningInstructions
* [UNDO] d9c6f54398
* [UNDO] 7fc1d2adfd
* [UNDO] 23c9ee8549
* [UNDO] aacc9f0228
* [UNDO] 548465403b
* Undo unintentional changes
* Stuff that's not part of this
* More stuff that doesn't belong
* One last thing that doesn't belong
* Unintentional change
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>