lib/bitcoin/protocol/tx.rb in bitcoin-ruby-0.0.4 vs lib/bitcoin/protocol/tx.rb in bitcoin-ruby-0.0.5

- old
+ new

@@ -217,9 +217,13 @@ def validator(store, block = nil) @validator ||= Bitcoin::Validation::Tx.new(self, store, block) end + def size + payload.bytesize + end + DEFAULT_BLOCK_PRIORITY_SIZE = 27000 def minimum_relay_fee; calculate_minimum_fee(allow_free=true, :relay); end def minimum_block_fee; calculate_minimum_fee(allow_free=true, :block); end