Bitcoin Forum
May 26, 2024, 12:18:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: For what are input scripts?  (Read 401 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
February 03, 2017, 04:20:42 PM
 #1

Inputs script are usually bigger than output scripts. Only take place in blocks.
franky1
Legendary
*
Offline Offline

Activity: 4228
Merit: 4500



View Profile
February 03, 2017, 04:33:15 PM
Last edit: February 03, 2017, 05:12:39 PM by franky1
 #2

in very simple terms

input contain transaction ID's and other data to locate where the funds came from. (lots of bytes needed) (plus value)
also requires signatures, which add on extra bytes to an input.

outputs are just destination addresses (not so many bytes) (plus value)

however output scripts can vary in length too if they are including contract conditions. but generally a input is longer than output due to need of more data to locate source of funding and show proof its spendable

however the input bytes:output bytes ratios will change once future features are part of bitcoin

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
February 03, 2017, 05:05:15 PM
 #3

But inputs records contains hash of previous transaction. Input script are difficult to analyze.
franky1
Legendary
*
Offline Offline

Activity: 4228
Merit: 4500



View Profile
February 03, 2017, 05:10:23 PM
 #4

But inputs records contains hash of previous transaction. Input script are difficult to analyze.

i was speaking more in general about input vs output. in previous post.

however the "scripts" area of an input is usually the signature

this will however change a bit if/when segwit activates and people use segwit style transactions


I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
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!