txcatcher 0.1.87 → 0.1.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/txcatcher-monitor +3 -2
- data/txcatcher.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6814ca040f77d1ccdeb7762388fd1389cd3a14ae
|
4
|
+
data.tar.gz: ce49b9f0b3a1f67b9340d7e77e7f817e05c6d9c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91778cfcc2f9ac08e12feaa36f507a30e668e3f57d9aa7ec7da782555a82e134b7ddf4e4b2552a4ebc9b5b38c10b720bb3c8c993da274769e3dde55daaf58712
|
7
|
+
data.tar.gz: 5accdff4a0a2fcbaf5d98d93ca2da1143050e5199b1701eb557a5d713def3717e7d6028b1132d6c2dc0bfc212ae2611510462aad16765f4a1a8cd1ae7963dfed
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.88
|
data/bin/txcatcher-monitor
CHANGED
@@ -106,7 +106,8 @@ def try_txcatcher(addr, sleep_time: 3)
|
|
106
106
|
response = {}
|
107
107
|
3.times do
|
108
108
|
sleep sleep_time # let's wait, perhaps txcatcher hasn't caught up
|
109
|
-
|
109
|
+
response = fetch_txcatcher_for_addr(addr)
|
110
|
+
break unless response.empty?
|
110
111
|
end
|
111
112
|
|
112
113
|
if response.empty?
|
@@ -123,7 +124,7 @@ end
|
|
123
124
|
|
124
125
|
def fetch_txcatcher_for_addr(addr)
|
125
126
|
response = Faraday.get do |req|
|
126
|
-
req.url TxCatcher::Config["monitor"]["txcatcher_url"] + "/addr/#{addr}
|
127
|
+
req.url TxCatcher::Config["monitor"]["txcatcher_url"] + "/addr/#{addr}/utxo"
|
127
128
|
req.options.timeout = 5
|
128
129
|
req.options.open_timeout = 5
|
129
130
|
end
|
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.88 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.88"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|