Bitcoin Forum
May 09, 2024, 03:35:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Deserialize Raw TX?  (Read 938 times)
hathmill (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100



View Profile
March 21, 2013, 06:34:59 PM
Last edit: March 21, 2013, 10:13:07 PM by hathmill
 #1

I created a TX using http://brainwallet.org/ and instead of a fee if 0.001 BTC it took 1.8... Probably it was me who did something wrong, but from now on I will want to decode the raw TX before sending it.

Anyone here who knows of a script that can decode/deserialize a raw tx that have not yet been broadcasted - so that I can verify that the fee and so forth is what I want to send?

EDIT: I checked the blockchain.info and found that BTC Guild had relayed that block. I contacted them and Eleuthria was very helpful and sent as much of the fees as recoverable back to me.  Grin
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715268914
Hero Member
*
Offline Offline

Posts: 1715268914

View Profile Personal Message (Offline)

Ignore
1715268914
Reply with quote  #2

1715268914
Report to moderator
1715268914
Hero Member
*
Offline Offline

Posts: 1715268914

View Profile Personal Message (Offline)

Ignore
1715268914
Reply with quote  #2

1715268914
Report to moderator
1715268914
Hero Member
*
Offline Offline

Posts: 1715268914

View Profile Personal Message (Offline)

Ignore
1715268914
Reply with quote  #2

1715268914
Report to moderator
Joric
Member
**
Offline Offline

Activity: 67
Merit: 130


View Profile
March 21, 2013, 06:53:11 PM
 #2

It decodes transactions as well, just paste raw transaction to the Raw Transaction field.

1JoricCBkW8C5m7QUZMwoRz9rBCM6ZSy96
hathmill (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100



View Profile
March 21, 2013, 07:19:18 PM
 #3

It decodes transactions as well, just paste raw transaction to the Raw Transaction field.

Ah, ok so when I input my own raw transaction data the JSON textarea is updated. Then I copy the out scriptPubKey hex and use the brainwallet converter to verify that the proper address has been encoded.

So I get some coins going back to my source address and some coins goes to destination address. Then there are some coins "missing" from the out array, is this the fee?
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
March 21, 2013, 08:15:14 PM
 #4

Yes

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
hathmill (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100



View Profile
March 21, 2013, 08:33:22 PM
 #5

Thank you all for your help!  Grin
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
March 21, 2013, 11:15:01 PM
 #6

BTC Guild sent back the amount of the fee that hadn't been paid to miners already.  I wish we could've returned more like the user that paid over 100 BTC in fees, but we've seen a huge shift to PPLNS as ASIC users come into the pool, which pays the transaction fees out to miners.  45~55% of the pool currently gets paid transaction fees, and it happens immediately after the block is solved.

Be very careful when dealing with raw transcations, or a transaction builder (I've never had experience with Brainwallet).  As more pools switch to paying fees to miners, the likelihood of being able to recover erroneous fees shrinks, assuming it even goes to a known pool/miner that is willing to return it.

RIP BTC Guild, April 2011 - June 2015
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!