sibit 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sibit.rb +1 -1
- data/lib/sibit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63efa03d475df765f994bd609f8f5deb31cea1450566f1e68a8c5a8ac497ec0c
|
|
4
|
+
data.tar.gz: c36540c991e462bf6825d9a48109a3f0c1a4ca1934b4741a17074a3cf8503565
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98cc194b64718dc11ba35650a6c1bda4b52e4ca04cd935784f45387fb6dbdb552de00343d5e7dfd90ba796137500028bf5c31177006a087f2ec2a754751d3a5e
|
|
7
|
+
data.tar.gz: 161f739388531e1b79ca07860d374023c0ff8109de32b35d35dc487892b4fa09e2db2471a524983aa8f2e35723806053dcbeb0e98ecc9ff2e8ecfe2e1da737ec
|
data/lib/sibit.rb
CHANGED
|
@@ -214,13 +214,13 @@ class Sibit
|
|
|
214
214
|
end
|
|
215
215
|
checked += 1
|
|
216
216
|
end
|
|
217
|
+
count += 1
|
|
217
218
|
@log.info("We checked #{checked} txns and #{checked_outputs} outputs in block #{block}")
|
|
218
219
|
block = json[:next]
|
|
219
220
|
if block.nil?
|
|
220
221
|
@log.info("The next_block is empty in block #{json[:hash]}, this is the end of Blockchain")
|
|
221
222
|
break
|
|
222
223
|
end
|
|
223
|
-
count += 1
|
|
224
224
|
if count > max
|
|
225
225
|
@log.info("Too many blocks (#{count}) in one go, let's get back to it next time")
|
|
226
226
|
break
|
data/lib/sibit/version.rb
CHANGED