bitcoinrb 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,7 +78,7 @@ module Bitcoin
78
78
  # return previous output hash (not txid)
79
79
  def prev_hash
80
80
  return nil unless out_point
81
- out_point.hash
81
+ out_point.tx_hash
82
82
  end
83
83
 
84
84
  end
@@ -61,7 +61,7 @@ module Bitcoin
61
61
  end
62
62
 
63
63
  def pack_boolean(b)
64
- b ? [0xFF].pack('C') : [0x00].pack('C')
64
+ b ? [0x01].pack('C') : [0x00].pack('C')
65
65
  end
66
66
 
67
67
  def unpack_boolean(payload)
@@ -1,3 +1,3 @@
1
1
  module Bitcoin
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoinrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - azuchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-02 00:00:00.000000000 Z
11
+ date: 2019-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ecdsa
@@ -327,6 +327,7 @@ files:
327
327
  - lib/bitcoin/chainparams/regtest.yml
328
328
  - lib/bitcoin/chainparams/testnet.yml
329
329
  - lib/bitcoin/constants.rb
330
+ - lib/bitcoin/descriptor.rb
330
331
  - lib/bitcoin/ext_key.rb
331
332
  - lib/bitcoin/gcs_filter.rb
332
333
  - lib/bitcoin/key.rb
@@ -416,6 +417,10 @@ files:
416
417
  - lib/bitcoin/secp256k1.rb
417
418
  - lib/bitcoin/secp256k1/native.rb
418
419
  - lib/bitcoin/secp256k1/ruby.rb
420
+ - lib/bitcoin/slip39.rb
421
+ - lib/bitcoin/slip39/share.rb
422
+ - lib/bitcoin/slip39/sss.rb
423
+ - lib/bitcoin/slip39/wordlist/english.txt
419
424
  - lib/bitcoin/store.rb
420
425
  - lib/bitcoin/store/chain_entry.rb
421
426
  - lib/bitcoin/store/db.rb