Background of the problem: I am undertaking a blockchain course at University and I have taken up a case study for blockchain that relates to logistics. The requirements are simple, yet I am confused with the storage segment of blockchain. Given that we have a table of deliveries to be made, I incorporate certain fields of the table into the blockchain.

Problems Faced:

  1. Would the data (payload of the block) be stored as plaintext?
  2. And how would I verify that the table hasn't been tampered with and it satisfies the blockchain?
  • $\begingroup$ After a discussion with my fellow mod I've removed the parts of the question that are not on topic on this site. You can still see them by clicking "edited" above the owl avatar. You might try and ask the removed questions at the SE softwareengineering.stackexchange.com site. These are rather introductory questions, following some kind of course / buying a book would probably also help you. Starting with development and studying the theory later is generally not the best way to go about this. $\endgroup$
    – Maarten Bodewes
    May 5, 2020 at 14:03
  • $\begingroup$ @MaartenBodewes Thank you, sure. They are my primary questions. But I understand the limited practice of Blockchain at the moment and I am guessing I most likely won't get any answer anytime soon, right? $\endgroup$
    – codez
    May 5, 2020 at 14:05
  • $\begingroup$ Blockchain is practiced quite a lot, even though the hype is a bit subsiding. However, before the bitcoin and especially ethereum site allowed these kind of questions. Possibly for that reason we're not having all that many experts over here that answer questions - even if they are related to cryptography which is used by blockchain. $\endgroup$
    – Maarten Bodewes
    May 5, 2020 at 14:06
  • $\begingroup$ @MaartenBodewes Ohhh, it's very limited resources to learn these stuff. Guessing the knowledge is too limited? $\endgroup$
    – codez
    May 5, 2020 at 14:07
  • $\begingroup$ Well, the knowledge (or interest) is limited here, but if I put in "blockchain book" in my fave search engine then I get plenty of hits. $\endgroup$
    – Maarten Bodewes
    May 5, 2020 at 14:09

1 Answer 1

  1. It depends on what blockchains are you talking about and what you considered as plaintext. For example, in Bitcoin, the transaction includes the signature, public keys, amount etc., and the amount being transferred is in plaintext. For Monero, the transaction includes more elements (i.e. a list of public keys, a signature, commitment to the amount), amounts are encrypted in a way that the only recipient can open.

  2. The hash of the current block is the hash of the data in the current block and the hash of the previous block (i.e. $B_i = h(B_{i-1}, \{tx| tx \in B_i\})$). So what happened when you modified the data in block $B_{i-1}$? $B_{i}$ will change. If you understand how $\mathsf{git}$ works? it's very similar. It's more interesting to see how the network agrees on a single chain.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.