Sha256: 7f10851750adc12999bd1c96c78d733a2c146a6fe95eab4530fa214340d4a7b6
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
Contents
module MoneyTree NETWORKS = begin hsh = Hash.new do |_, key| raise "#{key} is not a valid network!" end.merge( bitcoin: { address_version: '00', p2sh_version: '05', p2sh_char: '3', privkey_version: '80', privkey_compression_flag: '01', extended_privkey_version: "0488ade4", extended_pubkey_version: "0488b21e", compressed_wif_chars: %w(K L), uncompressed_wif_chars: %w(5), protocol_version: 70001 }, bitcoin_testnet: { address_version: '6f', p2sh_version: 'c4', p2sh_char: '2', privkey_version: 'ef', privkey_compression_flag: '01', extended_privkey_version: "04358394", extended_pubkey_version: "043587cf", compressed_wif_chars: %w(c), uncompressed_wif_chars: %w(9), protocol_version: 70001 } ) hsh[:testnet3] = hsh[:bitcoin_testnet] hsh end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
money-tree-0.11.0 | lib/money-tree/networks.rb |
money-tree-openssl-1.1 | lib/money-tree/networks.rb |
money-tree-0.10.0 | lib/money-tree/networks.rb |
money-tree-0.9.0 | lib/money-tree/networks.rb |