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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sibit.rb +1 -1
  3. data/lib/sibit/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c16c2d9c8fd8acd2635dc38d1b97599dc2138851ffc162db62aa3dc35feec993
4
- data.tar.gz: b17f0c383453182402041ac8793eb2e308480b660e4bd79577a846a6517cf66e
3
+ metadata.gz: 63efa03d475df765f994bd609f8f5deb31cea1450566f1e68a8c5a8ac497ec0c
4
+ data.tar.gz: c36540c991e462bf6825d9a48109a3f0c1a4ca1934b4741a17074a3cf8503565
5
5
  SHA512:
6
- metadata.gz: 3a7234573110a1fd17ed0e67257474f5c07801e0fd74a0212ca1e08453e9088aeae00b803382814119b9e16fe1b22a9f2fab1974724fdc5c1f5f0d11649e5e29
7
- data.tar.gz: '089e4b96cf9c5fb0b3e17bd1692e9ee66f553c2752fd8669a520008a533dacc60063c473264f0469d394a5c272209419026f4920dfa3f3f97bbfc422fe359751'
6
+ metadata.gz: 98cc194b64718dc11ba35650a6c1bda4b52e4ca04cd935784f45387fb6dbdb552de00343d5e7dfd90ba796137500028bf5c31177006a087f2ec2a754751d3a5e
7
+ data.tar.gz: 161f739388531e1b79ca07860d374023c0ff8109de32b35d35dc487892b4fa09e2db2471a524983aa8f2e35723806053dcbeb0e98ecc9ff2e8ecfe2e1da737ec
@@ -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
@@ -26,5 +26,5 @@
26
26
  # License:: MIT
27
27
  class Sibit
28
28
  # Current version of the library.
29
- VERSION = '0.19.0'
29
+ VERSION = '0.19.1'
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko