Closed BitcoinPr1vate closed 5 years ago
Via regtest:
Generated 101 blocks
Used z_sendmany
to shield block 1 coinbase to a z addr.
Generated 209 blocks
Used invalidateblock <blockhash>
on blockhash of block 290
Generated 40 blocks
Used reconsiderblock <blockhash>
on blockhash of block 290, to simulate reorg
After reorg (to new longest chain), balance is still 0, as it should be.
Balance also became 0 after zResetHeight
without reorging (after just stepping past block 300 linearly).
OK
Via regtest:
(revert code in wallet.cpp)
mine to 290, generated into wallet.dat
send block 1 reward to a new z addr (z_sendmany)
mine 1 to confirm
stop daemon, move wallet.dat elsewhere
mine to 301 in a new wallet.dat
stop daemon, replace wallet.dat with old
try to spend matured, previously mined coins to a new z addr (z_sendmany)
ensure that they 1) still appear, but 2) fail with joinsplit requirements not met
Output:
j@j-vb-mac:~/BitcoinPrivate$ ./src/btcp-cli z_getoperationstatus "[\"opid-21fcc9be-9fbd-4711-a6e7-17351543902b\"]"
[
{
"id": "opid-21fcc9be-9fbd-4711-a6e7-17351543902b",
"status": "failed",
"creation_time": 1545931630,
"error": {
"code": -26,
"message": "18: bad-txns-joinsplit-requirements-not-met"
},
"method": "z_sendmany",
"params": {
"fromaddress": "zzJeVzZ3vKqAon4LPgVuWPFK11eAX9MhvnX9a9y6aSLRyCNCjZpqe5X4JxZtNkBb3CfhujYbq25khQSK5UD9mBDdSzdoxVQ",
"amounts": [
{
"address": "zzEdUN4fLPMV5mkVfnc99EaRMrDGX25H1UUd8xxiacKvWKuZpTH818dsxEZXwh6qZBh3FWbGgHirhv5GUizHf51BGDJwf4a",
"amount": 12.4998
}
],
"minconf": 1,
"fee": 0.0001
}
}
]
As expected.
İ have in exchange bctp .any tıp for me i have no PC. Recommend Wallet links for bctp
@akentunal Wrong place for this type of question, but here is an answer(also answered you on reddit)
Make sure the exchange is supporting the fork, or move the coins from that exchange to an exchange that IS for sure supporting the fork.
Or you can use zelcore wallet on Android. https://play.google.com/store/apps/details?id=com.zelcash.zelcore&hl=en_US
Enable burn of unmoved coins