Hyperledger remove asset

0 votes

I'm trying Hyperledger Composer and I'm just wondering what happen when we remove an asset - like, does it get deleted from the Blockchain?

And does restarting the entire Hyperledger Network (e.g. reloading Docker image from all computers in the network) the only true way of deleting the bBockchain from existence?

Jul 2, 2018 in Blockchain by sabby
• 4,350 points
345 views

1 answer to this question.

0 votes

Data on a blockchain won't ever be deleted. A deletion is just another transaction saying certain data is deleted, so that the world state database can remove that data. Since a blockchain is basically a Merkle Tree, it plays by those rules and is immutable. Data will always be there unless the ledger and transactions are removed from the machines, such as restarting the network and removing all the information from the peers. That's basically a wipe of every machine that was used for the network structure holding the ledger. 

However, that's in theory, and it gets a little complicated with different implementations of a blockchain. When you're working with Hyperledger Fabric, if you set an ACL rule or use encryption, then a marked asset might as well be deleted, since there will be many barriers for a random participant to view that data. So depending on how sensitive your data is, it may not really matter.

answered Jul 4, 2018 by Christine
• 15,790 points

Related Questions In Blockchain

+1 vote
5 answers

Does Hyperledger remove asset actually remove anything?

Hyperledger remove asset doesn't actually "remove" the ...READ MORE

answered Jun 19, 2018 in Blockchain by charlie_brown
• 7,720 points
965 views
+1 vote
4 answers
0 votes
1 answer

Hyperledger: How to update values from an asset?

This should work: return getAssetRegistry('org.rytle.Route').then(function(ar) { ...READ MORE

answered Nov 6, 2018 in Blockchain by Omkar
• 67,660 points
356 views
0 votes
1 answer

Hyperledger Composer: Error: Object with ID 'assetID:0138' in collection with ID 'Asset:org.acme.mynetwork.Sensor'

Remove 'assetID:' from your test string. For example, 'org.acme.mynetwork#assetID:0138' ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 67,660 points
108 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
81 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
515 views