txcatcher 0.1.73 → 0.1.74
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/lib/txcatcher/server.rb +2 -1
- 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: 92936b57477c0542131d557f44821198ccf5c457
|
4
|
+
data.tar.gz: 4386bca28f25372e778571847f0fb01e37f5bea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ead00c396df098d2d36adda908fd3b65726362a02f0a1ec626359e63e5759fb704bed8fc35716a5b2ef489de6388edb48a809b267bea8c986cecd98915ec8a7
|
7
|
+
data.tar.gz: 64c0a5ee8ad9a0b2fe75d830b796b75eef9c59273edf7238b2d2cbda5e429c7a75c2905f110800fba20411ea41701cecd3dfc2cf83215671f0170d77b5e9db35
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.74
|
data/lib/txcatcher/server.rb
CHANGED
@@ -26,7 +26,8 @@ module TxCatcher
|
|
26
26
|
elsif path.start_with? "/feerate"
|
27
27
|
feerate(params["blocks_target"] || 2)
|
28
28
|
elsif path == "/" || path.empty?
|
29
|
-
|
29
|
+
version = File.read(File.expand_path(File.dirname(__FILE__) + "../../../VERSION"))
|
30
|
+
[200, {}, "TxCatcher server v#{version.strip}, #{TxCatcher::Config.rpcnode["name"]}, current_block_height: #{TxCatcher.current_block_height}"]
|
30
31
|
else
|
31
32
|
[404, {}, { error: "404, not found" }.to_json]
|
32
33
|
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.74 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.74"
|
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"]
|