Set a valid pubkey to burned address.
limxdev opened this issue · 20 comments
We want to burn 1 MIO BSD (Old Premine Coins)
The address is iAm2Ag9hf5waYS3QZSfJSS5ibRQ2Z4NfB7. We need here a DOS100 function to lock the Coins.
The Bounty for a good solution is 2000 BSD.
create a raw transaction to this address: i3UXS5QPRQGNRDDqVnyWTnmFCTHDbzmsYk
and decode the raw transaction, you will see the output script key:
OP_DUP OP_HASH160 0000000000000000000000000000000000000000 OP_EQUALVERIFY OP_CHECKSIG
this key un unspendable
Thank you bitbandi. It is not possible to move the coins.
why is not possible to move?
A imposter has received coins from the Dev Found. The coins are locked on bittrex.
well. if the coin is in exchange, and you "lock" the coin in blockchain, you sould still trust the exchange. thats not a real burn....
anyway. if the coins are in bittrex address, they have the privkey so they can send to a burn address.
Yes that is best solution but we talk now since 273 days about a solution.
The address is not typically public key. It is hash of public key ... So, if we know only hash of public key, it is not feasible to get public key. Moreover if even we got public key, we can't get it's private key..
So, burning seems to be impossible if this is ...
It is possible to write a function like this here. https://github.com/LIMXTEC/BitSend/blob/master/src/main.cpp#L2890
Example:
if((blockheight > 198403)&& (lasttx move pubkey) Dos100 ...
This block is then a orphan.
It is only a backup.
? ? You closed it ?
or you can set there a check to prevent the sending, so you lock the coins to that output:
https://github.com/LIMXTEC/BitSend/blob/master/src/main.cpp#L814
if (txin.prevout == COutPoint(uint256("0x3d1c1cfd63e59a8c207d9a1d65e1446973da88120659d8e50032f3ee7c893550"), 0))
return state.DoS(100, error("CheckTransaction() : imposter locked tx", REJECT_INVALID, "bad-cb-lock");
I think yes, whole bunch is of single received transaction.
Will lock this in next update I.e. version 0.14
@joshafest the address has one input: https://chainz.cryptoid.info/bsd/address.dws?iAm2Ag9hf5waYS3QZSfJSS5ibRQ2Z4NfB7.htm
Did you have tested it @bitbandi ? I can it only note as backup. This solution is for Bittrex imposible.
no tested, but....
What is the good solution for bittrex and for bitsend communinty? bittrex promise scout's honor, that they wont touch the coins? well, thats not a burned coint...
they have the privkey for that address, the sould withdraw the coin to the burn address. or you can "lock" the transaction to unspendable. no other solutions are possible...
bitbandi I want to a small bounty. Please give me your address.
@chris , bitbandi's solution is 'NOT' burning coins ... It is 'FREEZING' the coins, so that they cannot be claimed.
@joshafest well, the true unspendable output need a special transaction:
https://en.bitcoin.it/wiki/Script#Provably_Unspendable.2FPrunable_Outputs
And sending to a 0 pubkeyhash address is "almost good" solutions (you need to find a privkey for 0 pubkeyhash, 2^256 check, good luck! :D ) . But none of them are acceptable by bittrex.
With that "no-send" criterion, the transaction lock is a good solution.
Yes, as I say your solution is good. .. :)