lib/bitcoin.rb in bitcoin-ruby-0.0.13 vs lib/bitcoin.rb in bitcoin-ruby-0.0.14

- old
+ new

@@ -14,10 +14,11 @@ autoload :Script, 'bitcoin/script' autoload :VERSION, 'bitcoin/version' autoload :Logger, 'bitcoin/logger' autoload :Key, 'bitcoin/key' autoload :ExtKey, 'bitcoin/ext_key' + autoload :ExtPubkey, 'bitcoin/ext_key' autoload :Builder, 'bitcoin/builder' autoload :BloomFilter,'bitcoin/bloom_filter' autoload :Dogecoin, 'bitcoin/dogecoin' autoload :Litecoin, 'bitcoin/litecoin' @@ -655,30 +656,30 @@ NETWORKS[:litecoin] = NETWORKS[:bitcoin].merge({ project: :litecoin, magic_head: "\xfb\xc0\xb6\xdb", message_magic: "Litecoin Signed Message:\n", address_version: "30", - p2sh_version: "05", + p2sh_version: "32", privkey_version: "b0", extended_privkey_version: "019d9cfe", extended_pubkey_version: "019da462", default_port: 9333, protocol_version: 70002, max_money: 84_000_000 * COIN, min_tx_fee: 100_000, # 0.001 LTC min_relay_tx_fee: 100_000, # 0.001 LTC free_tx_bytes: 5_000, dust: CENT / 10, - per_dust_fee: true, + per_dust_fee: false, reward_halving: 840_000, retarget_time: 302400, # 3.5 days dns_seeds: [ "dnsseed.litecointools.com", "dnsseed.litecoinpool.org", - "dnsseed.ltc.xurious.com", + "seed-a.litecoin.loshan.co.uk", + "dnsseed.thrasher.io", "dnsseed.koin-project.com", - "dnsseed.weminemnc.com", ], genesis_hash: "12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2", proof_of_work_limit: 0x1e0fffff, alert_pubkeys: ["040184710fa689ad5023690c80f3a49c8f13f8d45b8c857fbcbc8bc4a8e4d3eb4b10f4d4604fa08dce601aaf0f470216fe1b51850b4acf21b179c45070ac7b03a9"], known_nodes: [], @@ -703,27 +704,27 @@ }, auxpow_chain_id: 1, }) NETWORKS[:litecoin_testnet] = NETWORKS[:litecoin].merge({ - magic_head: "\xfc\xc1\xb7\xdc", + magic_head: "\xfd\xd2\xc8\xf1", address_version: "6f", - p2sh_version: "c4", + p2sh_version: "3a", privkey_version: "ef", extended_privkey_version: "0436ef7d", extended_pubkey_version: "0436f6e1", - default_port: 19333, + default_port: 19335, dns_seeds: [ - "testnet-seed.litecointools.com", "testnet-seed.ltc.xurious.com", - "testnet-seed.weminemnc.com", + "seed-b.litecoin.loshan.co.uk", + "dnsseed-testnet.thrasher.io", ], - genesis_hash: "f5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f", + genesis_hash: "4966625a4b2851d9fdee139e56211a0d88575f59ed816ff5e6a63deb4e3e29a0", alert_pubkeys: ["04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a"], known_nodes: [], checkpoints: { - 546 => "a0fea99a6897f531600c8ae53367b126824fd6a847b2b2b73817a95b8e27e602", + 546 => "bf434a4c665307f52a041ee40faa7bf56284c5f3b5d11bf6182aba537961f86c", } }) NETWORKS[:dogecoin] = NETWORKS[:litecoin].merge({ project: :dogecoin, @@ -749,11 +750,11 @@ retarget_interval: 240, retarget_time: 14400, # 4 hours retarget_time_new: 60, # 1 minute target_spacing: 60, # block interval dns_seeds: [ - "seed.dogechain.info", + "seed.dogechain.info", "seed.dogecoin.com", ], genesis_hash: "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691", proof_of_work_limit: 0x1e0fffff, alert_pubkeys: [], @@ -807,18 +808,18 @@ retarget_interval: 240, retarget_time: 14400, # 4 hours retarget_time_new: 60, # 1 minute target_spacing: 60, # block interval max_money: 100_000_000_000 * COIN, - dns_seeds: [ + dns_seeds: [ "testdoge-seed.lionservers.de", ], genesis_hash: "bb0a78264637406b6360aad926284d544d7049f45189db5664f3c4d07350559e", proof_of_work_limit: 0x1e0fffff, alert_pubkeys: [], known_nodes: [ "localhost", - "testnets.chain.so", + "testnets.chain.so", ], checkpoints: { 546 => "ac537cfeda975e45040e9938d08e40a16e0fbd6388d02d9b4928b8ae0108c626", }, auxpow_chain_id: 0x0062,