Bitcoin Forum
May 03, 2024, 11:20:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory transaction creation and signing  (Read 523 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.
1714778411
Hero Member
*
Offline Offline

Posts: 1714778411

View Profile Personal Message (Offline)

Ignore
1714778411
Reply with quote  #2

1714778411
Report to moderator
1714778411
Hero Member
*
Offline Offline

Posts: 1714778411

View Profile Personal Message (Offline)

Ignore
1714778411
Reply with quote  #2

1714778411
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

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!