Bitcoin Forum
November 16, 2024, 10:13:29 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory transaction creation and signing  (Read 547 times)
Nelzat (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
October 22, 2015, 12:47:33 PM
 #1

Hi all

When I use this:
TheBDM.Reset(wait=True)
TheBDM.setBlocking(True)
TheBDM.setOnlineMode(True)
on my script it returns an error:

ERROR) Traceback (most recent call last):
  File "createTxFromAddrList2.py", line 163, in <module>
    txdp = createTxFromAddrList(wlt, addrList, recipList, 310000, sendChangeTo)
  File "createTxFromAddrList2.py", line 44, in createTxFromAddrList
    TheBDM.setOnlineMode(True)
AttributeError: 'BlockDataManager' object has no attribute 'setOnlineMode'

on the Armory website Alan says we should, (replace any BDM_LoadBlockchain() calls with TheBDM.setOnlineMode(True)):

But on this script: createTxFromAddrList.py. I couldn't find a single BDM_LoadBlockchain()

Please help...It will be much appreciated.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
October 22, 2015, 03:23:36 PM
 #2

Hi all

When I use this:
TheBDM.Reset(wait=True)
TheBDM.setBlocking(True)
TheBDM.setOnlineMode(True)
on my script it returns an error:

That's 0.92 and older code. The code changed, not the website (sorry about that!)

You should use what you see in the examples.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!