instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tari-project__tari__6092 | tari-project/tari | 6,092 | defect | 69421f5ef97f0ba4c194162bca0b367dc7714ffe | 17e754b4e360f9ea7a645ab6e1b799878cf07062 | fix: faster tor startup | Description
---
This makes so that the nodes/wallets don't have to wait for tor to startup
Motivation and Context
---
Mobile wallets can take very long to wait for tor on startup effectivity blocking the wallet from even doing background tasks. This allows the wallets to start without an active connection
How... | diff --git a/Cargo.lock b/Cargo.lock
index 6995a920c41..0bf04043d42 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -95,9 +95,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstream"
-version = "0.6.4"
+version = "0.6.11"
source = "registry+https://github.com/rus... | 4 | 4 | 3 | [{"id": "G0", "claim": "In bootstrap.rs the after_comms callback's `.expect(\"Should be able to create address\")` could cause a bunch of problems, and perhaps it would be better to log a warning and continue instead of panicking.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
tari-project__tari__6152 | tari-project/tari | 6,152 | defect | 19a824dea8971f15a7b263122b20e46286f89857 | 1235f111fc85aae2dcb4b97c4be080235c1b1348 | feat: wallet ffi use dns | Description
---
Add the option for the wallet_ffi, to use the DNS build into it.
Motivation and Context
---
Allow the fii to use DNS.
How Has This Been Tested?
---
Manual
| diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs
index b793a18c90f..5124e892465 100644
--- a/base_layer/wallet_ffi/src/lib.rs
+++ b/base_layer/wallet_ffi/src/lib.rs
@@ -123,7 +123,7 @@ use tari_common_types::{
};
use tari_comms::{
multiaddr::Multiaddr,
- peer_manager::NodeIdent... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new peer_seed_str parameter is unnecessary: the DNS seed address should be interpolated from the network argument (e.g. seeds.{network}.tari.com via network.as_key_str()) instead of being passed in, reducing the interface.", "category": "design", "verdict": "uncertain", "priority": "P1", "sc... | null |
tari-project__tari__6154 | tari-project/tari | 6,154 | defect | f5860a89d20b33f48cb1b78fa466184d7392793c | 8b2403bc34e2b36ca9fcb67c724f50a50192c19d | feat: limit transaction size | Description
---
Added checks to ensure that transactions negotiated between parties, transactions to self and imported transactions do not exceed the RPC frame size limit when the transaction is broadcast to the base node. This can easily happen when lots of dust inputs are collected to be spent. If a too-large trans... | diff --git a/base_layer/wallet/src/output_manager_service/handle.rs b/base_layer/wallet/src/output_manager_service/handle.rs
index e208a09ccfb..54caae3e114 100644
--- a/base_layer/wallet/src/output_manager_service/handle.rs
+++ b/base_layer/wallet/src/output_manager_service/handle.rs
@@ -45,10 +45,7 @@ use tower::Servi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The size check nested inside the massive match on the initial send is hard to read; the reviewer suggests instead a plain `if let Err(e) = check_transaction_size(&outbound_tx_check, self.id) { handle error and exit }` outside the match.", "category": "maintainability", "verdict": "supported", "p... | null |
tari-project__tari__6156 | tari-project/tari | 6,156 | defect | 8a16f7ba83fd200618814b2eaf66c88c5b1dfb79 | 79c0350c7f6a037b37d0292ff08d486ef626eef5 | feat!: change proof of work to be dependant on target difficulty | Description
---
Changes Tari to use Target difficulty rather than achieved difficulty when looking at the chain with the most proof of work done.
Motivation and Context
---
Achieved difficulty can make it so that you get a lot of reorgs based on blocks getting a lucky high achieved difficulty. This skews the res... | diff --git a/applications/minotari_app_grpc/proto/base_node.proto b/applications/minotari_app_grpc/proto/base_node.proto
index 57aabd60f8f..848db16d0ae 100644
--- a/applications/minotari_app_grpc/proto/base_node.proto
+++ b/applications/minotari_app_grpc/proto/base_node.proto
@@ -316,7 +316,7 @@ message MetaData {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Keep the name `accumulated_difficulty` instead of renaming it to `accumulated_target_difficulty` in the ChainMetadata grpc conversion (and the field it maps to).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tari-project__tari__6160 | tari-project/tari | 6,160 | defect | f5860a89d20b33f48cb1b78fa466184d7392793c | 392a3f0cb6b5977374112cdc74460b2935854ba2 | feat!: implement inflating tail emission | ## Summary
Adds a feature `tari_feature_mainnet_emission` to allow for tail emission
inflation. See #6122
This change necessitates the addition of 2 new consensus constants:
`inflation_bips` -- the annual inflation rate of the total supply.
and `tail_emission_epoch_length`, which controls the tail emission
i... | diff --git a/applications/minotari_app_grpc/proto/types.proto b/applications/minotari_app_grpc/proto/types.proto
index 474e2bc3ab5..c652dbd6bf1 100644
--- a/applications/minotari_app_grpc/proto/types.proto
+++ b/applications/minotari_app_grpc/proto/types.proto
@@ -119,7 +119,7 @@ message ConsensusConstants {
uint6... | 1 | 1 | 0 | [{"id": "G0", "claim": "The deprecated emission_tail field (12) can be deleted from the proto file since it defaults to 0 in a dated proto file and almost certainly nothing uses it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tari-project__tari__6196 | tari-project/tari | 6,196 | defect | 4821660654e78aab86a919601f58c5cd098053f7 | 13eda9c5c225c5645d6f09c660d1b27d0d1e039a | feat: optimize transaction validation db queries | Description
---
Optimized transaction validation SQLite queries to run in batch mode wherever possible to minimise db operations.
Motivation and Context
---
See #6195
How Has This Been Tested?
---
Updated unit tests
Added a raw query regression test
System-level testing
What process can a PR reviewer ... | diff --git a/base_layer/wallet/src/output_manager_service/storage/database/backend.rs b/base_layer/wallet/src/output_manager_service/storage/database/backend.rs
index 03eb5c434bb..d08e86df62b 100644
--- a/base_layer/wallet/src/output_manager_service/storage/database/backend.rs
+++ b/base_layer/wallet/src/output_manager... | 5 | 2 | 0 | [{"id": "G0", "claim": "Drop the added `_batch_mode` suffix from the new OutputManagerBackend trait function names (e.g. `set_received_outputs_mined_height_and_status_batch_mode`), because it leaks internal batching workings into the outer API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": ... | null |
tari-project__tari__6218 | tari-project/tari | 6,218 | defect | 14525358b81afdb49c8a15a57d04ceffb65fb0b9 | 8b85be12ee81ff1a69bf342caabb3cc509f61db1 | fix!: change grpc deny to allow | Description
---
Removes the antipattern of a deny list and puts in an allow list
Motivation and Context
---
A deny list is an antipattern because new methods are not automatically added to the list
Replaces: #6177 | diff --git a/applications/minotari_merge_mining_proxy/src/run_merge_miner.rs b/applications/minotari_merge_mining_proxy/src/run_merge_miner.rs
index 676e96bf6a9..ec076c94b60 100644
--- a/applications/minotari_merge_mining_proxy/src/run_merge_miner.rs
+++ b/applications/minotari_merge_mining_proxy/src/run_merge_miner.rs... | 2 | 1 | 1 | [{"id": "G0", "claim": "In both base node preset files, the comment above grpc_server_allow_methods still says the methods 'should be denied' and should be changed to say 'should be allowed'.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "second_l... | null |
tari-project__tari__6226 | tari-project/tari | 6,226 | defect | 01d79e09aed7e3cf256b1f8a5caad391736ea78c | f9d934de1c2cb502e2f33a0653fc8b181c9fde56 | feat: new template with coinbase call | Description
---
This adds a new grpc call to take a block template and add coinbases to it as desired. The callee is required to ensure that the coinbases amounts provided are correct and per consensus.
Motivation and Context
---
This is to allow external miners to create a block with 1 sided coinbase utxo's to... | diff --git a/Cargo.lock b/Cargo.lock
index eef32e9822a..5e341a46895 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3270,6 +3270,7 @@ dependencies = [
"tari_core",
"tari_crypto",
"tari_features",
+ "tari_key_manager",
"tari_libtor",
"tari_metrics",
"tari_p2p",
diff --git a/applications/minotari_app_grpc/proto/... | 7 | 3 | 0 | [{"id": "G0", "claim": "The miner should be served by one gRPC call that returns a template with the coinbases already added, instead of getting the template and then calling a second endpoint to attach coinbases, since the miner no longer does anything with NewBlockTemplate.", "category": "design", "verdict": "support... | null |
tari-project__tari__6242 | tari-project/tari | 6,242 | defect | 02902041d0f6d8f614897ec7d0f4149f01c214b8 | 5270114b78c2385ece9e3afb0e82b4ff291dfd55 | feat: improve lmdb dynamic growth | Description
---
- Improved the LMDB resizing during block sync of many consecutive full blocks; this is required due to how the SMT works currently as it is replaced for every new block.
- Added SMT database write profiling measurements.
Motivation and Context
---
See above.
How Has This Been Tested?
---
-... | diff --git a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
index a74cca1897a..29ab8cb8708 100644
--- a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
+++ b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
@@ -20,7 +20,7 @@
// WHETHER IN CONTRACT, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "Avoid allocating a new vector for all outputs in validate_input_not_pruned by using body.outputs() directly in the find and removing the `let outputs: Vec<TransactionOutput> = body.outputs().clone();` line.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
tari-project__tari__6265 | tari-project/tari | 6,265 | defect | 492e00ecd3ea4400d1ca31e4169c6e7452a1b6e9 | 4472b9455f46649c4cbf065739358455f51f57ef | feat: keep smt memory | Description
---
This only keeps only a single copy of the smt in memory
Motivation and Context
---
Writing and load the smt from disc every time is inefficient and take long, this keeps in in memory.
Keeping a single copy in an `Arc<RwLock<>>` alles the node to keep a single copy and use it.
How Has This B... | diff --git a/applications/minotari_node/src/bootstrap.rs b/applications/minotari_node/src/bootstrap.rs
index dc76aa290fd..9bf7ea1125a 100644
--- a/applications/minotari_node/src/bootstrap.rs
+++ b/applications/minotari_node/src/bootstrap.rs
@@ -20,7 +20,12 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDI... | 7 | 5 | 0 | [{"id": "G0", "claim": "Add a trace log to calculate_tip_smt reporting the time it takes to calculate the SMT, with stats such as block height and SMT entry size.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Expand the '// lets rewind the smt ... | null |
tari-project__tari__6306 | tari-project/tari | 6,306 | defect | cf579f527c31912c0a1105fa3b51aa2b63c29407 | 4aaeafb0d3528630bc80361a3e39af9be1ba07a9 | fix: potential overflow of coinbase calc | Description
---
fix potential overflow of multiple coinbase grpc call
Motivation and Context
---
How Has This Been Tested?
---
tests
| diff --git a/applications/minotari_node/src/grpc/base_node_grpc_server.rs b/applications/minotari_node/src/grpc/base_node_grpc_server.rs
index 4b2e0446441..dc5dbcb8298 100644
--- a/applications/minotari_node/src/grpc/base_node_grpc_server.rs
+++ b/applications/minotari_node/src/grpc/base_node_grpc_server.rs
@@ -788,27 ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new coinbase share calculation may overflow in the multiplication, divide by zero when total_shares is 0, or underflow in the subtraction.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test could assert that the two ... | null |
tari-project__tari__6345 | tari-project/tari | 6,345 | defect | 64e650bd61762df2b014b1dbcd7e689cd72e0c62 | c0d08f3bb3a36dcba5124393e90ab7c4f8289c99 | feat: remove chunking from rpc | Description
---
Removed chunking from RPC as this does not improve latency or throughput and adds code complexity.
Motivation and Context
---
See above.
How Has This Been Tested?
---
System-level tests were conducted syncing a fresh archival base node in a controlled environment over Gigabit wired LAN wher... | diff --git a/comms/core/src/protocol/rpc/message.rs b/comms/core/src/protocol/rpc/message.rs
index ed377fe50f6..17ffd03bcd4 100644
--- a/comms/core/src/protocol/rpc/message.rs
+++ b/comms/core/src/protocol/rpc/message.rs
@@ -267,17 +267,6 @@ pub struct RpcResponse {
pub payload: Bytes,
}
-impl RpcResponse {
- ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The server response mapping should use the existing RpcResponse::to_proto() helper instead of hand-constructing proto::rpc::RpcResponse field by field.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The now-redundant RPC_... | null |
tari-project__tari__6358 | tari-project/tari | 6,358 | defect | bc2ac4c7a071992e556e23854b1ff38d52f8be60 | ceccdf90843a1b54392a36e22ec32c4ac0c14c2b | feat: split message to have dedicated to and from fields | Description
---
split message to have dedicated to and from fields
Motivation and Context
---
This is needed for #6353
When a chat client receives a message, it needs to know the complete address of the receiver, not just a part of it. This allows the user to get the complete address by saving what the sender ... | diff --git a/base_layer/chat_ffi/chat.h b/base_layer/chat_ffi/chat.h
index 7117f6df17e..635d2558430 100644
--- a/base_layer/chat_ffi/chat.h
+++ b/base_layer/chat_ffi/chat.h
@@ -490,6 +490,7 @@ void destroy_conversationalists_vector(struct ConversationalistsVector *ptr);
* The ```Message``` received should be destroye... | 2 | 1 | 1 | [{"id": "G0", "claim": "A sender could potentially use the from-address origin check as an attack vector by populating from_address with an address whose public view key matches but whose spend key does not, since the check cannot validate the spend key.", "category": "security", "verdict": "uncertain", "priority": "P3... | null |
tari-project__tari__6376 | tari-project/tari | 6,376 | defect | 43b2317e8fea146d9446e150b97b09cfe41bea4d | d0565c38c695d9716465d05f1faca463a8d4c7fa | feat!: make stealth one-sided tx's look the same as all other tx's | Description
---
Make stealth one-sided transactions look like interactive and normal 1-sided
Motivation and Context
---
This increases privacy for transactions leaking less detail.
| diff --git a/applications/minotari_console_wallet/src/ui/components/send_tab.rs b/applications/minotari_console_wallet/src/ui/components/send_tab.rs
index 109a8998f11..28ef6dd7e5d 100644
--- a/applications/minotari_console_wallet/src/ui/components/send_tab.rs
+++ b/applications/minotari_console_wallet/src/ui/components... | 7 | 5 | 1 | [{"id": "G0", "claim": "The pull request has clippy errors that need to be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The function renamed to `push_pubkey_script` should instead be called `one_sided_payment_script`, because that name ... | null |
tari-project__tari__6405 | tari-project/tari | 6,405 | defect | 2b22c1ad8c70350e838db979d008f1369552fbc4 | 8a442e708d42a607d1864f77aa502475803bcde0 | feat: add file-based input and output to faucet commands | Description
---
In this PR the following functionality were implemented:
- Added file-based I/O to faucet commands
- Combined faucet script and metadata signature generation steps
- Safe-guarded faucet commands:
- wallet will exit immediately afterwards;
- faucet commands will only be allowed in command mode... | diff --git a/Cargo.lock b/Cargo.lock
index 38a526b1d6c..d03a44bc5ab 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1653,6 +1653,15 @@ dependencies = [
"subtle",
]
+[[package]]
+name = "dirs"
+version = "5.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44c45a9d03d6676652bcb5e724c7... | 3 | 1 | 0 | [{"id": "G0", "claim": "Drop the explicit `output_hash.to_hex()` calls and pass `output_hash` directly, because HashOutput already implements hex display.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add `default_value=false` to the `verify_un... | null |
tari-project__tari__6426 | tari-project/tari | 6,426 | defect | 900a107677f3cabced0005d64ba6153cb0f7d14c | d61742ded25bb76d48cc12bd8d1ed76851f7c902 | feat(wallet): add view key commands | Description
---
Adds commands for exporting a view key and spend key for an existing wallet, and also commands for creating a read-only wallet that only has access to the view key.
Note this is only possible to the great work by @SWvheerden who enabled this functionality in the wallet.
Motivation and Context
-... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index 25d660c3dc3..cf20a908a0f 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -31,96 +31,96 @@ import "network.proto";
// The g... | 3 | 2 | 2 | [{"id": "G0", "claim": "The pull request should not use the SecretTransactionKeyManagerInterface trait, as indicated by tari-project/tari#6447.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "View and spend keys provided to prompt_wallet_type are parsed a... | null |
tari-project__tari__6452 | tari-project/tari | 6,452 | defect | 90a4c282d5ee61ccd1abd54b8e14e9b5c75052a9 | 3c6f8b5efb57585ab3b1a18ed540906d97c2e4cd | fix: comms key managedment | Description
---
Separates comms key and spend key into two key types with the same derive value
Motivation and Context
---
The comms key and spend may be the same, or it may be different depending on the type of wallet. This means the key manager needs to handle the key differently depending on what is asked.
... | diff --git a/applications/minotari_ledger_wallet/common/src/common_types.rs b/applications/minotari_ledger_wallet/common/src/common_types.rs
index 6409286c106..a51fdfb229c 100644
--- a/applications/minotari_ledger_wallet/common/src/common_types.rs
+++ b/applications/minotari_ledger_wallet/common/src/common_types.rs
@@ ... | 3 | 3 | 3 | [{"id": "G0", "claim": "The Branch::Comms entry this PR adds to the ledger wallet's byte-mapping test uses the wrong byte (0x09, PreMine's value) and should be corrected to 0x0A.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Reducing get_private_co... | null |
tari-project__tari__6468 | tari-project/tari | 6,468 | defect | 131225cb33cb28f63af5032558ca737e2c65f8ed | 20fbdd81696eff5e924be2fc9ed90422ff6b0e09 | fix: wallet validation | Description
---
Fixed small bugs in validation
Fixed small bugs in wallet display of coinbases and one-sided payments
| diff --git a/applications/minotari_console_wallet/src/ui/components/transactions_tab.rs b/applications/minotari_console_wallet/src/ui/components/transactions_tab.rs
index 8258d2cbc1e..7d934f1651c 100644
--- a/applications/minotari_console_wallet/src/ui/components/transactions_tab.rs
+++ b/applications/minotari_console_... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request makes the test minotari_wallet::wallet_integration_tests output_manager_service_tests::service::test_txo_validation fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The default value changed in BaseNodeSe... | null |
tari-project__tari__6507 | tari-project/tari | 6,507 | defect | 7cb88fabbb01600e5f194f50087850fa38d3d117 | d58a9166c50a5e126c06b912cd13ad975431ec43 | feat: add more verbose comms errors | Description
---
Added more verbose comms errors.
Motivation and Context
---
Trying to hunt down an edge case where a wallet (as RPC client) continuously connects and then disconnects to a base node (as RPC server) due to no more RPC sessions available, while it seems ample RPC sessions are available when lookin... | diff --git a/comms/core/src/connection_manager/error.rs b/comms/core/src/connection_manager/error.rs
index 7d2bb4af766..7d316fcf80b 100644
--- a/comms/core/src/connection_manager/error.rs
+++ b/comms/core/src/connection_manager/error.rs
@@ -25,6 +25,7 @@ use tokio::{sync::mpsc, time::error::Elapsed};
use crate::{
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Changing `conn.disconnect(Minimized::No).await.unwrap();` to `let _unused = conn.disconnect(Minimized::No).await;` makes the test pass even when the disconnect fails.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The field n... | null |
tari-project__tari__6543 | tari-project/tari | 6,543 | defect | ad144f7439bbe000174c1ce125232778d155079e | 583d331727566203ee1d62b470add2256e7948da | feat: add configurable exclude dialer addresses for universe | Description
---
Added user-configurable communication node addresses that should never be dialled. In Tari Universe the base node and wallet is configured in a listen-only TCP mode with a fake public address and when their addresses are propagated throughout the network, other peers should not try to dial them.
Mo... | diff --git a/base_layer/contacts/tests/contacts_service.rs b/base_layer/contacts/tests/contacts_service.rs
index 73acc051ae8..8c8d86ad499 100644
--- a/base_layer/contacts/tests/contacts_service.rs
+++ b/base_layer/contacts/tests/contacts_service.rs
@@ -26,7 +26,7 @@ use rand::rngs::OsRng;
use tari_common::configuratio... | 3 | 3 | 3 | [{"id": "G0", "claim": "The test setup and config defaults use the valid routable addresses 172.2.3.4 as excluded dial addresses, which someone might actually have; 0.0.0.0, the special-case address, should be used and excluded instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
tari-project__tari__6545 | tari-project/tari | 6,545 | defect | ad144f7439bbe000174c1ce125232778d155079e | 64f12d91442c8eb676c536a302cd853f35e7250e | feat: display waiting for intial peer data | Description
---
Displays waiting for initial peer data on the status string
Motivation and Context
---
better info for the user:

| diff --git a/applications/minotari_app_grpc/proto/base_node.proto b/applications/minotari_app_grpc/proto/base_node.proto
index d27fb38d40e..1ea44287577 100644
--- a/applications/minotari_app_grpc/proto/base_node.proto
+++ b/applications/minotari_app_grpc/proto/base_node.proto
@@ -357,6 +357,7 @@ message SyncProgressRes... | 1 | 1 | 0 | [{"id": "G0", "claim": "The naming is confusing: the getter `get_initial_connected_peers` is expected to return something named for initial connected peers, not `initial_delay`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tari-project__tari__6557 | tari-project/tari | 6,557 | defect | a22ae3537c84c2b1edcce3a8e7cfc8ba0e5e59b8 | 6a796f3ae9f1627a180534ae20e5317cdf1cb9b3 | feat!: add multiaddr with range checks for use with universe | Description
---
Added `MultiaddrRange`, which implements range checks for `Multiaddr`, when using IP4 with TCP. This enables specifying a range of IP4 with TCP addresses. As an exmple, any communication node can enable test addresses to connect to them (`allow_test_addresses = true`), but refrain from dialling any te... | diff --git a/Cargo.lock b/Cargo.lock
index 2b0a50c68b4..d73cbeec9cf 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6173,6 +6173,7 @@ dependencies = [
"tokio",
"tokio-stream",
"tokio-util 0.6.10",
+ "toml 0.5.11",
"tower",
"tracing",
"yamux",
diff --git a/base_layer/contacts/tests/contacts_service.rs b/base_la... | 3 | 2 | 1 | [{"id": "G0", "claim": "The FIXME in comms_config_create leaving excluded_dial_addresses empty should be resolved so that dialing of the test address range (IP4_TCP_TEST_ADDR_RANGE) can actually be excluded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
tari-project__tari__6568 | tari-project/tari | 6,568 | defect | e55d073f1eff83b06e9132f21bbcd6cfe07b2fc3 | 1dd7d8c67e5d554dbe6a7a5e70b33c0835c4ab4d | feat: broadcast one sided | Description
---
Broadcast one-sided transactions
Motivation and Context
---
When a wallet sends a 1-sided tx it will now send it across the network to the peer as well. If the peer listens to the it, ti will register the tx immediately and show it to the user.
How Has This Been Tested?
---
manual | diff --git a/base_layer/wallet/src/output_manager_service/handle.rs b/base_layer/wallet/src/output_manager_service/handle.rs
index 34530d84498..8d4cc02106a 100644
--- a/base_layer/wallet/src/output_manager_service/handle.rs
+++ b/base_layer/wallet/src/output_manager_service/handle.rs
@@ -131,8 +131,8 @@ pub enum Output... | 2 | 2 | 2 | [{"id": "G0", "claim": "Right after a one-sided transaction is sent, the receiver's transaction statuses do not match the sender's; the statuses should be in sync, so the receiver should start with 'broadcast' (maybe even 'pending').", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
tari-project__tari__6569 | tari-project/tari | 6,569 | defect | aca61f39cdb65cccfafa02565b9b13bdf8fc3d99 | c79b577646ee06d2a97aa93579390ce0895a8d8d | feat!: add ability to encrypt seed words | Description
---
allow the use of encrypted seed words. | diff --git a/applications/minotari_console_wallet/src/automation/commands.rs b/applications/minotari_console_wallet/src/automation/commands.rs
index 4e27f6d7110..a8eb935cddc 100644
--- a/applications/minotari_console_wallet/src/automation/commands.rs
+++ b/applications/minotari_console_wallet/src/automation/commands.rs... | 1 | 1 | 1 | [{"id": "G0", "claim": "The passphrase should also be an option in get_recovery_seed's call to get_seed_from_seed_words (instead of the hard-coded None) and be included in prompt_private_key_from_seed_words(), so that a mobile wallet with encrypted seed words can be converted to a console wallet.", "category": "correct... | null |
tari-project__tari__6601 | tari-project/tari | 6,601 | defect | 5bcddf44d23a619b20b88fd382c531621ef66646 | 21ed3345db83db66d53f83ae280fc04a88bb7425 | feat!: add input mr into genesis block | Description
---
- Added the input merkle root calculation into the genesis block; previously, this was just a default hash, which is incorrect. This will enable adding immediate spending of pre-mine outputs in the genesis block.
- Added total kernel offset to the pre-mine output immediate spend ceremony.
- Added to... | diff --git a/base_layer/core/src/base_node/sync/horizon_state_sync/error.rs b/base_layer/core/src/base_node/sync/horizon_state_sync/error.rs
index 6aff7e45102..be3918a7928 100644
--- a/base_layer/core/src/base_node/sync/horizon_state_sync/error.rs
+++ b/base_layer/core/src/base_node/sync/horizon_state_sync/error.rs
@@ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Set nextnet's hardcoded input_mr to FixedHash::zero() instead of the new Merkle root so that the nextnet genesis block stays unchanged and this change does not force a nextnet network reset.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
tari-project__tari__6636 | tari-project/tari | 6,636 | defect | 1319e2470d7a8a6e5aa093e0b31bb7da3744c5d8 | f8032e9b0b3f6a2a3e172e5867707ac5e0487fe2 | feat: change ffi wallet recovery interface | Description
---
Changed the FFI wallet recovery interface to accept a list of base node peers for recovery instead of only a single peer. This will enable the mobile wallet to pass all seed peers to the recovery process instead of only a single peer.
Motivation and Context
---
The recovery process for the mobile... | diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs
index f1781f72405..92bfff1a4a8 100644
--- a/base_layer/wallet_ffi/src/lib.rs
+++ b/base_layer/wallet_ffi/src/lib.rs
@@ -8955,7 +8955,7 @@ pub unsafe extern "C" fn wallet_is_recovery_in_progress(wallet: *mut TariWallet,
#[no_mangle]
pub u... | 1 | 1 | 1 | [{"id": "G0", "claim": "Do not make the caller (mobile) pass a TariPublicKeys list; flip it around so the interface keeps a single base node key and, when it is null, the wallet itself uses all seed peers, while a specified key means only that peer is used.", "category": "design", "verdict": "supported", "priority": "P... | null |
tari-project__tari__6686 | tari-project/tari | 6,686 | defect | a2aa20e46760384982f7631c200c9196cf1bbb31 | 814f9125d31ff48254d99d9caf8babff2d41fb0e | feat!: add new header field | Description
---
Add new header field, block output mmr which only tracks outputs in current block
Motivation and Context
---
This is needed in order to validate that all outputs included in the block is correctly captured in the pow of the header. The current strategy is to only use the output smt, which commits... | diff --git a/applications/minotari_app_grpc/proto/block.proto b/applications/minotari_app_grpc/proto/block.proto
index f5ed70c3eef..afb6d7c855e 100644
--- a/applications/minotari_app_grpc/proto/block.proto
+++ b/applications/minotari_app_grpc/proto/block.proto
@@ -38,9 +38,10 @@ message BlockHeader {
bytes prev_ha... | 2 | 2 | 0 | [{"id": "G0", "claim": "The coinbase branch should push each coinbase hash directly to block_output_mmr (with to_vec()) in place of collecting hashes into a coinbases vector that drops the bytes' lifetimes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
tari-project__tari__6728 | tari-project/tari | 6,728 | defect | 71efa038968133f46b8a7c501fb748b12df0ea59 | 68acc481048f05365b4bf3bae95626f7725330fa | fix(grpc): return bool if mempool is out of sync instead of returning… | … an error
Removed the error "Mempool out of sync, blockchain db advanced passed current tip in mempool storage;" when getting a block template and instead return a bool that indicates such.
The clients that are worried about this can check the flag and request a new template, while clients that are not worried ... | diff --git a/applications/minotari_app_grpc/proto/block.proto b/applications/minotari_app_grpc/proto/block.proto
index afb6d7c855e..e5968c09655 100644
--- a/applications/minotari_app_grpc/proto/block.proto
+++ b/applications/minotari_app_grpc/proto/block.proto
@@ -134,5 +134,8 @@ message NewBlockTemplate {
// This... | 2 | 2 | 2 | [{"id": "G0", "claim": "Returning an out-of-sync mempool template with a flag instead of an error is dangerous: with transactions flowing, the miner will 9/10 get a template it cannot use (containing already-spent outputs/duplicate transactions) and will submit blocks the base node rejects; the error was added delibera... | null |
tari-project__tari__6733 | tari-project/tari | 6,733 | defect | aca61f39cdb65cccfafa02565b9b13bdf8fc3d99 | ef5272fa9476f52a47c9290b9139147b8caf7e73 | chore: sort completed transactions | ## Description
This pull request focuses on refactoring the transaction handling in the wallet service by replacing `HashMap` with `Vec` for storing transactions. This change impacts several parts of the codebase, including transaction service responses, database storage, and transaction handling logic. Additionaly,... | diff --git a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs b/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
index 2b47fcaea7e..5699aa988e6 100644
--- a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
+++ b/applications/minotari_console_wallet/src/grpc/walle... | 1 | 1 | 1 | [{"id": "G0", "claim": "Do not sort completed transactions in Rust: order them in SQL where they are fetched from the database, and order by mined_timestamp instead of timestamp.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tari-project__tari__6738 | tari-project/tari | 6,738 | defect | 16fb40c1044adf71888fe8fce98901e9a2d3ca32 | 997fc904d1f8d32f5891f1cb014413184a917e7a | feat!: remove coinbases from weight calculations | Description
---
removes coinbases from the weight calculations making calculations regarding weight simpler.
Adds max coinbase constant, currently 1000.
Motivation and Context
---
This will simplify the mining and verification of coinbases and weights, by making coinbases not count towards block weight.
H... | diff --git a/applications/minotari_app_grpc/proto/types.proto b/applications/minotari_app_grpc/proto/types.proto
index eb6085634b2..d25b5ad12a1 100644
--- a/applications/minotari_app_grpc/proto/types.proto
+++ b/applications/minotari_app_grpc/proto/types.proto
@@ -143,4 +143,5 @@ message ConsensusConstants {
repea... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new parameter maximum_coinbase_amount suggests a monetary value and should be renamed to maximum_coinbase_count.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should also assert that check_coinbase_outpu... | null |
tari-project__tari__6782 | tari-project/tari | 6,782 | defect | f5365caed6b0e03559158c1556d1cf7f0b5e794a | 532c94d0014364fc5d0f090a3306534877dbdf41 | feat: add libtor exiting logic | Description
---
The base node and console wallet have various immediate exit paths through 'process::exit', as well as controlled exit via user/shutdown command.
- This implementation ~~uses a unique but predictable handshake file containing the libtor temporary directory for each base node or console wallet runn... | diff --git a/Cargo.lock b/Cargo.lock
index 735a43318c2..fe2299f47e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7301,6 +7301,8 @@ dependencies = [
"libtor",
"log",
"rand",
+ "serde",
+ "serde_json",
"tari_common",
"tari_p2p",
"tempfile",
diff --git a/applications/minotari_console_wallet/src/lib.rs b/applic... | 7 | 7 | 1 | [{"id": "G0", "claim": "The stray file `null` containing scheduler cron log output that the pull request added should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "temp_files.rs can use `fs::exists` rather than `metadata(libtor_handshak... | null |
tari-project__tari__6784 | tari-project/tari | 6,784 | defect | f5365caed6b0e03559158c1556d1cf7f0b5e794a | 1d21c146580201187954c42f2628edc75a4bae04 | fix: validation trigger | Description
---
Lets validation triggers not on new block, but rather on scanning complete of new block
Motivation and Context
---
We should not trigger a new validation after a block has been detected, but rather scanned | diff --git a/base_layer/wallet/src/output_manager_service/mod.rs b/base_layer/wallet/src/output_manager_service/mod.rs
index 24d16bb2301..37db44ef45e 100644
--- a/base_layer/wallet/src/output_manager_service/mod.rs
+++ b/base_layer/wallet/src/output_manager_service/mod.rs
@@ -62,6 +62,7 @@ use crate::{
service... | 1 | 1 | 1 | [{"id": "G0", "claim": "The unit and cucumber tests are failing and should be fixed before the pull request merges.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
tari-project__tari__6795 | tari-project/tari | 6,795 | defect | d3ea51f40961eaebcabf124866486ef9b6b8b21f | 91a405839d2b41c753c8192ba1269cdd0695701d | feat: add p2pool tip info and better mmproxy template handling |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced a new RPC method to retrieve tip information from the P2Pool service.
- Added a new variable for user agent configuration in the HTTP client.
- **Refactor**
- Streamlined block templ... | diff --git a/Cargo.lock b/Cargo.lock
index 62b5681df73..b21f654e6ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4071,6 +4071,7 @@ version = "1.11.3-pre.0"
dependencies = [
"anyhow",
"bincode",
+ "blake2",
"borsh",
"bytes 1.9.0",
"chrono",
diff --git a/applications/minotari_app_grpc/proto/p2pool.proto b/appl... | 25 | 10 | 3 | [{"id": "G0", "claim": "The height variable extracted from the block header in get_next_tari_block_template is unused (it is shadowed by the earlier height) and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The height variabl... | null |
tari-project__tari__6827 | tari-project/tari | 6,827 | defect | 7d323a39acfd9efa36dc37e5b93a92521e9a5e4e | 17f3d0791e84aab0126f6e2f200f066b1c0bd6d7 | feat: add get bad blocks command to base node console | Description
---
- Added `list_bad_blocks` command to the base node console
- Added detailed debug logs for when bad blocks are added
Closes #6815
Motivation and Context
---
More information was needed in log files - see #6815
How Has This Been Tested?
---
Added command to unit test
Sytsem-level testin... | diff --git a/base_layer/common_types/src/types/mod.rs b/base_layer/common_types/src/types/mod.rs
index f7af4fbf3be..a2086c35c0e 100644
--- a/base_layer/common_types/src/types/mod.rs
+++ b/base_layer/common_types/src/types/mod.rs
@@ -105,3 +105,10 @@ hash_domain!(
);
pub type BulletRangeProofHasherBlake256 = DomainS... | 8 | 3 | 2 | [{"id": "G0", "claim": "fetch_bad_blocks should carry documentation like other methods in the file - what bad blocks are, when the method should be used, and its possible error conditions.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR bump... | null |
tari-project__tari__6836 | tari-project/tari | 6,836 | defect | 99ec71d86a2f2a1af2cfeccab4efd9808afbdd58 | e60a3c7fa8ef48ea2299bfeafe4eddb540601280 | feat: add tari_utxo ffi de-structure methods | Description
---
- Added `mined_in_block` to the `TariUtxo` FFI struct.
- Added `TariUtxo` de-structure methods to the wallet FFI to access all its components.
- Added additional `TariCompletedTransaction` methods to access `mined_timestamp`, `mined_in_block` and `mined_height`.
Closes #6833
Motivation and Con... | diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs
index 67584b4d54c..4c76a6555d1 100644
--- a/base_layer/wallet_ffi/src/lib.rs
+++ b/base_layer/wallet_ffi/src/lib.rs
@@ -324,6 +324,7 @@ pub struct TariUtxo {
pub status: u8,
pub coinbase_extra: *const c_char,
pub payment_id:... | 11 | 1 | 1 | [{"id": "G0", "claim": "The CString conversion panic messages in the new string accessors (tari_utxo_get_coinbase_extra, tari_utxo_get_payment_id, tari_utxo_get_mined_in_block, completed_transaction_get_mined_in_block) all say \"Commitment will not fail.\" and should name the field actually being processed.", "category... | null |
tari-project__tari__6845 | tari-project/tari | 6,845 | defect | 914dc04c796b94ec790771c4867bc0e51b0ba12d | b7b5b6be3821b1caa266805c0ba9e38ea6dafd60 | chore: simplify premine spending process | Description
---
simplyfies the prespend commands and process.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced pre-mining operations with interactive prompts, including dynamic alias validation and file path input.
- Introduced JS... | diff --git a/Cargo.lock b/Cargo.lock
index 3ba7ef0abd3..9d573dfb23e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4014,6 +4014,7 @@ dependencies = [
"config",
"console-subscriber",
"crossterm 0.28.1",
+ "dialoguer 0.10.4",
"digest 0.10.7",
"dirs-next 2.0.0",
"futures 0.3.31",
diff --git a/applications/minota... | 16 | 1 | 0 | [{"id": "G6", "claim": "Defaulting alias, session_id and member CLI fields to empty strings is ambiguous; make them Option<String> or enforce user input.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G7", "claim": "input_file should be stored as Option<PathBuf> rather... | null |
tari-project__tari__6881 | tari-project/tari | 6,881 | defect | d9486134203ef83c6b6020b76ef5e11ea22aa0da | 06ac1cbb6f6231cd3a76654853e932fad684226c | fix: use plain string for grpc address |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Users are now prompted for necessary gRPC addresses during configuration if not already provided.
- **Refactor**
- Streamlined address handling by switching from a complex multi-address approa... | diff --git a/Cargo.lock b/Cargo.lock
index 7c012677ab4..0f05ef3139c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7902,6 +7902,7 @@ dependencies = [
"tower-layer",
"tower-service",
"tracing",
+ "webpki-roots",
]
[[package]]
diff --git a/applications/minotari_app_utilities/src/parse_miner_input.rs b/application... | 4 | 2 | 0 | [{"id": "G0", "claim": "In the connect_sha_p2pool functions of run_merge_miner.rs and run_miner.rs the variable holding the p2pool address is misleadingly named base_node_addr and should be renamed to p2pool_node_addr.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
tari-project__tari__6910 | tari-project/tari | 6,910 | defect | f1451f52c975fbc144f92c2a5e16df6bb858c047 | 2107f9ab62fd8bbe350b3812094dacfed9426254 | fix: randomX seed management | Description
---
Atm we dont remove old seeds if we reorg the chain.
If we mine a block while syncing it might be that we insert the first seen height of the monero seed way too early and thus cause the node to think the seed is too old when verifying the chain. This PR will remove seeds for blocks that have been re... | diff --git a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
index dc14642dcb7..83384e7b384 100644
--- a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
+++ b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
@@ -34,7 +34,7 @@ use std::{
},
t... | 3 | 3 | 3 | [{"id": "G0", "claim": "The newly added FixedByteArray::to_vec returns the entire elems array of MAX_ARR_SIZE regardless of self.len, inconsistent with as_slice/as_bytes/Deref, and should return only the valid bytes (and ideally get a test).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"... | null |
tari-project__tari__6993 | tari-project/tari | 6,993 | defect | 693cd7ab56deddcd089cfbc4b4128af8e94e9786 | 205601f64cbdb3eff96fadc07c8c62f15ae02cbe | feat: add option to do search via payment id | Description
---
Motivation and Context
---
How Has This Been Tested?
---
What process can a PR reviewer use to test or verify this change?
---
<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit
tag, will be in... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index 5e4accb0f3e..93eecf64a80 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -255,7 +255,15 @@ message GetCompletedTransactionsRe... | 6 | 3 | 2 | [{"id": "G0", "claim": "The down migration is a placeholder comment only and should contain the ALTER TABLE ... DROP COLUMN statements that undo the columns added by up.sql.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The user_payment_id proto me... | null |
tari-project__tari__7016 | tari-project/tari | 7,016 | defect | 7f7bad40be3cb686a700f0ce85ead4b26cb40816 | cba0c9a0b88029722c80f85c0a9635a6becddbc1 | feat!: set tonic msg limits | Description
---
Set tonic client _and server_ msg limits to 8MiB
~~**Note:** To set the corresponding limits on the server a tonic upgrade is required as that is only supported in `tonic = "0.13.0"` and we use `tonic = "0.12.3"`.~~
Motivation and Context
---
Block templates need to be send via grpc and we nee... | diff --git a/Cargo.lock b/Cargo.lock
index 832e2df83c8..8f07161bd7a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4361,6 +4361,7 @@ name = "minotari_wallet_grpc_client"
version = "0.1.0"
dependencies = [
"minotari_app_grpc",
+ "tari_common",
"tari_common_types",
"thiserror 1.0.69",
"tokio",
diff --git a/applic... | 5 | 4 | 1 | [{"id": "G0", "claim": "The change of `.collect()` to `.sum()` in `get_unspent_amounts` alters that function's behavior and should be documented as a behavior change in the PR description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The wallet ... | null |
tari-project__tari__7025 | tari-project/tari | 7,025 | defect | a6c01998b56ae290270e9da36bd0693fc6c6de49 | d04d6df6cd637d2c136a299c2d54c20e8f6878b1 | feat: add block hash to grpc method | Description
---
Added optional block hash to grpc method GetCompletedTransactionsRequest
Motivation and Context
---
Some clients maw want to filter completed transactions by block hash.
How Has This Been Tested?
---
System-level testing running thre grpc call.
What process can a PR reviewer use to test... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index e2f9a799df4..a067ddbba9f 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -49,6 +49,7 @@ service Wallet {
// ```
rpc G... | 5 | 2 | 0 | [{"id": "G0", "claim": "The comment block above the rpc GetCompletedTransactions declaration still only describes payment_id filtering and should be extended to document the optional block_hash parameter, its BlockHashHex type and its semantics.", "category": "documentation", "verdict": "supported", "priority": "P2", "... | null |
tari-project__tari__7038 | tari-project/tari | 7,038 | defect | 0c83469fd3cd6a30fee2b134ad26a7f56233850d | d66246608c2615cbacfcd97b217cc856ba4231d8 | feat: overrride coinbase payment_id if included in wallet payment address |
Description
---
Added coinbase payment_id to the coinbase from the wallet payment address if it exists.
Motivation and Context
---
This functionality can be used by pool operators.
How Has This Been Tested?
---
Added new unit test - `test_generate_coinbase_with_payment_id_from_address`
What process can... | diff --git a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs b/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
index 45bc1c3c2d1..1cc5e8c679e 100644
--- a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
+++ b/applications/minotari_console_wallet/src/grpc/walle... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo in the comment on line 452 of coinbase_builder.rs: 'pyment' should be 'payment'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tari-project__tari__7070 | tari-project/tari | 7,070 | defect | 8f38071d62b9120aee429177f121eb159da3fa3d | 382dd28086e4afb32b6abfef16e2c3af988d78e3 | feat!: allow nextnet to mine randomxT | Description
---
enable nextnet to mine randomxT
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added new consensus configurations with an additional proof-of-work algorithm and updated parameters effective from block heights 1500 and 15,000... | diff --git a/base_layer/core/src/base_node/proto/chain_metadata.proto b/base_layer/core/src/base_node/proto/chain_metadata.proto
index bdd6061b53b..bdaf70e0b73 100644
--- a/base_layer/core/src/base_node/proto/chain_metadata.proto
+++ b/base_layer/core/src/base_node/proto/chain_metadata.proto
@@ -12,8 +12,9 @@ message C... | 2 | 1 | 1 | [{"id": "G0", "claim": "The slice range 33..64 for the high part of accumulated difficulty skips the byte at index 32, so one byte is lost during serialization; it should be 32..64.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RandomXT's min_diffi... | null |
tari-project__tari__7077 | tari-project/tari | 7,077 | defect | 5ed9861d21f0224a8b5b4bf99d197d8c90d432bf | 418589b73e885aeb889dcd2dc20138af8ae1c5b9 | feat: expose user payment id | Description
---
Currently, the wallet adds extra data to the payment id field to enable it to track its own transactions on the blockchain.
This however leads to weird results when trying to display the raw user payment id. This ensures that all grpc and ffi calls either straight up just provides the user provided p... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index e267d7ca9cb..01d966074c6 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -1066,7 +1066,7 @@ message PaymentRecipient {
// ... | 9 | 4 | 3 | [{"id": "G0", "claim": "Update the PaymentRecipient.user_payment_id field comment to describe the new UserPaymentId formats and reserve the old tag 6 to prevent its reuse.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add clear comments for the new Tran... | null |
tari-project__tari__7088 | tari-project/tari | 7,088 | defect | 013206878506793830b00d38e960fad2d3e888d5 | cf14e382936a692ea67d0e8e5d4a9faaa30d86ea | fix!: sync | Description
---
Adds a validation of allowed algo type
Fixes sync to ensure node correctly updates the consensus constants when going over swap heights
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced enhanced header validation wi... | diff --git a/base_layer/core/src/base_node/sync/header_sync/validator.rs b/base_layer/core/src/base_node/sync/header_sync/validator.rs
index fb74a8af403..80f6a8928c5 100644
--- a/base_layer/core/src/base_node/sync/header_sync/validator.rs
+++ b/base_layer/core/src/base_node/sync/header_sync/validator.rs
@@ -23,7 +23,7 ... | 4 | 1 | 0 | [{"id": "G0", "claim": "Fix the spelling error in the function name get_vm_key_for_candiate_block and update its call site to use the corrected spelling get_vm_key_for_candidate_block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The vm_key se... | null |
tari-project__tari__7111 | tari-project/tari | 7,111 | defect | 2a6fa94acda14406c79d1c8e0c3e57ff42dde77e | 2456c96c39c631517db013c79884695fac918a01 | chore: upgrade ci | Description
---
Motivation and Context
---
How Has This Been Tested?
---
What process can a PR reviewer use to test or verify this change?
---
<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit
tag, will be in... | diff --git a/.github/workflows/build_binaries.yml b/.github/workflows/build_binaries.yml
index 6a7d7f1d5ca..8a8f42df495 100644
--- a/.github/workflows/build_binaries.yml
+++ b/.github/workflows/build_binaries.yml
@@ -31,7 +31,7 @@ env:
# TS_BUILD: "debug"
TS_BUILD: "release"
TARI_NETWORK_DIR: testnet
- toolch... | 3 | 1 | 1 | [{"id": "G0", "claim": "integration_tests.yml still pins nightly-2024-07-07 while build_binaries.yml was bumped to nightly-2024-08-10, so all workflows should be aligned on the same nightly toolchain (or the older one confirmed as intentional).", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
tari-project__tari__7114 | tari-project/tari | 7,114 | defect | d292cecd4c95870947831129f9b476f73bf8ea59 | a21b5713eac9b2cf5d199d2537e402cbd1a2331a | fix: ffi tari address from emoji | Description
---
Fixes the the tari address get address from emoji id
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved error handling and validation for emoji string address conversion, enhancing stability and error feedback.
- **Tests*... | diff --git a/base_layer/common_types/src/tari_address/dual_address.rs b/base_layer/common_types/src/tari_address/dual_address.rs
index 529933222d6..136fc98934a 100644
--- a/base_layer/common_types/src/tari_address/dual_address.rs
+++ b/base_layer/common_types/src/tari_address/dual_address.rs
@@ -496,6 +496,15 @@ mod te... | 3 | 1 | 1 | [{"id": "G0", "claim": "The committed `invalid_temoji` test is debugging code that should be removed or converted into a proper test: it unconditionally calls `panic!(\"stop\")` (failing the suite), asserts nothing, uses `dbg!` instead of assertions, and misspells the function name.", "category": "testing", "verdict": ... | null |
tari-project__tari__7123 | tari-project/tari | 7,123 | defect | 8c971034327058cd37c5b0bc60185f3e890b5f05 | f67e6ab7aeb7846981c60c8ea3e4ad44f2328690 | fix: peer retention and connections | Description
---
- Fixed peer retention in the database by improving delete all stale peers logic.
- Improved error responses when peers could not be found in the database.
- Improved DHT connection pools sync with peer database.
Motivation and Context
---
DHT neighbour and random pools were not in sync with ac... | diff --git a/applications/minotari_node/src/commands/command/test_peer_liveness.rs b/applications/minotari_node/src/commands/command/test_peer_liveness.rs
index b7dfd8aecc7..e410329fd16 100644
--- a/applications/minotari_node/src/commands/command/test_peer_liveness.rs
+++ b/applications/minotari_node/src/commands/comma... | 4 | 2 | 2 | [{"id": "G0", "claim": "The down migration is empty but should restore the unique constraint removed by the up migration, since an empty down migration makes the schema change irreversible and could cause issues during rollbacks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
tari-project__tari__7169 | tari-project/tari | 7,169 | defect | 8253faeea5b9f68cee0fc6418471f1bd783a71d5 | eac44ffd0f959f162720efd2acdcf309ffc635bb | fix: the statemachine | Description
---
Fixes the statemachine to properly do startup-only peer sync.
fixes: #7148
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Improved handling of peer management and synchronization status for more reliable node operation.... | diff --git a/base_layer/core/src/base_node/state_machine_service/initializer.rs b/base_layer/core/src/base_node/state_machine_service/initializer.rs
index 9457d3a871a..cf4e45e567a 100644
--- a/base_layer/core/src/base_node/state_machine_service/initializer.rs
+++ b/base_layer/core/src/base_node/state_machine_service/in... | 3 | 1 | 0 | [{"id": "G0", "claim": "Move the `use std::sync::Arc;` import to the top of the imports section in initializer.rs for consistency with Rust conventions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The 120-second bootstrap timeout hardcoded in... | null |
tari-project__tari__7216 | tari-project/tari | 7,216 | defect | d858a3efbbccff5f72a3adc6722b5795ebfd21e2 | 3d522f020c7d68957487cb46efb6b840f17d8068 | feat: add payref to grpc outputs | Description
---
Added payref hash to grpc outputs when a block is queried from the base node.
Motivation and Context
---
This functionality ws not wirted in.
How Has This Been Tested?
---
System-level testing
What process can a PR reviewer use to test or verify this change?
---
Code review
System-leve... | diff --git a/applications/minotari_app_grpc/src/conversions/aggregate_body.rs b/applications/minotari_app_grpc/src/conversions/aggregate_body.rs
index 6f7b6b0910e..51347b35a32 100644
--- a/applications/minotari_app_grpc/src/conversions/aggregate_body.rs
+++ b/applications/minotari_app_grpc/src/conversions/aggregate_bod... | 11 | 3 | 3 | [{"id": "G0", "claim": "Without the explicit to_hex() the CheckOutputSpentStatus Display arm falls back to debug formatting of the hash, so keep the hex encoding or implement Display for HashOutput.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Movin... | null |
tari-project__tari__7223 | tari-project/tari | 7,223 | defect | 114807378f3ec1b9b9883194cfb2e6edb731f521 | 2a5c61262ecd49ca7acff39acbbb4240d9985ed1 | fix: fix scanner service when connectivity offline | Description
---
Fixed the scanner service when connectivity is offline - the connectivity status will now be queried to start scanning, instead of relying on a based node change to initiate the process. The logical error was introduced in a recent PR.
Motivation and Context
---
Unit test `async fn test_utxo_scan... | diff --git a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs b/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
index b9bd26e759a..b2195460f8b 100644
--- a/applications/minotari_console_wallet/src/grpc/wallet_grpc_server.rs
+++ b/applications/minotari_console_wallet/src/grpc/walle... | 7 | 1 | 1 | [{"id": "G0", "claim": "Because the new `get_connectivity_status().await?` propagates any error, a transient network failure (e.g. while the comms layer is still coming up) makes the whole run loop unwind and the scanner service exit instead of retrying; handle the error (match on Ok/Err) so the service stays alive.", ... | null |
tari-project__tari__7236 | tari-project/tari | 7,236 | defect | 83969f3a46f92fe6cab59b0ae035a34dc8a46853 | 3f7b1e2229c4cb69e6e3f981a8e23f848c9c72c8 | feat: limit txs searches | Description
---
adds the option to limit transaction searches and not read the entire completed transactions database.
Limits the console wallet to only view the latest 500 txs.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added the ab... | diff --git a/applications/minotari_console_wallet/src/automation/commands.rs b/applications/minotari_console_wallet/src/automation/commands.rs
index be1dea62fa8..e847ab1d04e 100644
--- a/applications/minotari_console_wallet/src/automation/commands.rs
+++ b/applications/minotari_console_wallet/src/automation/commands.rs... | 13 | 4 | 1 | [{"id": "G0", "claim": "The max_search_limit parameter is positioned inconsistently across the FFI functions (2nd parameter before error_out in wallet_get_completed_transactions but after error_out in wallet_get_pending_inbound_transactions); the parameter order should be standardized.", "category": "design", "verdict"... | null |
tari-project__tari__7243 | tari-project/tari | 7,243 | defect | 255bb1b63cd6e564c71f47b6a1f1b8560a376be2 | ce65410bf52ba658ecbb6aaf044af181018d045f | test: verify accumulated difficulty | Description
---
- Added a cucumber test to verify consistent accumulated difficulty calculations across base nodes when performing hybrid mining with Sha3x and RandomXT.
- Fixed minotari_miner startup config overrides when specifying the mining algo.
Motivation and Context
---
Investigating a vastly different a... | diff --git a/applications/minotari_miner/src/config.rs b/applications/minotari_miner/src/config.rs
index 8dfc2e18291..9254001c013 100644
--- a/applications/minotari_miner/src/config.rs
+++ b/applications/minotari_miner/src/config.rs
@@ -30,6 +30,7 @@
use std::{
path::{Path, PathBuf},
+ str::FromStr,
tim... | 3 | 1 | 1 | [{"id": "G0", "claim": "This pull request appears to break the public interface by changing the POW struct returned from gRPC methods — the Display/serde representation of PowAlgorithm was rewritten to new strings.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
tari-project__tari__7259 | tari-project/tari | 7,259 | defect | 86539c858cd452a3194267f97c34f2a2324d9659 | 5d047c8eda7bf4faba4422b9d3550c6859ea0c52 | feat: auto zero value coinbase reward calculation | Description
---
This adds way to auto use correct (max) coinbase value in case you pass single coinbase with zero value.
Motivation and Context
---
This is hard to guess correct coinbase value to pass its check in GetNewBlockWithCoinbases and GetNewBlockTemplateWithCoinbases GRPC methods.
How Has This Been Te... | diff --git a/applications/minotari_node/src/grpc/base_node_grpc_server.rs b/applications/minotari_node/src/grpc/base_node_grpc_server.rs
index 146b2e4844b..e2cae234eb5 100644
--- a/applications/minotari_node/src/grpc/base_node_grpc_server.rs
+++ b/applications/minotari_node/src/grpc/base_node_grpc_server.rs
@@ -1123,6 ... | 7 | 4 | 2 | [{"id": "G0", "claim": "The new tests validate block structure and submission but do not explicitly verify that the zero coinbase value was automatically adjusted to the full block reward, so add validation of the coinbase output value.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
tari-project__tari__7307 | tari-project/tari | 7,307 | defect | ea52f7f97309e6206e09d9eecee460f07de030aa | ac48f224e2fc70fecbb11fccd14830c2e576539a | feat: modify soft disconnect criteria | Description
---
We can be more efficient with soft disconnects when we compare against expected RPC sessions and substream counts. This PR adds finer discernment when doing soft peer disconnects.
Motivation and Context
---
The health check opens 2 substreams and 0 PRC sessions - that should result in a disconnec... | diff --git a/base_layer/core/src/base_node/tari_pulse_service/mod.rs b/base_layer/core/src/base_node/tari_pulse_service/mod.rs
index 83980632f5c..84e84a85549 100644
--- a/base_layer/core/src/base_node/tari_pulse_service/mod.rs
+++ b/base_layer/core/src/base_node/tari_pulse_service/mod.rs
@@ -343,6 +343,7 @@ async fn ch... | 1 | 1 | 1 | [{"id": "G1", "claim": "The connect call site should pass a concrete default session state (self.session_state.unwrap_or_default()) instead of the bare Option.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tari-project__tari__7334 | tari-project/tari | 7,334 | defect | a2420cbc79c57fb5467dc902d9d78f93f03f05ab | d3907ae065b320290a1e6b22fc3567d1d40e01a1 | feat: add output hash of inputs to scanning stream | Description
---
adds spent output hashes to the stream by utxo block for the utxpo scanner
fixes limites
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added an `inputs` field to UTXO sync responses, allowing clients to receive input data ... | diff --git a/Cargo.lock b/Cargo.lock
index f1b21af66d4..20e44a2d9ca 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4436,6 +4436,7 @@ dependencies = [
"tokio",
"toml 0.5.11",
"tonic 0.13.1",
+ "tower-http",
"url",
"utoipa",
"utoipa-swagger-ui",
@@ -8611,15 +8612,16 @@ dependencies = [
[[package]]
name = "t... | 4 | 1 | 0 | [{"id": "G0", "claim": "The pull request does not implement its stated feature - the UTXO scanner's event stream (UtxoScannerEvent Progress/Completed) should carry the output hashes of found inputs, with the scanner task and downstream consumers updated, alongside (or in a follow-up to) the HTTP layer changes.", "categ... | null |
tari-project__tari__7340 | tari-project/tari | 7,340 | defect | 9eb66d40705cfd5024644abc84a8f581a316b185 | 1707aa2d5fffde668a6fb1bd2960ee4f9b64e9b5 | fix: ffi callbacks | Description
---
fixes the callbacks to provide feedback for the ffi as the wallet scans
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Refactor**
* Simplified base node state tracking by removing dependencies on external event streams and connectivity chann... | diff --git a/base_layer/wallet_ffi/src/callback_handler.rs b/base_layer/wallet_ffi/src/callback_handler.rs
index 57dd4ba9f6c..e0aca429af3 100644
--- a/base_layer/wallet_ffi/src/callback_handler.rs
+++ b/base_layer/wallet_ffi/src/callback_handler.rs
@@ -39,10 +39,6 @@ use std::{ffi::c_void, ops::Deref, sync::Arc};
us... | 6 | 4 | 2 | [{"id": "G0", "claim": "The UTXO-scanner Progress handler calls self.connectivity_status_changed(online_status) twice, once inside the if-block and once unconditionally, so the second call is redundant and should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
tari-project__tari__7341 | tari-project/tari | 7,341 | defect | 9eb66d40705cfd5024644abc84a8f581a316b185 | 727349e0ccaba7ba18c89dc1c1f9cda7059e81e5 | feat!: add initial validation flag to wallet state | Description
---
Sets a flag if the wallet has completed a validation after its finished scanning
Breaking
---
changes grpc proto files by adding new field
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added a new indicator to show whe... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index 997cb62d09c..d243d89b1ec 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -1419,6 +1419,8 @@ message GetStateResponse {
Get... | 4 | 1 | 0 | [{"id": "G0", "claim": "The proto field `has_done_initial_validation` should be renamed to `initial_validation_done` to align with the Rust flag name and avoid unnecessary renames in the mapping layers.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
tari-project__tari__7347 | tari-project/tari | 7,347 | defect | 68c996e66c50022e4f05c35c11f909c77c834b17 | f757a9c961fe70fee885cf8584418703167ee88a | feat!: remove wallet ffi transport | Description
---
Removed transport from the wallet FFI as it is no longer used since the wallet moved over to http.
Motivation and Context
---
See above.
How Has This Been Tested?
---
Unit tests adapted.
System-level testing with Aurora wallet [**TDB**].
What process can a PR reviewer use to test or veri... | diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs
index 432297e1b9a..3637dbb3c6f 100644
--- a/base_layer/wallet_ffi/src/lib.rs
+++ b/base_layer/wallet_ffi/src/lib.rs
@@ -53,7 +53,6 @@ use std::{
ffi::{CStr, CString},
fmt::{Display, Formatter},
mem::ManuallyDrop,
- num::N... | 7 | 3 | 2 | [{"id": "G0", "claim": "The `allow_test_addresses` field is hardcoded to true in `comms_config_create`, which could be a security concern in production environments; consider making it configurable or defaulting to false for production builds.", "category": "security", "verdict": "supported", "priority": "P1", "scope":... | null |
tari-project__tari__7372 | tari-project/tari | 7,372 | defect | eb87fc2171db872db2609bb5b97e975316c4804a | 6e076f1280c21113305264e2dafbef8a3b855341 | feat: enhance wallet connectivity monitoring | Description
---
Closes #7360
Enhance wallet connectivity check to proactively check it during wallet scanning.
Previously grpc call `check_connectivity` falsely returned `Offline` status while syncing. This was caused because it relied on `is_online` method in `https.rs` which check if last http call was done ... | diff --git a/Cargo.lock b/Cargo.lock
index f27fdaf8ead..8754f6cc83b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4234,6 +4234,7 @@ dependencies = [
"minotari_app_grpc",
"minotari_app_utilities",
"minotari_ledger_wallet_comms",
+ "minotari_node_wallet_client",
"minotari_wallet",
"qrcode",
"rand 0.8.5",
diff ... | 9 | 6 | 3 | [{"id": "G0", "claim": "check_connectivity immediately sets the wallet offline when last_scan_activity == scanned_height, but that can simply mean the wallet is at the chain tip with no new blocks to scan, causing false offline detections; it should test connectivity before assuming offline.", "category": "correctness"... | null |
tari-project__tari__7389 | tari-project/tari | 7,389 | defect | f595d6d29c571ff066dde51870467fa25a5aa4f2 | e31da52fe1b2faa94ef1d1c69334199f361c4998 | fix: ci integration tests workflow | Description
---
After merging HTTP wallet connecting wallet to base node has changed but it was not reflected in the [integration tests](https://github.com/tari-project/tari/pull/7215/files#diff-5ebed9b65bb3499b6104a043654ed48edb7ff2e7a60af6d0d090d184ab0e425eL200). This PR fixes it since there is no longer gRPC metho... | diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index 6e258910b36..dfa1b5a5d48 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -1,7 +1,7 @@
---
-name: 'Integration Tests'
+name: "Integration Tests"
-'on':
+"on":
p... | 16 | 3 | 2 | [{"id": "G0", "claim": "The format! call in the one-sided transaction step clones sender and receiver into new Strings on every retry; passing references instead would avoid the allocations.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The 4 MB ... | null |
tari-project__tari__7418 | tari-project/tari | 7,418 | defect | f2e9b3929fab23a94738bcf4cff1a1f97f8149ec | 2f6cd420c25738e51eca59fa92c4c418d4a1e2e6 | feat: add seed peer exclusion to liveness if other peers are available | Description
---
Added seed exclusion to the liveness service. First, try to select connections that exclude seed nodes - if none exist, try including seed peers. This will encourage the network to prioritise syncing from other nodes and not overburden the seed peers.
Closes #7328.
Motivation and Context
---
S... | diff --git a/base_layer/p2p/src/services/liveness/service.rs b/base_layer/p2p/src/services/liveness/service.rs
index 65c29903382..45992035584 100644
--- a/base_layer/p2p/src/services/liveness/service.rs
+++ b/base_layer/p2p/src/services/liveness/service.rs
@@ -70,6 +70,7 @@ pub struct LivenessService<THandleStream, TPi... | 3 | 2 | 2 | [{"id": "G0", "claim": "unwrap_or eagerly evaluates its argument, so the warn! log and empty-vec allocation always execute even when get_seed_peers() succeeds; it should be unwrap_or_else (or a match) so the warning and allocation happen only on error.", "category": "correctness", "verdict": "supported", "priority": "P... | null |
tari-project__tari__7465 | tari-project/tari | 7,465 | defect | cf89f147ef8cafbc9e2bf546b1f39e90640ea52d | cd7f81cd22eaf9598eaf72c669e63543b7612594 | feat: clear bad blocks on startup | Description
---
clears bad blocks on startup
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Optional automatic cleanup of bad/invalid blocks at node startup (configurable).
* Async API to clear all bad blocks on demand, with improved logg... | diff --git a/base_layer/core/src/chain_storage/async_db.rs b/base_layer/core/src/chain_storage/async_db.rs
index 76e8afc84b0..d70ad350a5b 100644
--- a/base_layer/core/src/chain_storage/async_db.rs
+++ b/base_layer/core/src/chain_storage/async_db.rs
@@ -239,6 +239,8 @@ impl<B: BlockchainBackend + 'static> AsyncBlockchai... | 4 | 1 | 0 | [{"id": "G0", "claim": "The method `clear_all_blocks` (and its async wrapper/trace label) reads as wiping the whole chain although it only clears bad blocks, so rename it to `clear_all_bad_blocks` across BlockchainDatabase, AsyncBlockchainDb and the backend layers to avoid confusion and misuse.", "category": "maintaina... | null |
tari-project__tari__7480 | tari-project/tari | 7,480 | defect | 221d715e2447e6ca33e2ebcba11e915d24edac15 | d9199748d2efd4a7d91ab8d5af971381cb3f7ef3 | feat: multi recipient support | Description
---
Allows support of multiple recipients per single chain transaction.
This will create a single on chain transaction with multiple recipients, but in the wallet it will still only show a single transaction per recipient.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## S... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index 536f225346f..5faa46aeffe 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -1489,6 +1489,7 @@ message BroadcastSignedOneSidedTr... | 33 | 5 | 2 | [{"id": "G0", "claim": "recipients.first().expect(\"already checked\") in transfer_single_tx will panic if the single-tx path receives an empty recipient list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In single_tx mode the payment_type of reci... | null |
tari-project__tari__7516 | tari-project/tari | 7,516 | defect | e67725ec9ecc091a29ac075e6ebcc7e0f738bb54 | 5d0e54cb1cb7b0112353b0554c73ee82a197afda | fix!: c29 difficulty | Description
---
Fixes c29 difficulty calculation.
This will only kick in per 115_000 for mainnet, or 181_000 for esmeralda.
Breaking change
---
Changes the difficulty calculation to correctly include c29
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- Ne... | diff --git a/applications/minotari_miner/src/stratum/stratum_types/job.rs b/applications/minotari_miner/src/stratum/stratum_types/job.rs
deleted file mode 100644
index 6eddbf263a3..00000000000
--- a/applications/minotari_miner/src/stratum/stratum_types/job.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2024. The Tari... | 3 | 1 | 1 | [{"id": "G0", "claim": "The C29 difficulty activation threshold should not be a compile-time cfg constant keyed on tari_target_network_testnet (which leaves Esmeralda on the fallback threshold of 1 and would activate C29 from genesis); it should instead be gated per network in ConsensusConstants so the inclusion rule i... | null |
tari-project__tari__7581 | tari-project/tari | 7,581 | defect | 63e36e6308d1ec5ff3f1676a06f87560b423ae4c | 2f20429e707680e49bbafcad860e327e743f6413 | feat: add noreadahead to lmdb as config option | Description
---
Added `open::NORDAHEAD` flag to the LMDB builder as config option.
_"**Quote:** Most operating systems perform readahead on read requests by default. This option turns it off if the OS supports it. Turning it off may help random read performance when the DB is larger than RAM and system RAM is full... | diff --git a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
index e79718a1a17..1d442795fc7 100644
--- a/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
+++ b/base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
@@ -332,10 +332,15 @@ fn build_lmdb_store<P... | 1 | 1 | 1 | [{"id": "G0", "claim": "The example config key is misspelled as `no_read_ahread` and would break config parsing if uncommented as-is, due to `deny_unknown_fields` on LMDBConfig.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tari-project__tari__7614 | tari-project/tari | 7,614 | defect | 3b93201077e2a248202d628fee7d0099baab3976 | f86e0cb3ab99290a640ef12f88cd7c0eafeafe4a | feat: add cancel completed transaction to grpc method | Description
---
Added the ability to cancel a completed transaction via gRPC method 'CancelTransaction' if the user set the optional 'force_if_completed' flag.
Fixes #7603.
Motivation and Context
---
See #7603.
How Has This Been Tested?
---
System-level testing.
<img width="1111" height="467" alt="ima... | diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/wallet.proto
index d3dd5b06b30..f7d16b10f5d 100644
--- a/applications/minotari_app_grpc/proto/wallet.proto
+++ b/applications/minotari_app_grpc/proto/wallet.proto
@@ -1240,6 +1240,8 @@ service Wallet {
// ### Reques... | 20 | 5 | 2 | [{"id": "G0", "claim": "In output_manager_service/handle.rs the UnexpectedApiResponse fallback for ClearLongTermEncumberances still carries the string \"OutputManagerRequest::ClearShortTermEncumberances\" (also at the other clear_long_term sites), which is confusing when debugging.", "category": "maintainability", "ver... | null |
tari-project__tari__7619 | tari-project/tari | 7,619 | defect | 9406e482007ac8b8c63db8b76fd8fd92d244ca09 | f48c8245386a50754a9138597bdc1856e64f06dd | feat: reduce scanning size | Description
---
Reduces the scanning download size that a wallet has to scan by roughly half.
The screenshot compares the current version to new version downloading the scanning data for the first 10 blocks.
Size: 528Kb vs 240 Kb
<img width="2698" height="364" alt="screenshot download size" src="https://git... | diff --git a/Cargo.lock b/Cargo.lock
index 6668534e8b1..04c9daea320 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4199,7 +4199,7 @@ name = "minotari_app_grpc"
version = "5.2.0-pre.6"
dependencies = [
"argon2 0.4.1",
- "base64 0.13.1",
+ "base64 0.22.1",
"borsh",
"log",
"prost 0.13.4",
@@ -4381,7 +4381,7 @@ dep... | 14 | 1 | 1 | [{"id": "G0", "claim": "Every base64/hex decode in the V1-to-V0 response conversion uses `.unwrap_or_default()`, so malformed input silently becomes empty bytes and can corrupt wallet sync with no error; make the conversion fallible (TryFrom) or at least log warnings on decode failure.", "category": "correctness", "ver... | null |
tari-project__tari__7658 | tari-project/tari | 7,658 | defect | abdc3cb02c346caca7dee3a74148ab014ef0d27b | 881c87d0c8a7533ec0058d45fc414294764e63b4 | fix: burn claim flow | Reopening this pr because the previous one had al ot of AI review noise | diff --git a/.gitignore b/.gitignore
index 8db0355453f..27d29a9bffc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
target
.env
+.claude
wallet*_data
# These are backup files generated by rustfmt
diff --git a/applications/minotari_app_grpc/proto/wallet.proto b/applications/minotari_app_grpc/proto/walle... | 9 | 8 | 2 | [{"id": "G0", "claim": "The added line contains a stray `);` which is a syntax error and will cause a compilation failure.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The `// TODO remove` marker on the LOG_TARGET constant in manager.rs should be ... | null |
tari-project__tari__7659 | tari-project/tari | 7,659 | defect | abdc3cb02c346caca7dee3a74148ab014ef0d27b | 705ea6c32cc5f2702a587d06eb73cb97886e968b | fix: transaction displayed fee | Description
---
Fixes the display to correctly display the correct fee. This is only a sender side issue where the sender does not update the fee to the correct one sent to the blockchain. | diff --git a/base_layer/transaction_components/src/transaction_builder/builder.rs b/base_layer/transaction_components/src/transaction_builder/builder.rs
index ba6770c81fd..58ebe263267 100644
--- a/base_layer/transaction_components/src/transaction_builder/builder.rs
+++ b/base_layer/transaction_components/src/transactio... | 4 | 3 | 2 | [{"id": "G0", "claim": "The fee-setting added in the builder is ineffective: MemoField::default() creates an Empty memo on which set_fee has no effect, so when no memo is provided the finalized transaction's payment_id will not contain the fee; the reviewer asks for a MemoField variant that can store it.", "category": ... | null |
tari-project__tari__7662 | tari-project/tari | 7,662 | defect | c22e47742d1ae9aa67360e56cd63b2bae05992e1 | 362d341d02c37eea45ec61c4290632c00d214a33 | fix: user pay for fee and replace by fee | Description
---
Fixes user pay for fee and replace by fee wallet calls
Fixes base node settings
Fixes some cucumber tests | diff --git a/base_layer/p2p/src/initialization.rs b/base_layer/p2p/src/initialization.rs
index 173054a524a..70531c0b361 100644
--- a/base_layer/p2p/src/initialization.rs
+++ b/base_layer/p2p/src/initialization.rs
@@ -569,6 +569,7 @@ impl ServiceInitializer for P2pInitializer {
network_wire_byte: self.n... | 3 | 2 | 0 | [{"id": "G0", "claim": "Removing the OutputStatus::Unspent filter from the must-include output query could select non-spendable outputs (e.g. already spent) specified as MustInclude commitments, which would cause transaction creation to fail later.", "category": "correctness", "verdict": "opposed", "priority": "P1", "s... | null |
tari-project__tari__7690 | tari-project/tari | 7,690 | defect | baa3f950cc89a4540aab858c196151a22bdb88a8 | 9d7f2839a406bbfc8bcdc72efebf75814ff109ce | chore: make release easier | Description
---
adds a script to call to release all tari repos to crates.io
| diff --git a/Cargo.lock b/Cargo.lock
index 4a171cec5d9..77941b2558c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7869,7 +7869,6 @@ dependencies = [
"futures 0.3.31",
"futures-test",
"rand 0.8.5",
- "tari_comms",
"tari_shutdown",
"tempfile",
"tokio",
diff --git a/Cargo.toml b/Cargo.toml
index 8de959322e2..79... | 6 | 3 | 2 | [{"id": "G0", "claim": "scripts/publish_crates.sh is missing a shebang (`#!/usr/bin/env bash`), so it cannot be executed directly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "scripts/publish_crates.sh is missing `set -e`, so it will continue even... | null |
tari-project__tari__7730 | tari-project/tari | 7,730 | defect | d99a15c97181cb8446681c1ffd00f250cce72f2f | 97e1f40668c9051aae2255ce6734bf289014ef2d | chore: fix cucumber prune tests | Description
---
Fixes the cucumber prune node tests
| diff --git a/base_layer/core/src/chain_storage/blockchain_database.rs b/base_layer/core/src/chain_storage/blockchain_database.rs
index 7f5d9e55264..964d1c9cf8a 100644
--- a/base_layer/core/src/chain_storage/blockchain_database.rs
+++ b/base_layer/core/src/chain_storage/blockchain_database.rs
@@ -2726,12 +2726,22 @@ pub... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pruned-block deletion loop creates and writes a new database transaction for every block, which is inefficient for large numbers of pruned blocks; the operations should be batched into fewer transactions (batch size around 100 as used in prune_to_height).", "category": "performance", "verdic... | null |
tari-project__tari__7747 | tari-project/tari | 7,747 | defect | 93b7873d8dd7b5dec28c9ad2f8ce33d0fc86cb26 | c6274f50c6aa9458eb6d2b35f0a058058bb344ea | feat: convert merge mining cucumber tests to RxT | Description
---
Convert merge mining integration tests from RandomX-Monero (RxM) to RandomX-Tari (RxT) by switching from the standalone `minotari_merge_mining_proxy` to the base node's built-in `xmrig_proxy`.
Key changes:
- **`port_pool.rs`**: Added `xmrig_proxy` port to `BaseNodePorts`; renamed `merge_mining_pro... | diff --git a/Cargo.lock b/Cargo.lock
index 095a764ec1a..7d4c5012c00 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7647,7 +7647,6 @@ dependencies = [
"minotari_app_grpc",
"minotari_app_utilities",
"minotari_console_wallet",
- "minotari_merge_mining_proxy",
"minotari_miner",
"minotari_node",
"minotari_node_grp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the now-unused `tempfile = \"3.3.0\"` dependency from integration_tests/Cargo.toml.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tari-project__tari__7757 | tari-project/tari | 7,757 | defect | ae1f5d5d8230a7e1e5faffe43598efc177ec4dc6 | d7c5390bacf4dc4cf5707cd94656f2c99f99e417 | fix: db queries | Description
---
fixes the db queries to correctly handle overflows | diff --git a/base_layer/wallet/src/output_manager_service/storage/sqlite_db/output_sql.rs b/base_layer/wallet/src/output_manager_service/storage/sqlite_db/output_sql.rs
index 1c124c11929..a97b884a886 100644
--- a/base_layer/wallet/src/output_manager_service/storage/sqlite_db/output_sql.rs
+++ b/base_layer/wallet/src/ou... | 2 | 1 | 1 | [{"id": "G0", "claim": "The added time_locked_balance SQL query contains a syntax error from an extra closing parenthesis (an unbalanced opening parenthesis).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The time-lock comparison logic should not b... | null |
tari-project__tari__7768 | tari-project/tari | 7,768 | defect | 5331820a220e4b397475d6c3d9db1f8efa647cff | 50371133b91cc00a5967cda27e4ae77849a9f406 | fix: bnb edge case | Description
---
Fixes an edge case of branch and bound to correctly adjust for memofield size | diff --git a/base_layer/wallet/src/output_manager_service/handle.rs b/base_layer/wallet/src/output_manager_service/handle.rs
index 391d1287e5b..3a79a8fb2c6 100644
--- a/base_layer/wallet/src/output_manager_service/handle.rs
+++ b/base_layer/wallet/src/output_manager_service/handle.rs
@@ -103,6 +103,7 @@ pub enum Output... | 3 | 1 | 1 | [{"id": "G0", "claim": "The fee estimation for the multi-recipient transaction may be inaccurate, because prepare_transaction_to_send is called with only the first destination's memo and num_outputs effectively hardcoded to 1, which can underestimate the required fee.", "category": "correctness", "verdict": "supported"... | null |
tarpas__pytest-testmon__109 | tarpas/pytest-testmon | 109 | defect | 47d52622312dc15284f9a636f63148d2e675f5f6 | 9a9516cd650c6cccb767a05ace8b1144b40d7d47 | re #108, set_dependencies: fix KeyError with missing "call" result - … | …dictionary solution
@blueyed do you think this is correct? | diff --git a/setup.py b/setup.py
index daa7d7fc..e2d8fce0 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
name='pytest-testmon',
description='take TDD to a new level with py.test and testmon',
long_description=''.join(open('README.rst').readlines()),
- version='0.9.12',
+ version='0.9.13',
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Check for a missing phase before calling runner.TestReport, since node_reports.get(phase, None) passes None and TestReport(**None) would blow up.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The datafile version needs bumpi... | null |
tarpas__pytest-testmon__71 | tarpas/pytest-testmon | 71 | defect | 007afa85e57fdeb2a5b9e88bb02e9acbbc77a703 | 007e84fdbac327b1a1225fd909d95e1b7602b49c | Reexecute all last failed tests regardless of source change status (tlf) | --testmon --tlf forces reexecution of all failures even if the underlying source code didn't change. This serves if you wan't different error output or if you corrupted .testmondata through unaccesible external service or wrong virtualenv. | diff --git a/t.py b/t.py
index cc2d82dd..25edd7d4 100644
--- a/t.py
+++ b/t.py
@@ -1,7 +1,8 @@
import pytest
if __name__ == '__main__':
- #test/test_testmon.py::TestmonDeselect::test_nonfunc_class
+ # test/test_testmon.py::TestmonDeselect::test_nonfunc_class
+ # test/test_testmon.py::TestmonDeselect::test_... | 6 | 2 | 0 | [{"id": "G0", "claim": "Documentation for the pull request's change (the new --tlf behavior) is missing.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commit message contains the typo \"wan't\", which should read \"want\".", "category": "docu... | null |
tartiflette__tartiflette-asgi__106 | tartiflette/tartiflette-asgi | 106 | defect | 96bd67c25261254a707e819ce24cd5285dff5162 | faf6e086cfaebc5f18be5fc96d91b958908bb903 | Add support for Starlette 0.13 | Fixes #100 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b680ae1..50f0a53 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### changed
+
+- Support for `starlette>=0.13`, Using `on_startup` Router, and, Router's life... | 6 | 6 | 1 | [{"id": "G0", "claim": "The new sub-Starlette-app test passes `on_startup=graphql.startup`, but Starlette's `on_startup` should be a list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The dependency pin should be the stricter `starlette==0.13.*` f... | null |
tartiflette__tartiflette-asgi__176 | tartiflette/tartiflette-asgi | 176 | defect | 2e488621882d0319e66342f536e98cb37b855d58 | 4f55bc16f0159e8d7b4b8798830c28a50b45b4a2 | Add support for variables in query parameters | ### Context
Passing variables in the query string already seems to be accounted for in the codebase, but it's currently not working: Even though `_get_response` receives the variables, it's not decoding them as JSON.
This PR ensures that variables passed via query string are properly decoded and passed to the eng... | diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..d280de0
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+asyncio_mode = auto
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index d9a7b79..d756feb 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,7 ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Swap the if and try/except blocks in get() so try/except sits as close as possible to the potential exception source (json.loads).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tartiflette__tartiflette-asgi__58 | tartiflette/tartiflette-asgi | 58 | defect | df1567461b653e0457c83ecfdcba38ee93c65371 | dda48b6f3ae7de45a42634e7d9714dc4825bef42 | Feature/tartiflette 1.1 | Fixed the test issues for Tartiflette 1.0
Fixes #49, fixes #78 | diff --git a/.gitignore b/.gitignore
index 13f1277..9deb9fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ var/
.pytest_cache/
debug/
.DS_Store
+*.idea/
diff --git a/README.md b/README.md
index 715a02c..c100635 100644
--- a/README.md
+++ b/README.md
@@ -303,7 +303,7 @@ Example:
```python
import asyncio... | 2 | 1 | 1 | [{"id": "G0", "claim": "Because the new subscription output shape is a breaking change, the library needs at least a minor version bump plus README updates — a notice naming the last version supporting 0.x and an updated websocket-subscriptions screenshot — which the reviewer proposed handling as a follow-up task.", "c... | null |
tartiflette__tartiflette-asgi__81 | tartiflette/tartiflette-asgi | 81 | defect | aafe07d863befb1bfbf3fdbab789323948264bdf | 1792e63bace4d491e72e6aae7c88890a97b2082b | Internal Server Error when receiving invalid JSON. | When receiving invalid JSON and content type is "application/json" tartiflette-starlette returns a 500. This catches decode errors and now returns a 400. | diff --git a/tartiflette_starlette/endpoints.py b/tartiflette_starlette/endpoints.py
index 93f46b4..e9df87b 100644
--- a/tartiflette_starlette/endpoints.py
+++ b/tartiflette_starlette/endpoints.py
@@ -1,4 +1,5 @@
import typing
+import json
from starlette.background import BackgroundTasks
from starlette.datastructu... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new behaviour of returning 400 for invalid JSON bodies has no test coverage and a test for it should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 400 response for invalid JSON should probably be a JSON respons... | null |
tartley__colorama__164 | tartley/colorama | 164 | defect | e19cbb7bceace785bc6be3609f821b60bbf08af4 | f19ec6f8521040aef50535668d9d469567662e9d | Prevent file stream from being incorrectly wrapped on Pycharm | Hi.
This is related to a comment I left some days ago: https://github.com/tartley/colorama/pull/163#issuecomment-388280675
I think this is quite important to **only** wrap `stdout` and `stderr` on Pycharm, rather than **any** stream. Think for example of a logging module which relies on `colorama` to wrap arbitra... | diff --git a/colorama/ansitowin32.py b/colorama/ansitowin32.py
index 8144d625..ce81487c 100644
--- a/colorama/ansitowin32.py
+++ b/colorama/ansitowin32.py
@@ -18,7 +18,7 @@ def is_stream_closed(stream):
def is_a_tty(stream):
- if 'PYCHARM_HOSTED' in os.environ:
+ if 'PYCHARM_HOSTED' in os.environ and (strea... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Pycharm-hosted branch should also treat colorama's own replaced `sys.stdout`/`sys.stderr` (and not only the `__stdout__`/`__stderr__` originals) as a tty, since after `init` the streams are colorama wrappers of the broken Pycharm streams.", "category": "correctness", "verdict": "supported", ... | null |
taskadapter__redmine-java-api__103 | taskadapter/redmine-java-api | 103 | defect | 2264d0398e931c7880557851be0ed93303dcb26d | 447df083547e10d9f401db3758a2982949cf7bf4 | Proposed implementation for #102 - Users Groups retrieving | Tested with the Unit testing and with my Redmine 2.3.3 instance
| diff --git a/src/main/java/com/taskadapter/redmineapi/RedmineManager.java b/src/main/java/com/taskadapter/redmineapi/RedmineManager.java
index e5637a47..dff6c6f6 100644
--- a/src/main/java/com/taskadapter/redmineapi/RedmineManager.java
+++ b/src/main/java/com/taskadapter/redmineapi/RedmineManager.java
@@ -368,7 +368,7 ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The test should verify the group's name instead of only asserting that the number of the user's groups is greater than zero.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated addUserToGroup call inside testAddUserToGr... | null |
taskadapter__redmine-java-api__273 | taskadapter/redmine-java-api | 273 | defect | 89f584dfa5b90b318d185dae644467456a2ef2a2 | a4530d407e51499eae13bcd6a8744cc59cd991d6 | Allow private notes | closes #271
| diff --git a/src/main/java/com/taskadapter/redmineapi/bean/Issue.java b/src/main/java/com/taskadapter/redmineapi/bean/Issue.java
index 0597d602..35df8cd9 100644
--- a/src/main/java/com/taskadapter/redmineapi/bean/Issue.java
+++ b/src/main/java/com/taskadapter/redmineapi/bean/Issue.java
@@ -37,7 +37,8 @@ public class Is... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new boolean getter should be named with an \"is\" prefix (isPrivateNotes) instead of getPrivateNotes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Formatting-only (whitespace/indentation) changes in RedmineJSONBuilder should... | null |
taskadapter__redmine-java-api__315 | taskadapter/redmine-java-api | 315 | defect | 87b79b02c68161153eb374d48668bcce8a943029 | 0065a458986b95b2e9cda84b98cdc5e15233a280 | bug fix: upload wiki attachments | Continue from issue #314
Problem was not only in renaming json key.
Attachments were never sent. `RedmineJSONBuilder` didn't have any attachments processing.
Added test for JSON object check. Also tested on the real redmine | diff --git a/src/main/java/com/taskadapter/redmineapi/bean/WikiPageDetail.java b/src/main/java/com/taskadapter/redmineapi/bean/WikiPageDetail.java
index 4e4bb0ec..df386b08 100644
--- a/src/main/java/com/taskadapter/redmineapi/bean/WikiPageDetail.java
+++ b/src/main/java/com/taskadapter/redmineapi/bean/WikiPageDetail.ja... | 3 | 1 | 1 | [{"id": "G0", "claim": "An integration test should be added covering the pull request's wiki-attachment change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Wiki attachments are sent under the key 'uploads' but read back under the key 'attachments', w... | null |
taskadapter__redmine-java-api__319 | taskadapter/redmine-java-api | 319 | defect | 6021472c417665a67785d4c16142475207b931be | b4ed29871bd42aa6f3a9f7e07cf122925787906c | Add getter for project status | There is a related PR #308, that is too old and not merged yet. This PR allows obtaining the STAUS of a project. There are no new tests, instead the status check is added to existing tests.
Note1: Redmine api does not allow reopen, close or archive projects. So as, Project.setStatus has only effect on the project be... | diff --git a/src/main/java/com/taskadapter/redmineapi/bean/Project.java b/src/main/java/com/taskadapter/redmineapi/bean/Project.java
index 0319bc65..45b652d9 100644
--- a/src/main/java/com/taskadapter/redmineapi/bean/Project.java
+++ b/src/main/java/com/taskadapter/redmineapi/bean/Project.java
@@ -38,6 +38,7 @@ public ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the hardcoded Redmine status constants (STATUS_ACTIVE/STATUS_CLOSED/STATUS_ARCHIVED) from the main library code — move them to a separate constants file or document the values in Javadoc instead — since hardcoding version-specific values in the library could make it invalid in the future.... | null |
taskadapter__redmine-java-api__320 | taskadapter/redmine-java-api | 320 | defect | 6021472c417665a67785d4c16142475207b931be | 6785af73c9c2c3eccd949291c906f82233d60439 | Update project trackers on redmine server | Fixes #318.
Cause: Trackers are not updated in the server because RedmineJSONBuilder.writeProject sends a collection of Tracker objects to redmine server. However the api requires an array of tracker ids.
Solution: Writing trackers uses JsonOutput.addScalarArray wich replaces JsonOutput.addArrayIfNotNull.
But ... | diff --git a/src/main/java/com/taskadapter/redmineapi/ProjectManager.java b/src/main/java/com/taskadapter/redmineapi/ProjectManager.java
index 2b026cda..1c444aea 100644
--- a/src/main/java/com/taskadapter/redmineapi/ProjectManager.java
+++ b/src/main/java/com/taskadapter/redmineapi/ProjectManager.java
@@ -64,7 +64,14 @... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new javadoc note in ProjectManager.createProject should be reworded for clarity so that \"or cleared\" actually reads as \"or if they have been cleared\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test shou... | null |
taskflow__taskflow__505 | taskflow/taskflow | 505 | defect | 9316d98937e992968f1fb3a5836bf3500f756df7 | 7cb836769d8b549cc6039e7222b9de0b6649af3a | Add task_wrapper for for_each, for_each_index, transform and find_if … | fixes #504
This can be used for multiple purposes. For handling exceptions we could do
```cpp
tf::Executor executor(tc);
std::exception_ptr x;
auto task_wrapper = [&](auto &&task)
{
try {
task();
}catch(...){
x = std::current_exception();
}
};
std::atomic<int> count = 0;
tf::Taskflow task... | diff --git a/taskflow/algorithm/find.hpp b/taskflow/algorithm/find.hpp
index 46cd614fd..8aa4fd568 100644
--- a/taskflow/algorithm/find.hpp
+++ b/taskflow/algorithm/find.hpp
@@ -60,9 +60,9 @@ TF_FORCE_INLINE bool find_if_not_loop(
} // namespace detail --------------------------------------------------------
// Fun... | 4 | 1 | 1 | [{"id": "G0", "claim": "Shouldn't we execute the user-supplied task wrapper for the parent thread too — for the general case nobody knows whether it can be safely skipped for the parent thread (which runs the W<=1/single-range path that the change left unwrapped).", "category": "correctness", "verdict": "supported", "p... | null |
taskforcesh__bullmq__3331 | taskforcesh/bullmq | 3,331 | defect | c32e6a0ff6df8bc34c9c13238c192974a93f7ddb | 623de1407efc9e83f3705d496c2159b0f9c7451e | feat(worker): support maxStartedAttempts option | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Manual movement of jobs can cause infinite loop... | diff --git a/docs/gitbook/patterns/process-step-jobs.md b/docs/gitbook/patterns/process-step-jobs.md
index 7274279f24c..51d9bcb15a0 100644
--- a/docs/gitbook/patterns/process-step-jobs.md
+++ b/docs/gitbook/patterns/process-step-jobs.md
@@ -358,6 +358,10 @@ const worker = new Worker(
);
```
+{% hint style="info" %}... | 10 | 4 | 0 | [{"id": "G0", "claim": "The deferredFailure check precedes the maxStartAttempts check, so jobs using special errors will never trigger the start-attempts limit; consider evaluating maxStartAttempts first so the limit can override deferred failures when exceeded.", "category": "correctness", "verdict": "opposed", "prior... | null |
taskforcesh__bullmq__3342 | taskforcesh/bullmq | 3,342 | defect | b4d3a5b36df3d383a3e43b7aef540d7401fc14df | 9bb1d53127cea2072a878c60dc24d9a5ff2e618b | fix(connection): ignore info command when skipVersionCheck is provided as true | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
1. Why is this change necessary?
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
Why is this change necessary? When info comman... | diff --git a/src/classes/redis-connection.ts b/src/classes/redis-connection.ts
index 848678bb1f9..d0151a88045 100644
--- a/src/classes/redis-connection.ts
+++ b/src/classes/redis-connection.ts
@@ -360,28 +360,32 @@ export class RedisConnection extends EventEmitter {
}
private async getRedisVersion() {
- cons... | 3 | 1 | 0 | [{"id": "G0", "claim": "Refactor getRedisVersion to remove the unnecessary else block by returning early for the skipVersionCheck case, simplifying control flow and reducing nesting.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It may be helpf... | null |
taskforcesh__bullmq__3426 | taskforcesh/bullmq | 3,426 | defect | f6428188f39f054e8b94579435b16e260aff27cd | c9de538330bfd57568fd4a24a85587dcdf01c177 | fix(events): set prev param as active when calling retryJob script | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? RetryJob script is called when a job is active,... | diff --git a/src/commands/retryJob-11.lua b/src/commands/retryJob-11.lua
index 2d9af356aec..6382168fd61 100644
--- a/src/commands/retryJob-11.lua
+++ b/src/commands/retryJob-11.lua
@@ -80,7 +80,7 @@ if rcall("EXISTS", jobKey) == 1 then
-- Emit waiting event
rcall("XADD", KEYS[6], "MAXLEN", "~", maxEvents, "*", ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the new 'waiting' (and likewise the 'retries-exhausted') queueEvents listeners in tests/test_worker.ts, a failing expect is swallowed by the async event-handler callback instead of calling reject on the surrounding test promise, so the test would still pass when the expectation fails.", "cate... | null |
taskforcesh__bullmq__3444 | taskforcesh/bullmq | 3,444 | defect | f5f13b32e1f5323b8c1046afa8094cda39ab0dc4 | 9f31acc8bf636c8ec8bb8200271b24b1704fd75e | docs(patterns): add deduplication section | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Explain how to use removeDeduplicationKey in ... | diff --git a/docs/gitbook/SUMMARY.md b/docs/gitbook/SUMMARY.md
index 5fa1c385a27..295d7045ff8 100644
--- a/docs/gitbook/SUMMARY.md
+++ b/docs/gitbook/SUMMARY.md
@@ -79,6 +79,7 @@
## Patterns
* [Adding jobs in bulk across different queues](patterns/adding-bulks.md)
+* [Deduplication](patterns/deduplication.md)
* [M... | 2 | 2 | 1 | [{"id": "G0", "claim": "The variable `queue` is undefined in this scope; the example should call `myQueue.removeDeduplicationKey` to match the queue instance declared on line 12.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The documentation menti... | null |
taskforcesh__bullmq__3446 | taskforcesh/bullmq | 3,446 | defect | 0db7cc57ba3decf2daface309e443e46e2df5c1d | 56fb0f93d12b45e0bbe9503fc77b0afece646717 | fix(job-scheduler): fix unstable upsert |
### Why
1. Why is this change necessary?
Sometimes when upserting a job scheduler, the schedulers new options were not properly reflected on the new jobs.
2. What problem does it solve or improve?
Fixes issues #3095 and #3430
### How
<!--
1. How did you implement this?
2. Outline the appr... | diff --git a/src/classes/job-scheduler.ts b/src/classes/job-scheduler.ts
index 18730623a1a..d3b4181dc1a 100644
--- a/src/classes/job-scheduler.ts
+++ b/src/classes/job-scheduler.ts
@@ -85,29 +85,12 @@ export class JobScheduler extends QueueBase {
now = prevMillis < now ? now : prevMillis;
// Check if we hav... | 15 | 6 | 3 | [{"id": "G0", "claim": "In getJobSchedulerEveryNextMillis the `or 0` binds only to `offset`, so the expression should be parenthesized as `... + every + (offset or 0)` to default a nil offset to 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
taskforcesh__bullmq__3459 | taskforcesh/bullmq | 3,459 | defect | 80e5bdc3053012e228e4106b6df7b424237b9360 | 47cd19a44199a5231a15d96ac11da9a58c4659ca | perf(metric): use lua script when calling getMetrics | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Fixes getMetrics return type and handled logi... | diff --git a/src/classes/queue-getters.ts b/src/classes/queue-getters.ts
index fc826acb7e0..c716e5e6fe7 100644
--- a/src/classes/queue-getters.ts
+++ b/src/classes/queue-getters.ts
@@ -515,35 +515,16 @@ export class QueueGetters<JobBase extends Job = Job> extends QueueBase {
start = 0,
end = -1,
): Promise... | 2 | 1 | 0 | [{"id": "G0", "claim": "Mapping parseInt over every data point could be inefficient for large datasets; use Number() or the unary plus operator, or handle the conversion in the Lua script itself.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The de... | null |
taskforcesh__bullmq__3472 | taskforcesh/bullmq | 3,472 | defect | f9de1e806832ab78c7f7d8be38fe9bab1722c918 | 679610d8ac3ed94ac7308a39b06a74797600e54d | feat(deduplication): support replace option in single mode | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Support replace option in single mode
### Ho... | diff --git a/src/classes/worker.ts b/src/classes/worker.ts
index d44188b1425..ac793dc47e5 100644
--- a/src/classes/worker.ts
+++ b/src/classes/worker.ts
@@ -615,9 +615,10 @@ export class Worker<
if (this.drained && block && !this.limitUntil && !this.waiting) {
this.waiting = this.waitForJob(bclient, this.bl... | 5 | 2 | 0 | [{"id": "G0", "claim": "Reducing the test timeout from 8000ms to 5000ms could cause flaky tests in CI; keep the original timeout or document why the reduction is necessary.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TODO comment about removing t... | null |
taskforcesh__bullmq__3473 | taskforcesh/bullmq | 3,473 | defect | f9de1e806832ab78c7f7d8be38fe9bab1722c918 | b453fae05b409fa8b76f22ac17808331a4337edc | perf: only consider infinity retry on connection errors | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Not all errors should be considered as recovera... | diff --git a/src/classes/worker.ts b/src/classes/worker.ts
index d44188b1425..19f22b3c298 100644
--- a/src/classes/worker.ts
+++ b/src/classes/worker.ts
@@ -1213,11 +1213,7 @@ will never work with more accuracy than 1ms. */
private async stalledChecker() {
while (!(this.closing || this.paused)) {
- try {... | 4 | 1 | 1 | [{"id": "G0", "claim": "The delay before throwing a non-connection error seems unnecessary since it won't be retried; the delay should only occur before retrying connection errors.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The loop condition `++r... | null |
taskforcesh__bullmq__3476 | taskforcesh/bullmq | 3,476 | defect | f9de1e806832ab78c7f7d8be38fe9bab1722c918 | cd17a8160189a063f37246a2f5e14923d2fec6d9 | feat(sandbox): support mjs files | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? To support mjs files in sandbox
### How
<!-... | diff --git a/src/classes/worker.ts b/src/classes/worker.ts
index d44188b1425..ae7a145e286 100644
--- a/src/classes/worker.ts
+++ b/src/classes/worker.ts
@@ -265,7 +265,7 @@ export class Worker<
}
processor = processor.href;
} else {
- const supportedFileTypes = ['.js', '.ts', '.f... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new test described as testing .mjs (ESM) files uses the .cjs fixture and should use fixture_processor.mjs to match the test description and the newly created fixture file.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fi... | null |
taskforcesh__bullmq__3481 | taskforcesh/bullmq | 3,481 | defect | 905571d3719025bcfbc69631a45bface2f612482 | 92135e89995c5470876bed86ecc7c4a95a9e3bec | feat(queue): add removeGlobalRateLimit method | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? Support removing global rate limit
### How
... | diff --git a/docs/gitbook/guide/queues/global-concurrency.md b/docs/gitbook/guide/queues/global-concurrency.md
index c9c644a5fa4..6704ed32fdf 100644
--- a/docs/gitbook/guide/queues/global-concurrency.md
+++ b/docs/gitbook/guide/queues/global-concurrency.md
@@ -18,7 +18,16 @@ const globalConcurrency = await queue.getGlo... | 2 | 1 | 0 | [{"id": "G0", "claim": "The startTime is captured before the jobs are queued, which could make the timing measurement inaccurate; move the startTime capture to just before queue.addBulk(jobs).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documenta... | null |
taskforcesh__bullmq__3504 | taskforcesh/bullmq | 3,504 | defect | b5676af969e808136280d477c185dd79b9372f5b | b3389dfffc5b77327fd720be2cbdab949bb75a67 | fix(worker): only emit error when moveToActive failed | <!--
Thank you for submitting a PR!
Please fill out all sections below to help us understand your changes.
-->
### Why
<!--
2. What problem does it solve or improve?
3. Link to any relevant issues, if applicable.
-->
1. Why is this change necessary? When an error is thrown by _getNextJob, it stop... | diff --git a/src/classes/worker.ts b/src/classes/worker.ts
index 7a918890bb1..f463a1e5cc5 100644
--- a/src/classes/worker.ts
+++ b/src/classes/worker.ts
@@ -521,6 +521,7 @@ export class Worker<
NameType
>>(() => this._getNextJob(client, bclient, token, { block: true }), {
delayInMs: this.... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new inline comment contradicts the code — when not paused or closing the code emits an error rather than swallowing it — so update the comment to 'Emit error when not paused or closing; optionally swallow (no throw) when opts.onlyEmitError is set.'", "category": "documentation", "verdict": "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.