How do I revoke a transaction.

+4 votes
I understand that blocks in a blockchain if there has been confirmations or if more number of blocks are added after it cannot be modified.
If I am the admin, will I be able to stop the nodes being added temporarily and probably delete an erronoes transaction in a node or maybe isolate the whole block and ask the sender to re-do the transaction?
how do i even modify a newly created block evenif there are no blocks added to it?
who has the control? or is it not controllable by anyone?
asked Jul 27, 2016 by sanmadhavan

1 Answer

+2 votes
 
Best answer

It is not easy to revoke a transaction (that is the whole point) but if you can get all the nodes to cooperate, you can use a combination of the commands:

  • pause mining
  • setlastblock
  • clearmempool
  • resume mining
answered Jul 27, 2016 by MultiChain
selected Aug 10, 2016 by sanmadhavan
Yes, thanks thats exactly I wanted to know.
If the transaction is in the mempool, it can be cleared using the clearmempool call.
this information helps.
...