txcatcher 0.1.94 → 0.1.95
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/VERSION +1 -1
- data/bin/txcatcher-monitor +1 -7
- data/txcatcher.gemspec +2 -2
- 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: 422558859ca55a7fd99261cefa4cff5da3d94b074feed9f0bc49a3e62c8f9948
|
|
4
|
+
data.tar.gz: 7aaa00848e2615d34d7ecd0c1a566e4036492de65c612ba000a1714002d826fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68f2da71cfa8477774ca23f49818ebd79efb6c78377fe429cf8ce0a3494528bbd56874d31cac5887342c74c29728b8a7892b287b476d6c54b3b8df07b01af072
|
|
7
|
+
data.tar.gz: 7b370b465b26f366acc112a31cb5db403e60e747217817bd9cf4f1d3eea51982ce6d784c4efc1226f7d89aed57756ec09d58e46f29bb82f7d5397e801e8b36ac
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.95
|
data/bin/txcatcher-monitor
CHANGED
|
@@ -152,11 +152,6 @@ while attempts < 3 && (response.nil? || response.empty?)
|
|
|
152
152
|
attempts += 1
|
|
153
153
|
begin
|
|
154
154
|
|
|
155
|
-
<<<<<<< HEAD
|
|
156
|
-
addr = latest_output_addr
|
|
157
|
-
response = fetch_txcatcher_response(addr, sleep_time: TxCatcher::Config["monitor"]["retry_sleep_time"])
|
|
158
|
-
url = TxCatcher::Config["monitor"]["txcatcher_url"] + "/addr/#{addr}/utxo"
|
|
159
|
-
=======
|
|
160
155
|
# if address is the same as in the previous attempt, let's try a different address.
|
|
161
156
|
addr_index = 0
|
|
162
157
|
begin
|
|
@@ -166,8 +161,7 @@ while attempts < 3 && (response.nil? || response.empty?)
|
|
|
166
161
|
end until addr != a || addr_index > 5
|
|
167
162
|
addr = a
|
|
168
163
|
|
|
169
|
-
response = fetch_txcatcher_response(addr)
|
|
170
|
-
>>>>>>> 1f649915f3c64ee2275140881e856296f37985e1
|
|
164
|
+
response = fetch_txcatcher_response(addr, sleep_time: TxCatcher::Config["monitor"]["retry_sleep_time"] )
|
|
171
165
|
|
|
172
166
|
if response.empty?
|
|
173
167
|
LOGGER.report("Checked #{url}, got empty response, attempt #{attempts}", :error)
|
data/txcatcher.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: txcatcher 0.1.
|
|
5
|
+
# stub: txcatcher 0.1.95 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "txcatcher"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.95"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|