We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d69e96a commit 1ab45b1Copy full SHA for 1ab45b1
README.md
@@ -7,6 +7,8 @@
7
8
A simple object-oriented blockchain implementation.
9
10
+
11
+
12
## Usage
13
14
*Coming soon.*
example/create_basic_chain.php
@@ -24,7 +24,7 @@
24
// Make X blocks
25
for ($i = 0; $i < $runs; $i++) {
26
// Build block
27
- $block = $bc->buildBlock(5, "Hello World {$i}");
+ $block = $bc->buildBlock(4, "Hello World {$i}");
28
echo $RED.'>>> '.($i === 0 ? 'GENESIS block' : "Block #{$i}")." built{$NC}\n";
29
30
// Mine it and create a hash
example/example.gif
241 KB
0 commit comments