From b9dab1817163f26085d67788848c44627628dbef Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Mon, 14 Nov 2022 11:04:32 +1300 Subject: [PATCH] vault backup: 2022-11-14 11:04:32 --- content/notes/412-lectures.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/content/notes/412-lectures.md b/content/notes/412-lectures.md index 02c65853d..e4691e845 100644 --- a/content/notes/412-lectures.md +++ b/content/notes/412-lectures.md @@ -102,4 +102,21 @@ content of transaction - remainder of input, after subtracting output, is transaction fee - can search back in time to find a transaction - either genesis block (50 bitcoin) ir a coinbase mining reward - - \ No newline at end of file + +main node roles +- network - all nodes help routing with p2p protocol +- wallet - manage keys that show ownership of transactions +- miner - participate in proof of work block verifications +- blockchain - can carry full blockchain + +bitcoin core refereence client contains all four functions +- miners (may) leave out wallet +- lightweight wallet only has wallet and network components +- some nodes store blockchain but do not do mining + +# Lecture 9 +![merkle tree|300](https://i.imgur.com/umkxpSZ.png) + +Merkle tree + - hash value compted for each data block + - tree built with parent \ No newline at end of file