MyHush / SilentDragon

A desktop full node GUI wallet for HUSH
https://myhush.org
GNU General Public License v3.0
9 stars 14 forks source link

Mining directly to wallet Address not spendable #42

Open ghost opened 5 years ago

ghost commented 5 years ago

When mining new coins to a new address, the coins is not spendable on SD. It throws an Error: image

Sending the coins directly via hushd or hushmate works. Confirmation tried: 300+ and waited for 1000+ on a completely different address. Sending it via hushd and hushmate works. I even tried sending only half the coins and error still pops up. Address: T-Address to T-Address.

https://explorer.myhush.org/address/RQ3GSEuAkpgXGX4LKyncX6PmLpDaUd3rzZ

leto commented 5 years ago

We have debugged this to the situation when only solo mined coinbase funds exist in the source address. SilentDragon mis-recognizes or does not recognize them as spendable funds, and makes the completely wrong decision that it should be a zaddr xtn. Since there are no zaddr funds and no zaddrs involved in the transaction, if fails horribly.

Thanks for reporting @ismailtm !

leto commented 5 years ago

@ismailtm should this be classified as a feature and user instructed to send to zaddr first? 😈

ghost commented 5 years ago

Hush Daemon support T-Addresses, I think it should be option to allow T-Addresses but like the warning we show for customize fees, I think we should show a similar warning for coinbase addresses spending to a T-Address.