Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,322 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
blockchain

Direzione di ricerca

Inizia riproducendo il report con elements-cli listreceivedbyaddress, getbalance e getnewaddress usando i due indirizzi e i percorsi di derivazione forniti. Traccia quindi la gestione del wallet relativa ai fondi ricevuti, al calcolo del saldo e alla trasferibilità, poi verifica che gli importi in RDDL e bitcoin siano riflessi in modo coerente e possano essere trasferiti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
1.2k
Fork
418
Merge medio
1g 12h
PR unite (30g)
13

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ElementsProject/elements

Tutte le issue di ElementsProject/elements

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.