openassets-ruby 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/openassets/api.rb +1 -1
- data/lib/openassets/version.rb +1 -1
- 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: d950356fa5997f18ac1dddd5d46893e2ddb190d4
|
4
|
+
data.tar.gz: ea9446f8d3e5c8c87fd734d85d22975a1ff160e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022199ce2008f3cc6b1a8b41ba3c2cbb3edfd0b4534ffdb3f540ad9b1d38e32b5bd2d51e1fe8fb4ebd46223b2e908d3b4827243515caf2b7f4b601c9c81fb98e
|
7
|
+
data.tar.gz: 59023c2a558f29193df1ef762bd15924e0d3d68504402b5cf339823d1d500ea4344806233770d493cec4e589fc7fc247d4852679888c39d27aa72e0635b1d1cc
|
data/README.md
CHANGED
@@ -38,7 +38,7 @@ The configuration options are as follows:
|
|
38
38
|
|---|---|---|
|
39
39
|
|**network**|The using network. "mainnet" or "testnet" or "regtest" |mainnet|
|
40
40
|
|**provider**|The RPC server. Specify possible now only "bitcoind".|bitcoind|
|
41
|
-
|**cache**|The path to the database file. If you want to use in-memory database, specify ':memory:'. If do not use cache, specify
|
41
|
+
|**cache**|The path to the database file. If you want to use in-memory database, specify ':memory:'. If do not use cache, specify 'none' .|cache.db|
|
42
42
|
|**dust_limit**|The amount of Bitcoin, which is set to the each output of the Open Assets Protocol(issue or transfer).|600 (satoshi)|
|
43
43
|
|**default_fees**|The default transaction fee in satoshi. If you want to use auto fee settings, specify ':auto'. (used by issue_asset and send_asset, send_bitcoin )|10000 (satoshi)|
|
44
44
|
|**min_confirmation**|The minimum number of confirmations the transaction containing an output that used to get UTXO.|1|
|
data/lib/openassets/api.rb
CHANGED
@@ -28,7 +28,7 @@ module OpenAssets
|
|
28
28
|
else
|
29
29
|
raise OpenAssets::Error, 'specified unsupported provider.'
|
30
30
|
end
|
31
|
-
unless @config[:cache] ==
|
31
|
+
unless @config[:cache] == 'none'
|
32
32
|
@tx_cache = Cache::TransactionCache.new(@config[:cache])
|
33
33
|
@output_cache = Cache::OutputCache.new(@config[:cache])
|
34
34
|
end
|
data/lib/openassets/version.rb
CHANGED