bitcoin - Where in Ethereum blockchain do transaction details of a smart contract get written? -


i have been reading blockchain , ethereum, cannot seem head around couple of concepts.

first, in blockchain newly created transaction stored ? if blockchain has been on going time, , lets on block x right now. if deploy contract today, , gets executed, transaction details reside on every block after block x or on block x + 1 ? , transaction details details on block, or block contain every transaction happened within time period ? again, of prior blocks transactions written subsequent blocks ? happens if more 1 transaction gets executed same contract, written 2 different blocks or within same block ?

second, when designing contract have seen restricted 2 parties enter it, , other people use contract new instance of contract has created, understanding correct ? or should 1 contract designed in way uses , 1 instance of ever created ?

where in blockchain newly created transaction stored ?

in blocks each node stores.

will transaction details reside on every block after block x or on block x + 1 ?

each transaction resides in block. each block related previous block, transaction throughout blockchain.

and transaction details details on block, or block contain every transaction happened within time period ?

it dependes on implementation of blockchain. example, bitcoin blocks store transactions have been sent throughout 10 minutes, because each block mined every 10 minutes (more or less).

second

blockchain distributed system, members @ same level. so, consensus going do, i.e. members have agree functions of blockchain.

for each blockchain, can have more 1 contract. i'm going explain more simply. smart contract code installed on nodes of blockchain, , every request executed against it. so, every node/member must have same.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -