mvs-org / lightwallet

Metaverse blockchain wallet
https://www.myetpwallet.com
GNU Affero General Public License v3.0
58 stars 43 forks source link

Mining rewards are added to transactions before mining freeze time completed #296

Closed aaronzhzh closed 4 years ago

aaronzhzh commented 4 years ago

lightwallet version iOS 0.8.14
an error occurred "validate transaction failure: validation of inputs failed" when i need to send etp to the other addresses or avatars. resync the lightwallet still doesn't work.

besides, my fullnode wallet is working on pos mining.will it cause this problem? or something else.

canguruhh commented 4 years ago

hi. i need more information. is it possible for you to open the advanced section and send me the signed hex encoded raw transaction to sven.mutzl@viewfin.com? all systems seem to work fine but we do know that there can be some problems with wallets that have a lot of transactions (mostly miners).

aaronzhzh commented 4 years ago

email sent.

canguruhh commented 4 years ago

ok. we identified the problem. it happens because the wallet is trying to spend a mining reward that has not yet reached its lock. the fullnode should indicate that it is not spendable. we will implement the same behaviour for the explorer and lightwallet asap. keep you updated

canguruhh commented 4 years ago

It should be fixed now. The wallet now detects newly mined ETP and freezes it for 1000 block (~6h). It should calculate and show you the available balance.