Skip to content

Commit 1ab45b1

Browse files
committedFeb 23, 2018
GIF in action
1 parent d69e96a commit 1ab45b1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
 

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
A simple object-oriented blockchain implementation.
99

10+
![Screenshot](https://github.com/ohmybrew/Blockchain-PHP/raw/master/example/example.gif)
11+
1012
## Usage
1113

1214
*Coming soon.*

‎example/create_basic_chain.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// Make X blocks
2525
for ($i = 0; $i < $runs; $i++) {
2626
// Build block
27-
$block = $bc->buildBlock(5, "Hello World {$i}");
27+
$block = $bc->buildBlock(4, "Hello World {$i}");
2828
echo $RED.'>>> '.($i === 0 ? 'GENESIS block' : "Block #{$i}")." built{$NC}\n";
2929

3030
// Mine it and create a hash

‎example/example.gif

241 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.