BTCPrivate / BitcoinPrivate-legacy

Bitcoin Private is a Bitcoin and Zclassic fork which uses ZK-SNARK technology for privacy and fungibility.
Other
284 stars 132 forks source link

Enable hard fork to reset shielded pool #196

Closed BitcoinPr1vate closed 5 years ago

BitcoinPr1vate commented 5 years ago

Enable burn of unmoved coins

ch4ot1c commented 5 years ago

Tests

1 - Shielded pool reset - Handle reorg

Via regtest:

OK

2 - Shielded pool reset - Handle spends from previously funded wallet.dat shielded addrs (by failing)

Via regtest:

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.

akentunal commented 5 years ago

İ have in exchange bctp .any tıp for me i have no PC. Recommend Wallet links for bctp

interbiznw commented 5 years ago

@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