Bitcoin Forum
May 22, 2024, 09:05:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Txn madness - move and sigscript -  (Read 84 times)
MikeJ_NpC (OP)
Member
**
Offline Offline

Activity: 107
Merit: 10

if you want to lie *cough*use your data; not mine.


View Profile
July 08, 2022, 12:16:46 PM
 #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...




If Karma is a bitch, then god is a woman. I ask to know, not to be screwed or hear trite excuses (after the fact) which a 3rd grader could do better on. If you give your word, keep it atleast..
vjudeu
Hero Member
*****
Offline Offline

Activity: 693
Merit: 1600



View Profile
July 08, 2022, 12:28:09 PM
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
July 08, 2022, 01:35:26 PM
 #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.
NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
July 09, 2022, 04:28:04 PM
 #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).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!