txcatcher 0.1.77 → 0.1.78
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/cleaner.rb +2 -2
- data/txcatcher.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e4aaec6941f2f625f57a6f416a14caa6ebadb2
|
4
|
+
data.tar.gz: 5655af47128349a7db07089e73d17a0a79b748d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b908cdb4da6b8ae54d72991d6bf3be00cef5841927fb2baff92be9920f7d416b3dacef8bd34970012d52567175f9d9b9bd5b06f0d559939c91b94c9823a9ba1
|
7
|
+
data.tar.gz: b23f6c941010887ac1faffc814b23b698357b590838c5c6293d8ee71f791cba8c4459f6b7c1a89db9b3807d6e464a8328e0e50ca56438b7f28404df4b467935c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.78
|
data/lib/txcatcher/cleaner.rb
CHANGED
@@ -50,10 +50,10 @@ module TxCatcher
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def clean_transactions(n)
|
53
|
-
transactions = Transaction.order("
|
53
|
+
transactions = Transaction.order("id ASC")
|
54
54
|
transactions.where(Sequel.~(protected: true)) if Config.protected_transactions
|
55
55
|
|
56
|
-
(n/100).times do
|
56
|
+
(n/100+1).times do
|
57
57
|
limit = n <= 100 ? n : 100
|
58
58
|
transactions.limit(limit).each do |t|
|
59
59
|
$stdout.puts "- Removing tx #{t.txid}"
|
data/txcatcher.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
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.78 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.78"
|
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"]
|
13
13
|
s.authors = ["Roman Snitko"]
|
14
14
|
s.date = "2017-09-25"
|
15
|
-
s.description = "
|
15
|
+
s.description = "Currently, the only job of this gem is to collect all new Bitcoin/Litecoin transactions, store them in a DB, index addresses."
|
16
16
|
s.email = "roman.snitko@gmail.com"
|
17
17
|
s.executables = ["goliath.log", "goliath_stdout.log", "txcatcher"]
|
18
18
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txcatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.78
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Snitko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: goliath
|