Bitcoin Forum
May 28, 2024, 06:17:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Could someone take me through making a no fee transaction (again)  (Read 156 times)
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
December 09, 2018, 07:19:45 PM
 #1

Someone told me how to do it last time (and I still couldn't hack it so gave up), I'm at my hacking again (of my raw tx) and have made this:
Code:
45505446ff0001000000014a9cdd8596a12037160f33af5bac07a9ed8f36d3cf5c21885a7a092df010b6b000000000b40001ff01ff4cad524c53ff0488b21e000000000000000000792fe2dbcae1581f9f6d937ea9bc7bb093292855ddf02a0726cc7f86a6773a2d026e1698be21e8cc87420f8c5456be3878f63100dc691aed572b889229a82d7776000000004c53ff0488b21e00000000000000000064bcc727f8efab2e5d3ba1109fbf968afcd084683af819a90c3713e02890266f034df5c084ca8ace0db0b734e8f56a22ab67d83e4d0a156a80ba4fd6c2a756620b0000000052aefdffffff0173850100000000001600146ca8c500e1894e369350c9b0f4f436adf0078695d4700800

And now I'm stuck.
They said look for the hexadecimal conversion of the amount I want to send in satoshi which is 9969910 1857316

I saved that in a file called tx (the raw tx, original aren't I Grin)?

I then ran cat tx | grep "18573" and then cat tx | grep "37581" and couldn't find them.
I'm trying to test out multisig here so I'm hoping to send a no fee transaction for that and then go on to consolidate a few inputs (I can't push it though as I can't host a node so I'll have to be a bit more creative this time Grin).
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10594



View Profile
December 10, 2018, 04:53:42 AM
 #2

you have to find the "amount" field in your transaction by deserializing it first then replace that with new amount you want to pay then serialize the transaction again. it seems like you just appended "45505446ff00" at the beginning of the transaction for some reason!

this is your current amount: 738501000000000016 = 9969910
this is what you want to set it to: 10000010= A08601000000000016

you can get A086010000000000 from your previous output too! just deserialize b0b610f02d097a5a88215ccfd3368feda907ac5baf330f163720a19685dd9c4a and find a9144d5864b9c56086e0ebda1806c6c775a5ebdef0c987 in it and your get your amount field there.

.
.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!