URI: 
       tadd callback to example script - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit df85516bd054fa25b9ed77bb387a74c640ebb99b
   DIR parent 6df9eb491ab1432c4033ca36dd126fa249c5594d
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sun, 28 Oct 2012 08:14:00 +0100
       
       add callback to example script
       
       Diffstat:
         M scripts/blocks                      |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/scripts/blocks b/scripts/blocks
       t@@ -1,8 +1,9 @@
        #!/usr/bin/env python
        
       -import electrum
       +import sys, electrum
        
        i = electrum.Interface()
       +i.register_callback('connected', lambda: sys.stderr.write("Connected to %s\n" % i.connection_msg))
        i.start()
        i.send([('blockchain.numblocks.subscribe',[])])