URI: 
       tcheck that tx_hash is in the merkle tree :) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 61ebc2d50a642a275946aaa1225b8686a5916532
   DIR parent 633a65878f024dc686542d1a18171fc58d86a3be
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Thu, 18 Oct 2012 17:16:31 +0200
       
       check that tx_hash is in the merkle tree :)
       
       Diffstat:
         M scripts/validate_tx                 |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/scripts/validate_tx b/scripts/validate_tx
       t@@ -71,6 +71,7 @@ def hash_header(res):
        
        def verify_tx(tx_hash):
            res = get_merkle(i, tx_hash)
       +    assert tx_hash in res.get('merkle')
            assert res.get('merkle_root') == merkle_root(res['merkle'])
            block_height = res.get('block_height')
            _hash = None