bitcoin-ruby 0.0.13 → 0.0.14

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: 0d147f8bf63febaaeb3a38004c78f7b143284de5
4
- data.tar.gz: f3fc9dcebed29a46a5ad850e19eb21468c9c6915
3
+ metadata.gz: 9bacd4496251a558a0f1eac2b07a9760db13dde1
4
+ data.tar.gz: dd2be23dff65df8f413edc45e10b5c8c1dc12743
5
5
  SHA512:
6
- metadata.gz: '0896c7cac52a99f68a6b6aee884d87a10516a8d419182b00f44b7e95fc2b1a9676e600d5c8bd1c373af19e17c1c72ba110c9449d4b8a8ef5bcce7918fb2cb12b'
7
- data.tar.gz: d33dca0010b3dab6181602b8b27f4099b0814659882a64e3e298b22a9b1a71c3ac82402df5119e33dcee63224f421b1a06104ed179544c39b50ba1e43574f8c5
6
+ metadata.gz: 429192b346b5c1e9b022787b4b0b9b3201791cba0981aece83092cbbb8297c19a40f0bb7d686c6011cab84d0219e914e5f76e8c8af5fb7512f8b4f3ddbf1b9ed
7
+ data.tar.gz: b66dc9ce517c43952554e7eed44dd38d2b96931db305cce6c08e4a742ff5669136e0fd557287e8cce519ed410c60376ea5862b1e9a4592c55778b52324dca2b7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitcoin-ruby (0.0.13)
4
+ bitcoin-ruby (0.0.14)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -16,6 +16,7 @@ module Bitcoin
16
16
  autoload :Logger, 'bitcoin/logger'
17
17
  autoload :Key, 'bitcoin/key'
18
18
  autoload :ExtKey, 'bitcoin/ext_key'
19
+ autoload :ExtPubkey, 'bitcoin/ext_key'
19
20
  autoload :Builder, 'bitcoin/builder'
20
21
  autoload :BloomFilter,'bitcoin/bloom_filter'
21
22
 
@@ -657,7 +658,7 @@ module Bitcoin
657
658
  magic_head: "\xfb\xc0\xb6\xdb",
658
659
  message_magic: "Litecoin Signed Message:\n",
659
660
  address_version: "30",
660
- p2sh_version: "05",
661
+ p2sh_version: "32",
661
662
  privkey_version: "b0",
662
663
  extended_privkey_version: "019d9cfe",
663
664
  extended_pubkey_version: "019da462",
@@ -668,15 +669,15 @@ module Bitcoin
668
669
  min_relay_tx_fee: 100_000, # 0.001 LTC
669
670
  free_tx_bytes: 5_000,
670
671
  dust: CENT / 10,
671
- per_dust_fee: true,
672
+ per_dust_fee: false,
672
673
  reward_halving: 840_000,
673
674
  retarget_time: 302400, # 3.5 days
674
675
  dns_seeds: [
675
676
  "dnsseed.litecointools.com",
676
677
  "dnsseed.litecoinpool.org",
677
- "dnsseed.ltc.xurious.com",
678
+ "seed-a.litecoin.loshan.co.uk",
679
+ "dnsseed.thrasher.io",
678
680
  "dnsseed.koin-project.com",
679
- "dnsseed.weminemnc.com",
680
681
  ],
681
682
  genesis_hash: "12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2",
682
683
  proof_of_work_limit: 0x1e0fffff,
@@ -705,23 +706,23 @@ module Bitcoin
705
706
  })
706
707
 
707
708
  NETWORKS[:litecoin_testnet] = NETWORKS[:litecoin].merge({
708
- magic_head: "\xfc\xc1\xb7\xdc",
709
+ magic_head: "\xfd\xd2\xc8\xf1",
709
710
  address_version: "6f",
710
- p2sh_version: "c4",
711
+ p2sh_version: "3a",
711
712
  privkey_version: "ef",
712
713
  extended_privkey_version: "0436ef7d",
713
714
  extended_pubkey_version: "0436f6e1",
714
- default_port: 19333,
715
+ default_port: 19335,
715
716
  dns_seeds: [
716
- "testnet-seed.litecointools.com",
717
717
  "testnet-seed.ltc.xurious.com",
718
- "testnet-seed.weminemnc.com",
718
+ "seed-b.litecoin.loshan.co.uk",
719
+ "dnsseed-testnet.thrasher.io",
719
720
  ],
720
- genesis_hash: "f5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f",
721
+ genesis_hash: "4966625a4b2851d9fdee139e56211a0d88575f59ed816ff5e6a63deb4e3e29a0",
721
722
  alert_pubkeys: ["04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a"],
722
723
  known_nodes: [],
723
724
  checkpoints: {
724
- 546 => "a0fea99a6897f531600c8ae53367b126824fd6a847b2b2b73817a95b8e27e602",
725
+ 546 => "bf434a4c665307f52a041ee40faa7bf56284c5f3b5d11bf6182aba537961f86c",
725
726
  }
726
727
  })
727
728
 
@@ -751,7 +752,7 @@ module Bitcoin
751
752
  retarget_time_new: 60, # 1 minute
752
753
  target_spacing: 60, # block interval
753
754
  dns_seeds: [
754
- "seed.dogechain.info",
755
+ "seed.dogechain.info",
755
756
  "seed.dogecoin.com",
756
757
  ],
757
758
  genesis_hash: "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691",
@@ -809,7 +810,7 @@ module Bitcoin
809
810
  retarget_time_new: 60, # 1 minute
810
811
  target_spacing: 60, # block interval
811
812
  max_money: 100_000_000_000 * COIN,
812
- dns_seeds: [
813
+ dns_seeds: [
813
814
  "testdoge-seed.lionservers.de",
814
815
  ],
815
816
  genesis_hash: "bb0a78264637406b6360aad926284d544d7049f45189db5664f3c4d07350559e",
@@ -817,7 +818,7 @@ module Bitcoin
817
818
  alert_pubkeys: [],
818
819
  known_nodes: [
819
820
  "localhost",
820
- "testnets.chain.so",
821
+ "testnets.chain.so",
821
822
  ],
822
823
  checkpoints: {
823
824
  546 => "ac537cfeda975e45040e9938d08e40a16e0fbd6388d02d9b4928b8ae0108c626",
@@ -1,3 +1,3 @@
1
1
  module Bitcoin
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
@@ -677,7 +677,7 @@ describe 'Tx' do
677
677
  tx.minimum_block_fee.should == 30_000
678
678
  Bitcoin.network = :litecoin # change to litecoin
679
679
  tx.minimum_relay_fee.should == 0
680
- tx.minimum_block_fee.should == 5_900_000
680
+ tx.minimum_block_fee.should == 100_000
681
681
  end
682
682
 
683
683
  it "should compare transactions" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoin-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - lian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-21 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a ruby library for interacting with the bitcoin protocol/network
14
14
  email: