November 2020 Paper 3 Past Paper

These notes aren't too good right now - these will be changed.

1a - Identify 2 characteristics of Peer-to-peer network [2]

  • A peer to peer network contains multiple nodes connected to each other, where each node acts as both a client (receiving data) and a server (sending data).
  • Scalable
  • Seeding - can be used to say how reliable one connection is over another connection. (Sort of like a trust mechanism)

1b - Identify 2 sources of entropy. [2]

  • Atmospheric Noise - True RNG
  • Time - Pseudo RNG
  • Light level in the atmosphere
  • Temperature/Humidity

2a - Describe the steps that need to be carried out by the blockchain system to find a user's central MONS balance [4]

  • The blockchain system calculates the balance of each user by looking at the transaction history.
  • When a user needs their balance calculated (for future transactions for example), each node looks at transactions associated with the user (both as the sender and the receiver), and then calculates how much cryptocurrency has been given to the user, and how much cryptocurrency the user has given away to other users.
  • These two values are then added up together (with the cryptocurrency the user given away being negative) to find a user's MONS balance.
  • UTXO - sequentially goes through UTXO for each user from the start of the block to the end of the block.
  • The block when split - calculations are done that way
  • Blocks have to be validated in order for the transaction to be valid.

Dolores states "one of the great things about the blockchain is that we can ensure that the solution time remains at 10 minutes, and we can do this even as the number of MONS miners increases" (lines 63-65).

2b - Explain why it is important to ensure the solution time remains at 10 minutes. [4]

  • By setting the solution time at 10 minutes, a block can only be added to the MONS blockchain every 10 minutes.
  • Making the solution time take 10 minutes (as opposed to 2 seconds) allows more transactions from the memory pool to be placed in a blockchain, and also helps with making sure transactions are non-malicious. As the solution time is 10 minutes, if a malicious user decides to edit transactions 3 blocks down, they would need to spend 30 minutes to find correct nonces to keep the blocks chained to each other. By the time they finish finding correct nonces, other miners would have added blocks to the blockchain, leading to 30 minutes of wasted time by the malicious users.
  • Also to ensure that the difficulty of mining the block does not change as the currency gets more popular.

Critics have complained about the potential environmental effects caused by the computing resources required by a blockchain network.

3 - Analyse the potential effects that the use of MONs could have on the environment. [6]

  • Proof of work uses a lot of electricity because a lot of computational power is needed.
  • Printed money - cost to environment by producing physical money (metal/heating/trees etc)
  • Inflation - don't need to print more money/different types of money
  • Heat generated by proof-of-work -> potential difference in climate change
  • Depends on where the electricity comes from
  • If electricity comes from more renewable sources of energy, it is likely that cryptocurrency is more environmentally friendly, but if electricity comes from non-renewable sources, it is more likely that cryptocurrency is worse from the environment. Looking at the world today, a sizeable portion of energy comes from non-renewable energy, so it is likely that the MONS project will be bad for the environment.

Pablo states: "In a traditional banking system, users trust the banks to keep everyone's money safe; but with MONS, the whole blockchain, right from the very first transaction, would be visible to all MONS users, so it is important to be able to explain to citizens how their money is guaranteed to be safe" (lines 109-112).

4 - With reference to the key technologies, to what extent do you believe the MONS project will ensure the safety of the residents' money? [12]

Plan:

  • Positive
    • Proof of work requires a lot of computational power - hard to fake data
    • Digital signature makes it obvious to the node that blocks are given from the correct user and stuff
  • Negative
    • In the beginning stages of the currency, it's very easy to get 51% of the share, and thus at the beginning, it will be harder to trust the data of the resident's money
    • This requires the people to be technologically secure - if the people have weak passwords, then a digital signature won't matter as other people will be able to access their funds and stuff like that
  • Evaluation
    • Another potential method that could be used is proof-of-stake -> does the same thing as proof-of-work but it's unlikely to have a 51% attack as this would mean they would need a large share of the currency (rather than just computational power), which is far far far more expensive

12 Marker Answer

The MONS project uses proof of work, which ensures that the resident's money is safe. Proof of work requires a group of miners to race and find a nonce that when hashed together (using an algorithm such as SHA-256) with the block header in a candidate block (a block to be put on the blockchain), results in a value lower than the target value set by the cryptocurrency. This target is changed by the MONS project such that it takes all the miners in a network 10 minutes to find a suitable nonce. Additionally, each block in a blockchain is linked to the previous block, meaning that if a single transaction in a block is changed, the whole link from that block onwards needs to be rebuilt, so if a transaction is several blocks down, it takes a lot of computational power to rebuild the chain. All this helps to ensure that the residents' money has not been tampered with, ensuring the safety of their money. However, in the beginning stages of the MONS project, there will be fewer miners competing to find the correct nonce, so staging a 51% attack at the earlier stages will be far easier, and potentially realistically viable. When a 51% attack occurs, a single party will have the majority of the resources in the mining pool, allowing them to create malicious transactions and as a result, makes Santa Monica's resident's money potentially unsafe and invalid. This could happen if a Trojan horse virus infected much of Santa Monica's computers, which would allow for a single party to be able to have the majority of the mining pool.

Additionally, digital signatures secure the transactions of residents, which makes sure that transactions are not created by another person. This works by using asymmetric encryption with an algorithm such as the RSA encryption algorithm. A digital signature is created by hashing the transaction data and private key together, and this digital signature is placed alongside the transaction to ensure that the transaction is 'signed' by the intended person. When people verify, they use the public key associated with the user alongside the digital signature and the public key, which will then return a boolean value describing whether the digital signature is correct. This digital signature is different for every transaction, meaning that a user cannot reuse the same digital signature for other transactions, ensuring the privacy of citizens' data. However, this depends on how tech-savvy the users are. If they use weak passwords or use the same password for every account, and possibly don't use an anti-virus, they could be infected by a Trojan horse which would allow for more likelihood of a 51% attack, or at the very least, transactions being falsely created by hackers using the accounts of infected citizens whether using their physical devices or through virtual means.

In evaluation, it is likely the ensure that MONS will be safe for citizens as long as they are tech-savvy and are able to use computers that are secure, and use a password manager to make sure all their passwords are unique and secure. Additionally, the currency will only be more secure with more users (as there will be more demand for miners, thus making it harder to stage a 51% attack), meaning that citizens will need to be informed about why MONS is secure to be confident in using it, and thus making the system more secure.


Add RSA encryption for digital signature section above.