Bitcoin Forum
June 25, 2024, 03:15:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Armory / Re: Create transaction on: March 30, 2016, 01:29:48 PM
Hi
Can I email the fixes to you so you can do update the script...?
2  Bitcoin / Armory / Re: Create transaction on: March 18, 2016, 10:13:44 AM
hi GoatPig

Okay will do, gosh I probably need a tutorial on how to use github  Cheesy, but I will find my way.

I am currently broadcasting/ sending the transaction on Armory offline transactions, can I do it using python code instead?
3  Bitcoin / Armory / Re: Create transaction on: March 17, 2016, 11:48:14 AM
fixed. finally  Wink
4  Bitcoin / Armory / Re: Create transaction on: March 14, 2016, 01:13:19 PM
Hi there

I have tried the code to initiate the db, almost below every line in the creaTxFromAddList. where exactly do i initialize in the code?

5  Bitcoin / Armory / Re: Create transaction on: March 08, 2016, 09:04:48 AM
Alright thanks a lot.
6  Bitcoin / Armory / Re: Create transaction on: March 08, 2016, 08:28:10 AM
Hi Goatpig

One last question, the last time we talked you said I need to initialize the DB first.
I am using TheBDM.GoOnline() to do this. Is this the right way?
It does not seem to be producing results.

I know I have used up a lot of your time, thank you for always responding.
7  Bitcoin / Armory / Re: Create transaction on: March 07, 2016, 07:29:47 PM
Thank you so much. :-)
8  Bitcoin / Armory / Re: Create transaction on: March 07, 2016, 02:25:16 PM
hi GoatPig

It seems the problem is in this line,

unspentTxOuts = walletObj.getAddrTxOutList(addr160, 'Spendable')
      utxoList.extend(unspentTxOuts[:])

The error I am getting is a Segmentation fault (core dumped)

This is line 64 in createTxFromAddrList.py, the function getAddrTxOutList which is in PyBtcWallet.py line 469  is probably the one raising a flag,I am not sure.

9  Bitcoin / Armory / Re: Create transaction on: February 26, 2016, 08:07:09 AM
I see, so this means If i pull your dev branch, if I build and compile, it is going to be like I am reinstalling armory,?
Just want to make sure I understand...

