Commit Graph
10 Commits
Author SHA1 Message Date
Amine KhaldiandGitHub 9491c6ee32 CHIA-3856 Use an adapted version of deficit round robin algorithm in TransactionQueue's pop (#20351)
Use an adapted deficit round robin algorithm version in TransactionQueue's pop.
2026-01-12 09:07:14 -08:00
Amine KhaldiandGitHub 338a13ae3d CHIA-3867 Simplify TransactionQueue's put (#20392)
Simplify TransactionQueue's put.
2026-01-08 09:17:19 -08:00
Amine KhaldiandGitHub 811ecc9b22 CHIA-3810 In TransactionQueue, prioritize peer queue transactions by fee per cost (#20282)
In TransactionQueue, prioritize peer queue transactions by fee per cost.
2025-12-05 09:43:14 -08:00
Amine KhaldiandGitHub cbd7a5c875 CHIA-3817 Make TransactionQueue's put synchronous (#20292)
Make TransactionQueue's put synchronous.
2025-11-24 15:11:34 -08:00
Matt HauffandGitHub 40db4635a8 [LABS-245] Enable PEP604 Ruff rules (#20269)
* Enable PEP604 Ruff rules

* Fix harcoded signature in test

* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00
Amine Khaldi bae4615a57 Make sure the fee and cost specified in a NewTransaction match the ones from validating its spend bundle. 2025-10-29 11:47:25 +01:00
Kyle AltendorfandGitHub 4a65e3a6b0 move tx processing queue entry classes (#19536) 2025-04-25 13:15:18 -05:00
Kyle AltendorfandGitHub d50b6e0883 use chia_rs directly for sized bytes (#19326) 2025-02-28 09:35:25 -08:00
Kyle AltendorfandGitHub 9c8557a1f8 Remove Python 3.8 support and update source to 3.9 standards (#18687)
* manual python 3.8 removals

* poetry

* pyupgrade

* black

* isort

* manually tidy imports

* work around shadowed type

* catch up build network protocol files for pyupgrade changes

* placate pylint

* re-enable 20.04

* placate flake8
2024-10-16 14:21:15 -07:00
Jack NelsonandGitHub 88f7040677 add new, optimized tx queue (#13887)
* add new, optimized tx queue

* isort & fix starting index

* make faster

* fix order

* add comment, change to peer id, remove extra apis and change max size

* lint

* final lint fix

* change to simplequeue, get rid of task and change to cursor

* fix logic

* isort

* optimize  cleanup

* add unit tests

* fix comments and switch to random

also add better spacing

* stupid mypy

* undo changes + stupid mypy

* fix tests, raise if full & seperate out peer_id

* get rid of class

* change to simulated tx queue entry

* add local high priority test & remove un necessary asserts

* change to better, faster check

* remove internal asserts

* cleanup test

* Update test_tx_processing_queue.py
2022-12-07 16:03:14 -06:00