bitcoin2graphdb 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7603f931b3929cfac792299a50ac45acae9aa77f
|
4
|
+
data.tar.gz: 38b6f89fe587f1e34a27380a0608034edac3f5be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fecca69fb2f7d9d25b0f993d103658d0bf653d7bebce1a36575af2837937625b5126fd9d449494270450dc919d489263b1ba7c179470fddaac9cf89e98db3b1e
|
7
|
+
data.tar.gz: 9fe787d8b04d8e5015c6e1e9379089e3405a57eca40f9d4788354507eff0b44d2db288a0f237af0a75d8b9bb63030dbfaa9fab554aac6ef7ba56f1f3eb3db3a2
|
@@ -16,7 +16,11 @@ module Graphdb
|
|
16
16
|
def create_from_txid(txid)
|
17
17
|
tx = super(txid)
|
18
18
|
outputs = Bitcoin2Graphdb::Bitcoin.provider.oa_outputs(txid)
|
19
|
-
|
19
|
+
graph_outputs = tx.outputs.to_a
|
20
|
+
outputs.each{|o|
|
21
|
+
output = graph_outputs.find{|graph_out|graph_out.n == o['vout']}
|
22
|
+
output.apply_oa_attributes(o)
|
23
|
+
}
|
20
24
|
tx.save!
|
21
25
|
tx
|
22
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitcoin2graphdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: openassets-ruby
|