Online Assessment 2020-21
Course Code : ELSS2111
Course Title : Blockchain Technology and Applications
区块链应用作业代写 In case of Pay-to-Script-Hash (P2SH), you provide the script as below, what are the advantage(s) and disadvantages?
Question 1
What is the general structure and content of a block of Bitcoin? (10 marks)
Question 2 区块链应用作业代写
Which part(s) of the block content makes up the immutability of blockchain? (4 marks)
Question 3 区块链应用作业代写
Which part(s) of the block content is generated during mining? (6 marks)
Question 4
Suppose you are a Bitcoin expert and are given some information about a crypto “Bcoin” which is supposed to work almost in the same way as Bitcoin. Now, scrutinize the given block information and identify which block may contain inconsistent or not reasonable data, and give explanations to support your answer. (note: it is known that the block numbers and the time stamps should be all correct.)
The extracted information of three blocks are given as below. (12 marks)
Block number | N |
Hash | 000000000003ba17aa200b1cecaad478d2b00432346c3f1f3986da1afd33 e503 |
Confirmations | 560,000 |
Timestamp | 2010-11-09 10:54 |
Height | N |
Number of Transactions | 4 区块链应用作业代写 |
Difficulty | 14,484.16 |
Merkle root | f3e92742aca4b5ef85488dc37c06c3282295ffec960994b2c0d5ac2a25a95 763 |
Miner | Unknown |
Version | 0x1 |
Nonce | 264,148,111 区块链应用作业代写 |
Transaction Volume | 53 Bcoins |
Block Reward | 50 Bcoins |
Fee Reward | 0 Bcoin |
Block
number |
n + 100,000 |
Hash | 000000000000032a7dedef4a161fa058a2d67a173a90155f3a2fe6fc131e0ebf |
Confirmation s | 260,000 |
Timestamp | 2013-10-02 18:45 |
Height | n + 100,000 |
Number of Transactions | 388 |
Difficulty | 13,640.12 |
Merkle root | a04f8101f50fd9c9b3e5252aff4c1c1bd668f878fffaf3d0dbddeb029c307e84 |
Miner | Unknown |
Version | 0x4 |
Nonce | 4,158,183,000 |
Transaction Volume | 211650.04 Bcoin 区块链应用作业代写 |
Block Reward | 6.25 Bcoin |
Fee Reward | 0.63517500 Bcoin |
Block
number |
N + 400,000 |
Hash | 00000000000000000014fb37364cbf81fd49cc2d51c09c75c35433c3a1945d02 |
Confirmation s | 160,000 |
Timestamp | 2018-11-19 02:35 |
Height | N + 400,000 |
Number of Transactions | 2701 |
Difficulty | 1,873,105,475,000.61 |
Merkle root | 31951c69228a95a46b517ffb0de12fec1bd0b2392aec07b64573e03d ed31611f |
Miner | Unknown |
Version | 0x3 |
Nonce | 1,560,058,000 区块链应用作业代写 |
Transaction Volume | 14017.30 Bcoin |
Block Reward | 12.50 Bcoin |
Fee Reward | 3.39350615 Bcoin |
Question 5
What are the differences between the genesis block and the other blocks in Bitcoin?(10 marks)
Question 6 区块链应用作业代写
In Bitcoin, Unspent Transaction Output (UTXO) model is used. Amy, Betty, and Cathy initially had none of bitcoin and now just received 10 bitcoins each from someone. Then, Amy sent 5 bitcoins to Betty with transaction fee of 0.5 bitcoin and kept the changes. Then, Betty spent 12 bitcoins to Cathy with transaction fee of 1 bitcoin and kept the changes. Then, Cathy sent 11 bitcoins to Amy. Finally, suppose all the above bitcoin transactions have been successfully done, how many UTXO is now available to Amy, Betty, and Cathy for spending respectively. On the other hand, they wanted to keep the transactions in secret and hide them from each other. Please explain to them why Bitcoin transaction is not perfect anonymous. In order to keep pseudo anonymous, what do you advise them to do in the very beginning of these transactions?(15 marks)
Question 7
Suppose a user A is sending bitcoins to another user B. How user A knows the bitcoin transaction is taking place and gets confirmed and secured transactions? Explain your rationales. (10 marks)
Question 8
Suppose the function f(x) such as
x | f(x) |
-4 | 16 |
-3 | 9 |
-2 区块链应用作业代写 | 4 |
-1 | 1 |
0 | 0 |
1 | 2 |
2 | 4 |
3 | 9 |
4 | 8 |
Please comment on this function whether it can comply with the properties of being a cryptographic hash function which can be applied for achieving a tamper evident blockchain system. (8 marks)
Question 9 区块链应用作业代写
Suppose Peter, Mary, Susan, John and you are the directors of a FinTech company and now your customer is preparing to settle a payment by sending bitcoins to your company.
In case of making the transaction with Pay-to-Pub-Key-Hash (P2PKHZ), what information you need to provide with the customer?
In case of Pay-to-Script-Hash (P2SH), you provide the script as below, what are the advantage(s) and disadvantages?
Question 10
Sketch a diagram showing the Hyperledger Fabric application on IBM blockchain platform such that
(1)Five organizations: Org1, Org2, Org3, Org4,Org5
(2)Five organizations have its own Certificate Authority: Org1CA, Org2CA,Org3CA,
Org4CA, Org5CA
(3)Five organizations have its own Membership Service Provider: Org1MSP,Org2MSP,Org3MSP, Org4MSP, Org5MSP
(4)Five organizations have its own peer node: Org1Peer1, Org2Peer1,Org3Peer1, Org4Peer1, Org5Peer1 区块链应用作业代写
(5)One business group: A,C, & E that runs the smartcontract#1
(6)Another business group: A,B,C,D, & E that runs the smartcontract#2
(7)Five organizations have its own external application: Org1ExtApp, Org2ExtApp, Org3ExtApp, Org4ExtApp, Org5ExtApp, to access the blockchain and invoke the requested smartcontract
(8)Two business groups are independent to each other 区块链应用作业代写
What do you suggest for setting up endorsers and transaction validation policy in the ordering services for the business group of five organizations? Give reason to support your suggestion. What does the external application requires in order to access the blockchain and invoke the smart contract?
What difference about data ledger(s) stored in Org1Peer1 and Org2Peer1? (15 marks)
更多代写:美国coursework代写 GRE代考 美国EconFinal exam代考 旅游学论文范文 论文文献综述代写 代写论文可靠吗