spec/bitcoin/namecoin_spec.rb in bitcoin-ruby-0.0.5 vs spec/bitcoin/namecoin_spec.rb in bitcoin-ruby-0.0.6

- old
+ new

@@ -87,10 +87,10 @@ describe "Namecoin (#{configuration[:name]} store)" do before do Bitcoin.network = :namecoin - class Bitcoin::Validation::Block; def difficulty; true; end; end + Bitcoin.network[:no_difficulty] = true class Bitcoin::Validation::Block; def min_timestamp; true; end; end Bitcoin.network[:proof_of_work_limit] = Bitcoin.encode_compact_bits("ff"*32) [:name_new, :name_firstupdate, :name_update].each {|type| Bitcoin::Storage::Backends::SequelStore::SCRIPT_TYPES << type } @store = Bitcoin::Storage.send(configuration[:name], configuration)