ElementsProject / ElementsProject/elements

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

Offen
#1,322 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
1.2k
Forks
416
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
15

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the report with elements-cli listreceivedbyaddress, getbalance, and getnewaddress using the two supplied addresses and derivation paths. Trace the wallet handling behind received funds, balance calculation, and transferability, then verify that the RDDL and bitcoin amounts are reflected consistently and can be transferred.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
blockchain
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.