And thank you so much for taking your time to respond.
10  Bitcoin / Armory / Re: Create transaction on: February 25, 2016, 08:38:00 AM
Goatpig, the dev branch you relating to is the one in Github forked from etotheipi right?
If that is it, it still has not changed. Still the same script I have, and was edited 9 months ago. If I build and run it will it not give me the same errors and issues. If you run it? does it produce the required result? Which is an unsigned transaction.
11  Bitcoin / Armory / Re: Create transaction on: February 24, 2016, 09:13:46 AM
That would be awesome_okay, but how do I do it, please share the steps?
:-)
12  Bitcoin / Armory / Create transaction on: February 23, 2016, 08:45:48 AM
Hi all
I am running the Create transaction script, I want to create a transaction using this script instead of clicking the buttons on Armory Bitcoin wallet GUI, it seemed it had a lot of code that doesn't work but I have fixed most of it.
This is errors remain:
\______________________________________________________
(ERROR) Traceback (most recent call last):
  File "Unsigned.py", line 153, in <module>
    txdp = createTxFromAddrList(wlt, addrList, recipList, 100000, sendChangeTo)
  File "Unsigned.py", line 79, in createTxFromAddrList
    pprintUnspentTxOutList(utxoList, 'Available outputs: ')
  File "//BitcoinArmory/armoryengine/CoinSelection.py", line 164, in pprintUnspentTxOutList
    print '   ',str(utxo.getNumConfirm()).rjust(Cool,
  File "//BitcoinArmory/CppBlockUtils.py", line 931, in getNumConfirm
    def getNumConfirm(self, *args): return _CppBlockUtils.UnspentTxOut_getNumConfirm(self, *args)
TypeError: UnspentTxOut_getNumConfirm() takes exactly 2 arguments (1 given)
\_______________________________________________________________________________________________________________________

1. I can not find CppBlockUtils.py file

If I run this script again I get:
2. Segmentation fault (core dumped)

and it also presents this error:

(ERROR) Traceback (most recent call last):
  File "Unsigned.py", line 153, in <module>
    txdp = createTxFromAddrList(wlt, addrList, recipList, 100000, sendChangeTo)
  File "Unsigned.py", line 66, in createTxFromAddrList
    unspentTxOuts = walletObj.getAddrTxOutList(addr160, 'Spendable')
  File "/home/buildmds/Documents/BitcoinArmory/armoryengine/PyBtcWallet.py", line 52, in inner
    return func(*args, **kwargs)
  File "//BitcoinArmory/armoryengine/PyBtcWallet.py", line 481, in getAddrTxOutList
    return cppAddr.getSpendableTxOutList(IGNOREZC);
  File "//BitcoinArmory/CppBlockUtils.py", line 1971, in getSpendableTxOutList
    def getSpendableTxOutList(self, ignoreZC=True): return _CppBlockUtils.ScrAddrObj_getSpendableTxOutList(self, ignoreZC)
3. RuntimeError: Cannot start transaction without db env

Has anybody encountered this error, or has the updated and working version of Createtransaction.py

Thank you for your help

13  Bitcoin / Armory / Re: transaction create and signing on: December 03, 2015, 05:22:52 PM
Hi goatpig

Thanks a lot, you actually helped me to figure out the problem.
14  Bitcoin / Armory / Re: transaction create and signing on: November 18, 2015, 11:57:36 AM
Hi goatPig

Thanks

1.You have to initialize the DB before you query it, I am running the Armory GUI too, which means the DB is initialized already, at least that is what i think.
or is there another way to do it?

2. That's what will happen if you pass a null DB pointer

3. The UnspentTxOut.getNumConfirm is in the Coinselection.py and if i add,(blockNum), it is undefined. Its a variable from nowhere
15  Bitcoin / Armory / Re: building Armory new version on: November 18, 2015, 11:33:56 AM
Thank you
16  Bitcoin / Armory / transaction create and signing on: November 18, 2015, 09:29:37 AM
Hi everyone

I am trying to run the code to create a transaction on Armory using a python script  found in
https://github.com/etotheipi/BitcoinArmory/blob/master/extras/createTxFromAddrList.py, instead of the GUI.

I am getting the following errors,

1.RuntimeError: Cannot start transaction without db env

2.Segmentation fault (core dumped)

3.TypeError: UnspentTxOut_getNumConfirm() takes exactly 2 arguments (1 given)


Has anybody encountered the same problem?

Please aid and thank you very much.

17  Bitcoin / Armory / building Armory new version on: November 11, 2015, 03:01:56 PM
hi everyone

I have the v0.93.2 of Armory, and my transactions are not successful at all, they don't even show on the block chain.
I have about 0.0061 BTC in my wallet (Don't laugh these coins are expensive :-) in SA)

What is the minimum amount that I can send?perhaps I am sending less because my transactions keep failing.
And should I upgrade to v0.93.3? if yes, how do I build from source can someone please take me through the newbie instructions (pretty please).

Thank you so much:-)

18  Bitcoin / Armory / Armory transaction creation and signing on: October 22, 2015, 12:47:33 PM
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.
19  Bitcoin / Project Development / Accessing Bitcoin core software through a mobile phone with no internet connecti on: June 12, 2015, 01:57:25 PM
I am new to to Bitcoin and was allocated a project to develop a (middle-man)service, e.g. a server, that can allow a person (using a mobile phone with no Internet connection) to use Bitcoin. Since Bitcoin Core is the software that enables a person to use the currency, does this mean my developed software should find a way to communicate with the Bitcoin core software installed on my desktop computer? Or are there any other applications that should be installed?

Thanks in advance for your assistance.
20  Bitcoin / Bitcoin Discussion / Re: What would you do if you wanted to stop Bitcoin? on: February 20, 2015, 01:49:00 PM
Somehow I do not think, it can be stopped in a sense, reason being it is decentralized. The worst thing you could do, is fiddle with its value, but the mere fact that there is no single point to disrupt it , means that even if it was stopped, it would not stop(get my drift). Perhaps if it was centralized it would be possible to stop it. But hey that is my opinion.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!