<p>If you are restoring a backup from before you had done <code>addwitnessaddress</code> to your addresses, then it will not know to look for the segwit scripts that correspond to your wallet. You will need to do <code>addwitnessaddress</code> again for all of your addresses and then rescan the blockchain in order for your wallet to find those transactions.</p>

CC BY-SA 3.0
2017-12-22T09:37:46.027Z
Is there a way to find the address that you used addwitnessaddress on, if you know the segwit address?
octopuselk
CC BY-SA 3.0
2017-12-22T17:16:43.570Z
Currently, no, because the segwit addresses are actually P2SH addresses and it is impossible to know the redeemScript of a P2SH address given just the address. The redeemScript would allow you to know the non-segwit address that it corresponds to.
Ava Chow
CC BY-SA 3.0
2017-12-22T01:37:45.217Z
2017-12-22T01:37:45.217Z
Ava Chow
<p>I had to move around wallets and so on, and when I re-installed Knots (yeah I'm that edgy), it doesn't find the transactions to my segwit addresses. I can probably find the SW addresses somewhere, but probably not the regular ones I used addwitnessaddress with. Is this solvable?</p>

<wallet><address><segregated-witness><bitcoin-knots>
Node doesn't find segwit transactions
octopuselk
# Node doesn't find segwit transactions

(Asked by: username_0 on 2017-12-21)

I had to move around wallets and so on, and when I re-installed Knots (yeah I'm that edgy), it doesn't find the transactions to my segwit addresses. I can probably find the SW addresses somewhere, but probably not the regular ones I used addwitnessaddress with. Is this solvable?

**Tags:** wallet, address, segregated-witness, bitcoin-knots


---

## 1 answers

### Answer by username_1 on 2017-12-22. Score: 1

If you are restoring a backup from before you had done `addwitnessaddress` to your addresses, then it will not know to look for the segwit scripts that correspond to your wallet. You will need to do `addwitnessaddress` again for all of your addresses and then rescan the blockchain in order for your wallet to find those transactions.

> **Comments:**
> **username_0**: Is there a way to find the address that you used addwitnessaddress on, if you know the segwit address?  
> **username_1**: Currently, no, because the segwit addresses are actually P2SH addresses and it is impossible to know the redeemScript of a P2SH address given just the address. The redeemScript would allow you to know the non-segwit address that it corresponds to.  

---

