• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 19468834672
61%

Build:
DEFAULT BRANCH: development
Ran 18 Nov 2025 03:09PM UTC
Jobs 1
Files 702
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2025 02:01PM UTC coverage: 51.294% (-0.3%) from 51.544%
19468834672

push

github

web-flow
feat: add coin selection and spending via bins or buckets (#7584)

Description
---

Add range limit coin-join:
- Added an unspent output coin distribution gRPC method
('CoinHistogramRequest'), whereby the wallet will return the amount and
value of coins in a pre-set range of buckets.
- Added a range limit coin-join gRPC method ('RangeLimitCoinJoin') to
the wallet, whereby the user can specify the minimum target amount,
maximum number of inputs, dust lower bound (inclusive), dust upper bound
(exclusive) and fee. Transaction size will be limited to the specified
maximum number of inputs, and multiple outputs will be created according
to the minimum target amount. All the inputs in the range will be spent,
unless the total available amount does not meet the minimum target
amount.

Closes #7582.

Motivation and Context
---
See #7582.

How Has This Been Tested?
---
System-level testing

gRPC **CoinHistogram** method
```
{
  "buckets": [
    {
      "count": "0",
      "total_amount": "0",
      "lower_bound": "0",
      "upper_bound": "1000"
    },
    {
      "count": "0",
      "total_amount": "0",
      "lower_bound": "1000",
      "upper_bound": "100000"
    },
    {
      "count": "2",
      "total_amount": "1165548",
      "lower_bound": "100000",
      "upper_bound": "1000000"
    },
    {
      "count": "158",
      "total_amount": "1455989209",
      "lower_bound": "1000000",
      "upper_bound": "1000000000"
    },
    {
      "count": "0",
      "total_amount": "0",
      "lower_bound": "1000000000",
      "upper_bound": "100000000000"
    },
    {
      "count": "0",
      "total_amount": "0",
      "lower_bound": "100000000000",
      "upper_bound": "21000000000000000"
    }
  ]
}
```

gRPC **RangeLimitCoinJoin** method

In this example, two transactions were created, bounded by the 350 input
size limit. gRPC client view:

<img width="897" height="396" alt="image"
src="https://github.com/user-attachments/assets/6c5ae857-8a01-4c90-9c55-1eee2fbd... (continued)

0 of 636 new or added lines in 11 files covered. (0.0%)

17 existing lines in 8 files now uncovered.

59180 of 115373 relevant lines covered (51.29%)

7948.46 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% base_layer/wallet/src/config.rs
5
0.0
0.0% base_layer/common_types/src/wallet_types.rs
11
0.0
0.0% base_layer/wallet/src/transaction_service/protocols/transaction_broadcast_protocol.rs
14
38.86
-0.88% base_layer/wallet/src/transaction_service/storage/models.rs
17
0.0
0.0% base_layer/wallet/src/output_manager_service/storage/database/mod.rs
33
0.0
0.0% base_layer/wallet/src/transaction_service/handle.rs
42
11.06
-0.4% base_layer/wallet/src/output_manager_service/storage/sqlite_db/mod.rs
48
0.0
0.0% base_layer/wallet/src/output_manager_service/handle.rs
75
7.93
-0.86% base_layer/wallet/src/output_manager_service/storage/sqlite_db/output_sql.rs
170
0.0
0.0% base_layer/wallet/src/transaction_service/service.rs
220
0.0
0.0% base_layer/wallet/src/output_manager_service/service.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
63.32
-0.27% base_layer/core/src/mempool/sync_protocol/mod.rs
1
0.0
0.0% base_layer/wallet/src/transaction_service/protocols/transaction_broadcast_protocol.rs
1
59.61
-0.14% comms/dht/src/connectivity/mod.rs
1
99.04
-0.48% comms/dht/src/connectivity/test.rs
2
77.06
-0.46% comms/core/src/connection_manager/peer_connection.rs
3
0.0
0.0% base_layer/wallet/src/transaction_service/service.rs
4
0.0
0.0% base_layer/wallet/src/output_manager_service/service.rs
4
55.18
-0.23% comms/core/src/connectivity/manager.rs
Jobs
ID Job ID Ran Files Coverage
1 19468834672.1 18 Nov 2025 03:09PM UTC 702
51.29
GitHub Action Run
Source Files on build 19468834672
  • Tree
  • List 702
  • Changed 23
  • Source Changed 15
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19468834672
  • 2ac89101 on github
  • Prev Build on development (#19424872350)
  • Next Build on development (#19491336680)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc