Final - Blockchain

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/89

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

90 Terms

1
New cards

Merkle Tree

A binary hash tree that allows efficient and secure verification of data in blockchains.

2
New cards

Merkle Root

The topmost hash in a Merkle Tree representing all transactions in a block.

3
New cards

Full Nodes

Nodes storing the entire blockchain for transaction validation.

4
New cards

Light Nodes

Nodes storing only block headers, using Merkle proofs for verification.

5
New cards

Merkle Proof

Proof that a transaction exists in a block using sibling hashes up to the root.

6
New cards

Elliptic Curve Cryptography (ECC)

Cryptography using elliptic curves offering strong security with smaller key sizes.

7
New cards

ECC Key Generation

Private key d; public key Q = dG, where G is a base point on the elliptic curve.

8
New cards

ECC Encryption

Encrypt message M as point Pm; ciphertext is (kG, Pm + kQ).

9
New cards

ECC Decryption

Use private key d to compute kQ from kG, then recover Pm = C2 - kQ.

10
New cards

Elliptic Curve Diffie-Hellman

A method of key exchange using elliptic curve arithmetic.

11
New cards

Message to Point Mapping

Hash message to x, solve y^2 = x^3 + ax + b mod p to get (x,y) on the curve.

12
New cards

Ethereum

A decentralized computing platform enabling smart contract execution.

13
New cards

Smart Contract

Self-executing code on a blockchain that enforces rules without intermediaries.

14
New cards

Ethereum Virtual Machine (EVM)

A virtual environment for executing smart contract bytecode.

15
New cards

Turing Complete

A language that can implement any algorithm, supporting loops and branching.

16
New cards

Etherscan

A blockchain explorer for viewing Ethereum transactions and contracts.

17
New cards

MetaMask

A browser extension enabling users to interact with Ethereum via wallet and dApp interface.

18
New cards

Transaction (Ethereum)

A signed message to transfer ETH or trigger contract execution.

19
New cards

Proof-of-Stake (PoS)

A consensus mechanism where validators stake ETH to propose and validate blocks.

20
New cards

Gas

A fee mechanism for Ethereum transactions, determined by gas limit and price.

21
New cards

Validator

An entity that proposes and attests blocks in PoS Ethereum by staking ETH.

22
New cards

Externally Owned Account (EOA)

An Ethereum account controlled by a private key, able to initiate transactions.

23
New cards

Contract Account

An account with smart contract code, controlled by logic, not a private key.

24
New cards

receive() Function

Solidity function to accept ether into a contract.

25
New cards

msg.sender

The sender address of the transaction invoking a contract.

26
New cards

transfer()

Solidity function to send ether from contract to an address.

27
New cards

Full Node

Stores the entire blockchain and verifies transactions and blocks.

28
New cards

Remote Client

Lightweight client that accesses Ethereum via RPC without storing the full chain.

29
New cards

Public Key

Derived from a private key; used to verify signatures and derive Ethereum addresses.

30
New cards

Private Key

Secret key used to sign transactions and control Ethereum accounts.

31
New cards

Transaction Structure

Includes nonce, gas price, gas limit, to/from addresses, and cryptographic signature.

32
New cards

Initial Coin Offering (ICO)

A fundraising method where tokens are sold to investors in exchange for capital.

33
New cards

Token

A digital asset on a blockchain representing value, resource, or access rights.

34
New cards

Hard Fork

A blockchain protocol change causing a split into separate chains if not all nodes upgrade.

35
New cards

Soft Fork

A backward-compatible protocol update that does not split the chain.

36
New cards

DAO (Decentralized Autonomous Organization)

An organization run by rules encoded as smart contracts without centralized control.

37
New cards

Hash Function

A one-way function used in cryptography to map data to a fixed-size output.

38
New cards

Double SHA-256

Hashing a message twice with SHA-256, often used in Bitcoin.

39
New cards

Digital Signature

Cryptographic proof that a message originates from a specific private key.

40
New cards

Base Point (G)

A publicly known point on the elliptic curve used for key generation.

41
New cards

Order of a Point

The smallest positive integer n such that nG = O (the point at infinity).

42
New cards

Point at Infinity (O)

The identity element in elliptic curve point addition.

43
New cards

Elliptic Curve Equation

y^2 = x^3 + ax + b mod p, defines points on the elliptic curve.

44
New cards

kG

