Skip to content

Conversation

@NeoZ666
Copy link
Collaborator

@NeoZ666 NeoZ666 commented Jan 3, 2026

No description provided.

@NeoZ666 NeoZ666 force-pushed the taproot_swap_report_fix branch from 8f59a0c to 1ba7263 Compare January 3, 2026 18:35
@mojoX911
Copy link

mojoX911 commented Jan 3, 2026

@NeoZ666 can you show a sample print and swap report json with this?

@NeoZ666
Copy link
Collaborator Author

NeoZ666 commented Jan 3, 2026

image image

Report :-

Report JSON: {
  "swap_id": "dcffd6b549c691af",
  "swap_duration_seconds": 29.403658937,
  "target_amount": 500000,
  "total_input_amount": 5000000,
  "total_output_amount": 4943199,
  "makers_count": 2,
  "maker_addresses": [
    "127.0.0.1:17102",
    "127.0.0.1:7102"
  ],
  "total_funding_txs": 3,
  "funding_txids_by_hop": [
    [
      "a2fd00ced674abfbcfb713293a1d08bc80d5c9b9358d65d5cea9b25de07d6016"
    ],
    [
      "841b50a1974b71160d15df29984bb1a245da19eb7a092ab973197fd508dc7fcb"
    ],
    [
      "6b0f32e28a04ec9b94bd91178ce600f496dc3604068b286ed391b76f042d59ba"
    ]
  ],
  "total_fee": 56801,
  "total_maker_fees": 55492,
  "mining_fee": 1309,
  "fee_percentage": 11.360199999999999,
  "maker_fee_info": [
    {
      "maker_index": 0,
      "maker_address": "127.0.0.1:17102",
      "base_fee": 1000.0,
      "amount_relative_fee": 12500.0,
      "time_relative_fee": 20000.0,
      "total_fee": 33500.0
    },
    {
      "maker_index": 1,
      "maker_address": "127.0.0.1:7102",
      "base_fee": 1000.0,
      "amount_relative_fee": 11662.5,
      "time_relative_fee": 9330.0,
      "total_fee": 21992.5
    }
  ],
  "input_utxos": [
    5000000
  ],
  "output_change_amounts": [],
  "output_swap_amounts": [
    4499692,
    443507
  ],
  "output_change_utxos": [],
  "output_swap_utxos": [
    [
      4499692,
      "bcrt1pn7xrrfk2yw58zf9nmjngfyshy9y7taklwhxc49hn54dh4wwu5m8shsrrug"
    ],
    [
      443507,
      "bcrt1pn7xrrfk2yw58zf9nmjngfyshy9y7taklwhxc49hn54dh4wwu5m8shsrrug"
    ]
  ]
}

Copy link

@mojoX911 mojoX911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

@NeoZ666 NeoZ666 changed the title Segregation of Incoming and Outgoing Contracts in Taproot Swap Segregation of Incoming and Outgoing Contracts in Taproot Swap; change ARF and TRF to be dynamic : Parity with Legacy Jan 3, 2026
@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

❌ Patch coverage is 94.02985% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.09%. Comparing base (776b75d) to head (c765e1e).
⚠️ Report is 79 commits behind head on master.

Files with missing lines Patch % Lines
src/taker/api2.rs 94.02% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #687      +/-   ##
==========================================
+ Coverage   68.87%   78.09%   +9.21%     
==========================================
  Files          35       49      +14     
  Lines        4932    15194   +10262     
==========================================
+ Hits         3397    11865    +8468     
- Misses       1535     3329    +1794     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mojoX911 mojoX911 merged commit a709efa into citadel-tech:master Jan 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants