Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Received funds appear in listreceivedbyaddress, but are not taken into account for the wallet balance and cannot be transferred

オープン
#1,322 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp
領域
blockchain

調査の方向性

まず、提供された2つのアドレスと導出パスを使用して、elements-cli listreceivedbyaddress、getbalance、getnewaddress で報告を再現します。次に、受け取った資金、残高計算、転送可能性に関わるウォレット処理を追跡し、その後、RDDL と bitcoin の金額が一貫して反映され、転送可能であることを確認します。

索引モデルが issue の本文から書いたものです。

説明

I received transactions on my wallet:

~/elements-23.2.1/bin/elements-cli listreceivedbyaddress
...
  {
    "address": "lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt",
    "amount": {
      "RDDL": 11727478.84800004,
      "bitcoin": 0.00820000
    },
    "confirmations": 88651,
    "label": "Account1",
    "txids": [
      "b76725ca07f8605121bb21523e1f0cbd344224e508cc021880dbc2ce81508e1f",
      "f1d8f0b6b50584a1aa8ba374e8a1d42fa5dca746e6977eca5b1af1f03a0617af"
    ]
  }
]

and haven't spent any of these so far. At the same time, I also had other incoming transactions. However, the balance of the wallet does not take transactions of the address into account when computing the balance:

~/elements-23.2.1/bin/elements-cli getbalance
{
  "RDDL": 10897109.04756544,
  "bitcoin": 0.00777900
}

I receive transactions on two accounts:
addresses: lq1qqw87p75cwu7jhhw7htvhuuzte6z0wlzmwppnpuauw6tuf2cyh67rpzrtmaycqrev77pnmd2gnhq6d2h4afecsalzeuhp9qdh0
and
lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt

Both are derived by getnewaddress. It seems like the transactions received on lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt are not listed in the balances and cannot be transferred from the wallet. How can that be?

Derivation paths are
lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt:
"desc": "wpkh([2d4a5461/0'/0'/1']036b41d89b267014e80c7baa380a5d316171b6494eff4c1384256bd43454e54f61)#sm3acjk6",

lq1qqw87p75cwu7jhhw7htvhuuzte6z0wlzmwppnpuauw6tuf2cyh67rpzrtmaycqrev77pnmd2gnhq6d2h4afecsalzeuhp9qdh0:
"desc": "wpkh([2d4a5461/0'/0'/0']03b607628a90c0b58cc08e778606df62b50e96320df085c9e7594a744ecb6a7cbf)#hmzm2344",

Would anyone happen to have an idea on how to fix this? Is there a workaround?

主要言語
C++
スター
1.2k
フォーク
418
平均マージ
1日 12時間
マージ済み PR(30日)
13

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ElementsProject/elements のほかの issue

ElementsProject/elements の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。