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
1. These are different processes altogether. The DB exists as a shared library within each process address space. You have to init the DB properly in Python process you are running your script from. Probably something is going wrong at this line:
https://github.com/etotheipi/BitcoinArmory/blob/master/armoryengine/BDM.py#L228https://github.com/etotheipi/BitcoinArmory/blob/master/extras/createTxFromAddrList.py#L382. Not sure what you mean by repeating the sentence
3. I meant blockNum as in any block height as integer. You can't figure out the number of confirmations a transaction has without specifying from which block height. By default, you should use TheBDM.getTopBlockHeight():
https://github.com/etotheipi/BitcoinArmory/blob/master/armoryengine/BDM.py#L228