Skip to content

Commit 8cfa5e0

Browse files
authored
Merge pull request #28 from jrakibi/thumbnails
add Thumbnails to all topics
2 parents c1ab215 + 822c72b commit 8cfa5e0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+133
-60
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ draft: false
66
category: Scripts
77
layout: TopicBanner
88
order: 2
9-
parent: 3-overview
9+
images:
10+
[
11+
"/bitcoin-topics/static/images/topics/thumbnails/bitcoin-opcodes-thumbnail.webp"
12+
]
13+
parent: overview
1014
---
1115

1216
The visualization below includes an explanation of the most commonly used opcodes in standard transactions.

decoding/8-4-implement-OP_ADD-OP_HASH160.mdx renamed to decoding/implement-OP_ADD-OP_HASH160.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ category: Scripts
77
layout: TopicBanner
88
order: 4
99
project: true
10-
parent: 8-project
10+
images:
11+
[
12+
"/bitcoin-topics/static/images/topics/thumbnails/project-stack-thumbnail.webp"
13+
]
14+
parent: project
1115
---
1216

1317
In Bitcoin script, OP_ADD adds the top two items on the stack, while OP_HASH160 computes the RIPEMD160(SHA256(x)) hash of the top stack item.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ category: Scripts
77
layout: TopicBanner
88
order: 5
99
project: true
10-
parent: 8-project
10+
images:
11+
[
12+
"/bitcoin-topics/static/images/topics/thumbnails/project-stack-thumbnail.webp"
13+
]
14+
parent: project
1115
---
1216

1317
In Bitcoin script, OP_CHECKSIG verifies a digital signature against a public key and a message hash. It's a crucial operation for validating transactions.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ category: Scripts
77
layout: TopicBanner
88
order: 2
99
project: true
10-
parent: 8-project
10+
images:
11+
[
12+
"/bitcoin-topics/static/images/topics/thumbnails/project-stack-thumbnail.webp"
13+
]
14+
parent: project
1115
---
1216

1317
Implement a simple stack data structure for Bitcoin script operations.

decoding/3-3-overview-locking-unlocking.mdx renamed to decoding/locking-unlocking.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ draft: false
66
category: Scripts
77
layout: TopicBanner
88
order: 3
9-
parent: 3-overview
9+
images:
10+
[
11+
"/bitcoin-topics/static/images/topics/thumbnails/locking-unlocking-scripts-thumbnail.webp"
12+
]
13+
parent: overview
1014
---
1115

1216
Locking and Unlocking scripts are used to define the conditions under which a transaction can be spent.
File renamed without changes.

decoding/nonce-reuse-attack.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ draft: false
66
category: Scripts
77
layout: TopicBanner
88
order: 3
9-
parent: taproot
109
images:
1110
[
12-
"/bitcoin-topics/static/images/topics/taproot/nonce-reuse-attack-thumbnail.png"
11+
"/bitcoin-topics/static/images/topics/thumbnails/nonce-reuse-attack-thumbnail.webp"
1312
]
13+
parent: taproot
1414
---
1515

1616
### What is a Nonce in Digital Signatures?
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ category: Scripts
77
layout: TopicBanner
88
order: 3
99
project: true
10-
parent: 8-project
10+
images:
11+
[
12+
"/bitcoin-topics/static/images/topics/thumbnails/project-stack-thumbnail.webp"
13+
]
14+
parent: project
1115
---
1216

1317
Implement a function to decode Bitcoin-encoded numbers.
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ category: Scripts
77
layout: TopicBanner
88
order: 3
99
icon: "FaClipboardList"
10+
images:
11+
["/bitcoin-topics/static/images/topics/thumbnails/overview-thumbnail.webp"]
1012
children:
11-
- 3-1-overview-stack
12-
- 3-2-overview-opcodes
13-
- 3-3-overview-locking-unlocking
14-
- 3-4-overview-script-success-failure
15-
- 3-5-overview-standard-nonstandard
16-
- 3-6-overview-data
17-
- 3-7-overview-quiz
13+
- stack
14+
- bitcoin-opcodes
15+
- locking-unlocking
16+
- script-success-failure
17+
- standard-nonstandard
18+
- pushdata-opcodes
19+
- quiz
1820
---
1921

2022
bitcoin scripts are simple programs written in a language called Script or bitcoin Script. These scripts define the conditions under which bitcoin can be spent or transferred.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ draft: false
66
category: Scripts
77
layout: TopicBanner
88
order: 1
9-
parent: 7-p2ms
9+
images: ["/bitcoin-topics/static/images/topics/thumbnails/p2ms-thumbnail.webp"]
10+
parent: p2ms
1011
---
1112

1213
In this exercise, you'll construct a P2MS (Pay-to-Multisig) ScriptPubKey within a P2SH (Pay-to-Script-Hash) for given public keys within a partially constructed transaction.

0 commit comments

Comments
 (0)