aboutsummaryrefslogtreecommitdiff
path: root/sem7/dist
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-11-18 15:33:22 +0100
committerJulian T <julian@jtle.dk>2021-11-18 15:33:22 +0100
commit7f57150038a90f634dd27b25bd9bba05c461c22a (patch)
tree747238b72fb000c210318ce41b4c9ff5fce91b7a /sem7/dist
parentc954caae46263ec9fe6290bd45f921d0b3ca3a16 (diff)
Add answers to dist blockchain questions
Diffstat (limited to 'sem7/dist')
-rw-r--r--sem7/dist/opgblock.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/sem7/dist/opgblock.md b/sem7/dist/opgblock.md
new file mode 100644
index 0000000..39b8889
--- /dev/null
+++ b/sem7/dist/opgblock.md
@@ -0,0 +1,23 @@
+# Questions
+
+> What can be said about privacy and confidentiality in blockchains? Which kind of identity privacy can be kept? Can data be kept confidential, and how?
+
+Because transactions are stored immutably in the blockchain, it is possible to see all previous interactions for a specific public key.
+If i where to use the same key for everything, that would not give me much privacy as my friends would probably also know that identity.
+
+If i want to keep my transactions private, i would have to make new identities for each purpose.
+This would require alot of managing of resources, as each identity has it's own wallet.
+
+
+> Is it possible to remove all the "transaction data" of a block from the disk, and keep only the Merkle tree head? In which cases?
+
+Yes it is possible, especially if all the money contained in it is spent.
+Because the hash of the block only covers the Merkle tree head, one can remove the rest from disk.
+
+However this is stupid if one want's to keep historical data of transactions.
+
+> Why is the miner protected from a "while(true) {...}" Denial of Service attach in Ethereum / Solidity?
+
+The program can't run forever before reaching the computation limit, which i think is galled gas.
+That way a while loop would quickly run out of gas, and the execution will stop.
+In that way it is only the owner of the contract who wastes their money.