Bitcoin-ABC / Bitcoin-ABC/bitcoin-abc

Getnewaddress can't receive any amount

Open
#450 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.3k
Forks
788
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue**
Hello, I try to send a small amount to generated ecash address, but can't receive any amount.

**How reliably can you reproduce the issue, what are the steps to do so?**
1. I was generate to created new wallet by run this command
```
./bitcoin-cli createwallet "hexoder"
```
wallet info
```js
{
"walletname": "hexoder",
"walletversion": 200300,
"balance": 0.00,
"unconfirmed_balance": 0.00,
"immature_balance": 0.00,
"txcount": 0,
"keypoololdest": 1636655632,
"keypoolsize": 999,
"hdseedid": "feb138cfda7c1527c32d5fccd21495c263df5ce5",
"keypoolsize_hd_internal": 1000,
"paytxfee": 0.00,
"private_keys_enabled": true,
"scanning": false,
"avoid_reuse": false,
"descriptors": false
}
```
2. Then I generate new address
```
./bitcoin-cli getnewaddress

// output
ecash:qrglz69lczydcxx0r95nrxvjcpup6n2kng7mwcs8gm
```

3. My wallet balance still zero so I try send a small amount 10XEC by using cashtab to its address and the history is sent, here is the tx:
[https://explorer.bitcoinabc.org/tx/12666cff5310480d2e648e941921e75a8963c8fc2993c6057b2c5dc24988e2bb](https://explorer.bitcoinabc.org/tx/12666cff5310480d2e648e941921e75a8963c8fc2993c6057b2c5dc24988e2bb)

4. Then I try to check my wallet balance
```
./bitcoin-cli getbalance

//output
0.00
```

How to send an amount to my wallet? using getnewaddress is not working.

Am I miss something? Please help.

Thanks

**What version of Bitcoin ABC are you using, where did you get it (website, self-compiled, etc)?**
Bitcoin ABC v 0.24.5
Downloaded from [https://download.bitcoinabc.org/0.24.5/linux/bitcoin-abc-0.24.5-x86_64-linux-gnu.tar.gz](https://download.bitcoinabc.org/0.24.5/linux/bitcoin-abc-0.24.5-x86_64-linux-gnu.tar.gz)

**OS:** Ubuntu 18.04 Bionic

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the wallet flow with createwallet, getnewaddress, and getbalance, using the reported ecash address and transaction as references. Check the linked explorer transaction and wallet behavior to determine why the received amount is not reflected; done means identifying a reproducible cause and documenting or testing the corresponding fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.