Author

Topic: Txn madness - move and sigscript - (Read 103 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
July 09, 2022, 11:28:04 AM
#4
If you are getting stack errors, that means you have received inputs with a custom scriptPubKey, and you're attempting to create a transaction with a custom scriptSig (an action which is not supported by Core):

- What is the scriptPubKey?
- What are you using to create the transaction? (createrawtransaction will not work here).
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 08, 2022, 08:35:26 AM
#3
besides some other misc question .. is it best to use bitcoind as opposed to the client .. i feel so newbie lol or it could be the headache .... 

It might depend on what you feel more comfortable with as the gui client command line offers suggestions as you type (or used to) which might be helpful for you to learn new commands.



There's no distinction in bitcoin between sending something to your own wallet address and sending something externally. Every address and private key are generated in a unique manner so they are harder to identify.
copper member
Activity: 906
Merit: 2258
July 08, 2022, 07:28:09 AM
#2
Quote
Do i just sign it with B? it being internal?
You have two transactions: A->B (that is signed by A), and B->C (signed by B). It is that simple.

Quote
I have a txn which comes back with a stack error
If there is a stack error, then the transaction is invalid, and should be treated as invalid, so not relayed, not mined, and no block should be accepted if it contains any such transaction.
member
Activity: 107
Merit: 10
if you want to lie *cough*use your data; not mine.
July 08, 2022, 07:16:46 AM
#1
Okay well .... if someone has any time, i would appreciate some help with the following..


- if you have a move on a wallet, and it has recorded this so 1btc from A to B .. how are you able to take B and send it to C externally...   Do i just sign it with B? it being internal?

- I have a txn which comes back with a stack error, its not the privkey missing  but the sigscript inst there when i decode it ..  So how can i add this into the createraw process? so it builds in the sigraw result?   yes there is a output with asm and sigscript

Just to add onto this i thought a move to another address would resolve it, .. (no its not in the same dat hehe) and relates to the question above. 


so 4 days of driving myself nuts  if anyone wants to be nice and has some time for telegram, id appreciate the hand holding, and will send you a holiday card.

i really dont like txns.. its either been that or the flag type .. the signrawwithwallet was a nice add ...... anyways .. yes the wallets are unlocked and bal keypoolsize unlocked until paytxfee privkeys true etc are all good.


besides some other misc question .. is it best to use bitcoind as opposed to the client .. i feel so newbie lol or it could be the headache ....  @mikejnpc...



Jump to: