examples/verify_tx.rb in bitcoin-ruby-0.0.1 vs examples/verify_tx.rb in bitcoin-ruby-0.0.2
- old
+ new
@@ -5,10 +5,10 @@
# examples/verify_tx.rb <tx_hash>
# examples/verify_tx.rb f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16
#
# see Bitcoin::Protocol::Tx and Bitcoin::Script.
# Note: For this to work, you need to have the transactions in your storage. see NODE.
-
+# Note: There is also Bitcoin::Validation::Tx which validates a lot more than signatures.
$:.unshift( File.expand_path("../../lib", __FILE__) )
require 'bitcoin'
Bitcoin.network = :bitcoin