The result of scalar multiplication of point G with integer k on the curve.

45
New cards

Ether

The native cryptocurrency of the Ethereum network, used to pay for computation.

46
New cards

DApp

A decentralized application that runs on a blockchain network.

47
New cards

Solidity

A high-level programming language for writing smart contracts on Ethereum.

48
New cards

Bytecode

Compiled low-level code executed by the Ethereum Virtual Machine.

49
New cards

State Transition

A change in blockchain state triggered by transaction execution.

50
New cards

Gas Limit

The maximum amount of gas units a transaction can consume.

51
New cards

Nonce

A transaction counter used to prevent replay attacks.

52
New cards

Web3.js

A JavaScript library used to interact with the Ethereum blockchain.

53
New cards

Sepolia

An Ethereum test network used for testing contracts with fake ETH.

54
New cards

Infura

A service providing Ethereum nodes and infrastructure for apps.

55
New cards

Alchemy

A platform offering Ethereum APIs and tools for blockchain development.

56
New cards

Mnemonic

A sequence of words representing a wallet's private key.

57
New cards

Gas Price

The amount of ETH paid per gas unit, affecting transaction speed.

58
New cards

EVM (Ethereum Virtual Machine)

A runtime environment for executing smart contracts.

59
New cards

Remix IDE

A browser-based Solidity development environment for writing and deploying contracts.

60
New cards

Solidity Compiler

Converts Solidity code into EVM bytecode.

61
New cards

Deployed Contract Address

The unique Ethereum address of a deployed smart contract.

62
New cards

msg.value

Amount of Ether (in wei) sent with a transaction to a contract.

63
New cards

require()

A Solidity function that checks conditions and reverts if false.

64
New cards

Geth

The Go language implementation of the Ethereum client.

65
New cards

Parity

A former Rust-based Ethereum client, known for speed and modularity.

66
New cards

LevelDB

A fast key-value storage library used for Ethereum state storage.

67
New cards

Merkle Patricia Tree

A data structure used to store Ethereum’s state.

68
New cards

Wallet

A software tool for managing Ethereum addresses and signing transactions.

69
New cards

Hardware Wallet

A physical device for securely storing private keys offline.

70
New cards

DAO

A Decentralized Autonomous Organization governed by smart contracts.

71
New cards

Ethereum Classic

A continuation of the original Ethereum blockchain after the DAO fork.

72
New cards

White Paper

A document outlining a project's purpose, technology, and tokenomics.

73
New cards

Utility Token

A token used to access a service or product in a blockchain ecosystem.

74
New cards

Equity Token

A token representing ownership or voting rights in a DAO or company.

75
New cards

Voting Token

Used to cast votes in blockchain-based governance systems.

76
New cards

Fork

A change in blockchain protocol that can split the chain (hard/soft fork).

77
New cards

SegWit

A Bitcoin soft fork that separates signature data to allow more transactions per block.

78
New cards

Bitcoin Cash

A hard fork of Bitcoin increasing the block size limit.

79
New cards

Bitcoin Gold

A Bitcoin fork aimed at decentralizing mining using GPUs.

80
New cards
Gas Fee Formula
Total Fee = Gas Units Used × (Base Fee + Priority Fee)
81
New cards
Gas Fee Example
21,000 × (10 + 2) = 252,000 gwei = 0.000252 ETH
82
New cards
Validator Tip (Gas)
Tip = Gas Units × Priority Fee = 21,000 × 2 = 0.000042 ETH
83
New cards
Base Fee Burned
Burned Fee = Gas Units × Base Fee = 21,000 × 10 = 0.00021 ETH
84
New cards
Solidity Operation Gas
x+y = 3 gas, x-y = 3 gas, x*y = 5 gas, x>y = 3 gas → Total = 14 gas
85
New cards
Total Solidity Gas Cost
Total Cost = Gas × gasPrice → 14 × 5 = 70 wei
86
New cards
PoS Block Time
Time per slot = 12 seconds; one block proposed per slot
87
New cards
ECC Key Generation
Public Key Q = d × G (where d is private key and G is base point)
88
New cards
Elliptic Curve Equation
y² = x³ + ax + b mod p
89
New cards
Merkle Proof Process
Hash leaf node → Combine with sibling → Hash to parent → Repeat until root
90
New cards
Merkle Root Validation
If computed root == block header root → Proof is valid