


























Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!



























There are two primary kinds of nodes operating within the Bitcoin network:
2 Hash and Hashpointer
A standard hash function holds the following general properties:
For a hash function to be considered cryptographically secure, it must satisfy three additional properties: Collision-resistance, Hiding, and Puzzle-friendliness.
2.2.1 Collision-Resistance
2.2.2 Hiding Property
h 1234 = h(h 12 · h 34 ) (2)
where h 12 = h(h 1 · h 2 ) and h 1 = h(data 1 ).
h 55 = h(h 5 · h 5 ) (3)
3 Signatures and Identities
3.1.1 Digital Signature Scheme
A formal digital signature scheme consists of three primary algorithms:
3.1.2 Unforgeability Game
3.4.1 GoofyCoin
3.4.2 ScroogeCoin
4 Consensus and Network Dynamics
H(nonce ∥ prev hash^ ∥^ tx 1 ∥ · · · ∥^ txn)^ <^ target^ (7)
4.2.1 Target Coefficient
target = coefficient × 28 ×(exponent−3)^ (8)
Inputs −
Outputs.
If an entity controls a significant portion of the network’s hash power (α), severe attacks become possible:
5 Wallets and Cryptocurrencies Storage - #
5.2.1 Hot Storage
5.4.1 Derivation Path Structure
The standard derivation path format is written as:
m / purpose′^ / coin type′^ / account′^ / change / address index (11)
6 Bitcoin Script and Transactions - #
Fee =
Inputs −
Outputs (12)
Transactions are serialized as structured data (often represented in JSON). Key components include:
6.4.1 TXID and VOUT
6.6.1 P2PKH (Pay To Public Key Hash)
6.6.2 Other Common Patterns
6.7.1 Escrow Transactions (2-of-3 Multisig)
6.7.2 Micropayment Channels
7 Ethereum and the EVM - #
1 wei = 1 × 10 −^18 ETH (13)