big refactoring: command line options and electrum.conf options override settings in wallet file.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
from electrum import TcpStratumInterface
|
||||
from electrum import Interface
|
||||
|
||||
try:
|
||||
addr = sys.argv[1]
|
||||
@@ -9,7 +9,7 @@ except:
|
||||
print "usage: watch_address <bitcoin_address>"
|
||||
sys.exit(1)
|
||||
|
||||
i = TcpStratumInterface('electrum.novit.ro', 50001)
|
||||
i = Interface({'server':'electrum.novit.ro:50001:t'})
|
||||
i.init_socket()
|
||||
i.start()
|
||||
i.send([('blockchain.address.subscribe',[addr])])
|
||||
|
||||
Reference in New Issue
Block a user