Bitcoin Forum
July 10, 2024, 09:17:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Different size and same transaction on: October 11, 2017, 06:03:17 AM
Guys! I need undernstand, why size of transaction is different : in testnet

-- bitcoin core 0.15
-- rpc command
-- createrawtransaction -> signrawtransaction -> sendrawtransaction

$ bitcoin-cli decoderawtransaction 'hex' ( size:248 )

https://live.blockcypher.com/btc-testnet/decodetx/ ( size:138 )

https://blockchain.info/pt/decode-tx  ( size:248 )

https://www.blocktrail.com/tBTC/tx/a7df5b5338d0c44c53f367171ba9815009cf2abd793ec999c44aa58eafbb860f  ( size:138 )


- TXID:
a7df5b5338d0c44c53f367171ba9815009cf2abd793ec999c44aa58eafbb860f  

- HEX:
020000000001013ffb4121befab2b62034f150d0710f409e4812bb6bcbfe8bb0a3a842538b320b0 0000000171600145d9ebf621d1fbf2269659d8c8f7d49489ba38ba0ffffffff02400d0300000000 0017a914b626e95b538459fd04b130fbe16a076530220bfc87911623000000000017a9140e5d505 7c501a825422667103f242bfd7829583087024830450221008d46a7bc12e39c0a9c12201b51752f 6d36c4328742c5215fdc935850f7c1fb060220208517a6e1cb12d55dd3768b52c3ce5706682c1cc 20a4e1a5dd1d476c610a07d012103a5353204480d3ff956ab142b3a735d515c1016ca4a0ff21a82 3468e46e10b26400000000
2  Bitcoin / Bitcoin Technical Support / Re: Fee on simple transacation on: October 08, 2017, 11:37:28 PM
For the record... A "kilobyte" in Bitcoin is 1000 bytes, not 1024.

Also, "compressed" addresses, would only be around 148 bytes per input, so using 180 may result in overestimating the size in some cases.

Thanks man!! thanks a lot!. anywhere I can't find description so simple
3  Bitcoin / Bitcoin Technical Support / Re: Fee on simple transacation on: October 07, 2017, 07:26:24 PM
Yah, has estimate, but I am not want this. I need be more exact. Then

I have estimate 0.00037674 per kilobytes and yet I don't know what size of transaction to do (estimate-per-kilobytes/1024)*size-of-transacion. ( correct me if I'm wrong)

Size of transaction is depende the input and ouputs. If I have this informaction can I get the exact fee? Making this formula

Yes, you can be quite exact if you know the amount of inputs and outputs. It is quite easy to find transactions on a block explorer with the same numver of inputs and outputs and you will be able to see their size.

Thanks man!. Then stayed this way:

fee = (estimate-per-kilobytes/1000) * ((input * 180 + output * 34) + 10) edited
4  Bitcoin / Bitcoin Technical Support / Re: Fee on simple transacation on: October 07, 2017, 06:20:34 PM
Yah, has estimate, but I am not want this. I need be more exact. Then

I have estimate 0.00037674 per kilobytes and yet I don't know what size of transaction to do (estimate-per-kilobytes/1024)*size-of-transacion. ( correct me if I'm wrong)

Size of transaction is depende the input and ouputs. If I have this informaction can I get the exact fee? Making this formula
5  Bitcoin / Bitcoin Technical Support / Fee on simple transacation on: October 06, 2017, 02:44:34 AM
Hey guys, need help! I need get fee before send transaction!? How?!

I have Bitcoin Core 0.15 installed and using RPC.


 Huh Huh Huh Huh
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!