<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Diegorodriguezv</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Diegorodriguezv"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Diegorodriguezv"/>
	<updated>2026-05-01T00:40:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Transaction&amp;diff=68532</id>
		<title>Transaction</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Transaction&amp;diff=68532"/>
		<updated>2021-03-14T06:45:03Z</updated>

		<summary type="html">&lt;p&gt;Diegorodriguezv: an transaction -&amp;gt; a transaction (see https://www.grammar.com/a-vs-an-when-to-use/)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TxBinaryMap.png|thumb|right|Byte-map of Transaction with each type of TxIn and TxOut]]&lt;br /&gt;
A &#039;&#039;&#039;transaction&#039;&#039;&#039; is a transfer of Bitcoin value that is broadcast to the [[network]] and collected into [[block|blocks]]. A transaction typically references previous transaction outputs as new transaction inputs and dedicates all input Bitcoin values to new outputs. Transactions are not encrypted, so it is possible to browse and view every transaction ever collected into a block. Once transactions are buried under enough [[Confirmation|confirmations]] they can be considered [[Irreversible Transactions|irreversible]].&lt;br /&gt;
&lt;br /&gt;
This article is about &#039;&#039;&#039;on-chain transactions&#039;&#039;&#039;. See also: [[Off-Chain Transactions]]&lt;br /&gt;
&lt;br /&gt;
Standard transaction outputs nominate [[address|addresses]], and the redemption of any future inputs requires a relevant signature.&lt;br /&gt;
&lt;br /&gt;
All transactions are visible in the [[block chain]], and can be viewed with a hex editor. A [[block chain browser]] is a site where every transaction included within the block chain can be viewed in human-readable terms.  This is useful for seeing the technical details of transactions in action and for verifying payments.&lt;br /&gt;
&lt;br /&gt;
=== General format of a Bitcoin transaction (inside a block) ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field&lt;br /&gt;
! Description&lt;br /&gt;
! Size&lt;br /&gt;
|-&lt;br /&gt;
|Version no&lt;br /&gt;
|currently 1&lt;br /&gt;
|4 bytes&lt;br /&gt;
|-&lt;br /&gt;
|Flag&lt;br /&gt;
|If present, always 0001, and indicates the presence of witness data&lt;br /&gt;
|optional 2 byte array&lt;br /&gt;
|-&lt;br /&gt;
|In-counter&lt;br /&gt;
| positive integer [[ Protocol_specification#Variable_length_integer|VI = VarInt]]&lt;br /&gt;
| 1 - 9 bytes &lt;br /&gt;
|-&lt;br /&gt;
|list of inputs&lt;br /&gt;
|[[Transaction#General_format_.28inside_a_block.29_of_each_input_of_a_transaction_-_Txin|the first input of the first transaction is also called &amp;quot;coinbase&amp;quot; (its content was ignored in earlier versions)]]&lt;br /&gt;
|&amp;lt;in-counter&amp;gt;-many inputs&lt;br /&gt;
|-&lt;br /&gt;
|Out-counter&lt;br /&gt;
| positive integer [[ Protocol_specification#Variable_length_integer|VI = VarInt]]&lt;br /&gt;
| 1 - 9 bytes&lt;br /&gt;
|-&lt;br /&gt;
|list of outputs&lt;br /&gt;
|[[Transaction#General_format_.28inside_a_block.29_of_each_output_of_a_transaction_-_Txout|the outputs of the first transaction spend the mined bitcoins for the block]]&lt;br /&gt;
|&amp;lt;out-counter&amp;gt;-many outputs&lt;br /&gt;
|-&lt;br /&gt;
|Witnesses&lt;br /&gt;
|A list of witnesses, 1 for each input, omitted if flag above is missing&lt;br /&gt;
|variable, see [[Segregated_Witness]]&lt;br /&gt;
|-&lt;br /&gt;
|lock_time&lt;br /&gt;
|if non-zero and sequence numbers are &amp;lt; 0xFFFFFFFF: block height or timestamp when transaction is final&lt;br /&gt;
|4 bytes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Principle example of a Bitcoin transaction with 1 input and 1 output only ===&lt;br /&gt;
&lt;br /&gt;
==== Data ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Input:&lt;br /&gt;
Previous tx: f5d8ee39a430901c91a5917b9f2dc19d6d1a0e9cea205b009ca73dd04470b9a6&lt;br /&gt;
Index: 0&lt;br /&gt;
scriptSig: 304502206e21798a42fae0e854281abd38bacd1aeed3ee3738d9e1446618c4571d10&lt;br /&gt;
90db022100e2ac980643b0b82c0e88ffdfec6b64e3e6ba35e7ba5fdd7d5d6cc8d25c6b241501&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
Value: 5000000000&lt;br /&gt;
scriptPubKey: OP_DUP OP_HASH160 404371705fa9bd789a2fcd52d2c580b65d35549d&lt;br /&gt;
OP_EQUALVERIFY OP_CHECKSIG&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Explanation ====&lt;br /&gt;
&lt;br /&gt;
The input in this transaction imports 50 BTC from output #0 in transaction f5d8... Then the output sends 50 BTC to a Bitcoin address (expressed here in hexadecimal 4043... instead of the normal base58). When the recipient wants to spend this money, he will reference output #0 of this transaction in an input of his own transaction.&lt;br /&gt;
&lt;br /&gt;
===== Input =====&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;input&#039;&#039;&#039; is a reference to an output from a previous transaction. Multiple inputs are often listed in a transaction. All of the new transaction&#039;s input values (that is, the total coin value of the previous outputs referenced by the new transaction&#039;s inputs) are added up, and the total (less any transaction fee) is completely used by the outputs of the new transaction. &#039;&#039;&#039;Previous tx&#039;&#039;&#039; is a [[hash]] of a previous transaction. &#039;&#039;&#039;Index&#039;&#039;&#039; is the specific output in the referenced transaction. &#039;&#039;&#039;ScriptSig&#039;&#039;&#039; is the first half of a [[script]] (discussed in more detail later).&lt;br /&gt;
&lt;br /&gt;
The script contains two components, a signature and a public key. The public key must match the hash given in the script of the redeemed output. The public key is used to verify the redeemers signature, which is the second component. More precisely, the second component is an [[ECDSA]] signature over a hash of a simplified version of the transaction. It, combined with the public key, proves the transaction was created by the real owner of the bitcoins in question. Various flags define how the transaction is simplified and can be used to create different types of payment.&lt;br /&gt;
&lt;br /&gt;
===== Output =====&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;output&#039;&#039;&#039; contains instructions for sending bitcoins. &#039;&#039;&#039;Value&#039;&#039;&#039; is the number of Satoshi (1 BTC = 100,000,000 Satoshi) that this output will be worth when claimed. &#039;&#039;&#039;ScriptPubKey&#039;&#039;&#039; is the second half of a script (discussed later). There can be more than one output, and they share the combined value of the inputs. Because each output from one transaction can only ever be referenced once by an input of a subsequent transaction, the entire combined input value needs to be sent in an output if you don&#039;t want to lose it. If the input is worth 50 BTC but you only want to send 25 BTC, Bitcoin will create two outputs worth 25 BTC: one to the destination, and one back to you (known as &amp;quot;[[change]]&amp;quot;, though you send it to yourself). Any input bitcoins not redeemed in an output is considered a [[transaction fee]]; whoever generates the block can claim it by inserting it into the coinbase transaction of that block.&lt;br /&gt;
[[File:transaction.png|thumb|A sends 100 BTC to C and C generates 50 BTC. C sends 101 BTC to D, and he needs to send himself some change. D sends the 101 BTC to someone else, but they haven&#039;t redeemed it yet. Only D&#039;s output and C&#039;s change are capable of being spent in the current state.]]&lt;br /&gt;
&lt;br /&gt;
===== Verification =====&lt;br /&gt;
&lt;br /&gt;
To verify that inputs are authorized to collect the values of referenced outputs, Bitcoin uses a custom Forth-like [[script|scripting]] system. The input&#039;s scriptSig and the &#039;&#039;referenced&#039;&#039; output&#039;s scriptPubKey are evaluated (in that order), with scriptPubKey using the values left on the stack by scriptSig. The input is authorized if scriptPubKey returns true. Through the scripting system, the sender can create very complex conditions that people have to meet in order to claim the output&#039;s value. For example, it&#039;s possible to create an output that can be claimed by anyone without any authorization. It&#039;s also possible to require that an input be signed by ten different keys, or be redeemable with a password instead of a key.&lt;br /&gt;
&lt;br /&gt;
=== Types of Transaction ===&lt;br /&gt;
Bitcoin currently creates two different scriptSig/scriptPubKey pairs. These are described below.&lt;br /&gt;
&lt;br /&gt;
It is possible to design more complex types of transactions, and link them together into cryptographically enforced agreements. These are known as [[Contracts]].&lt;br /&gt;
&lt;br /&gt;
==== Pay-to-PubkeyHash ====&lt;br /&gt;
&lt;br /&gt;
 scriptPubKey: OP_DUP OP_HASH160 &amp;lt;pubKeyHash&amp;gt; OP_EQUALVERIFY OP_CHECKSIG&lt;br /&gt;
 scriptSig: &amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt;&lt;br /&gt;
A Bitcoin [[address]] is only a hash, so the sender can&#039;t provide a full public key in scriptPubKey. When redeeming coins that have been sent to a Bitcoin address, the recipient provides both the signature and the public key. The script verifies that the provided public key does hash to the hash in scriptPubKey, and then it also checks the signature against the public key.&lt;br /&gt;
&lt;br /&gt;
Checking process:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Stack &lt;br /&gt;
! Script &lt;br /&gt;
! Description &lt;br /&gt;
|-&lt;br /&gt;
|Empty.&lt;br /&gt;
| &amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt; OP_DUP OP_HASH160 &amp;lt;pubKeyHash&amp;gt; OP_EQUALVERIFY OP_CHECKSIG &lt;br /&gt;
| scriptSig and scriptPubKey are combined.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt;&lt;br /&gt;
| OP_DUP OP_HASH160 &amp;lt;pubKeyHash&amp;gt; OP_EQUALVERIFY OP_CHECKSIG &lt;br /&gt;
| Constants are added to the stack.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt; &amp;lt;pubKey&amp;gt;&lt;br /&gt;
| OP_HASH160 &amp;lt;pubKeyHash&amp;gt; OP_EQUALVERIFY OP_CHECKSIG &lt;br /&gt;
| Top stack item is duplicated.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt; &amp;lt;pubHashA&amp;gt;&lt;br /&gt;
|&amp;lt;pubKeyHash&amp;gt; OP_EQUALVERIFY OP_CHECKSIG&lt;br /&gt;
| Top stack item is hashed.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt; &amp;lt;pubHashA&amp;gt; &amp;lt;pubKeyHash&amp;gt;&lt;br /&gt;
|OP_EQUALVERIFY OP_CHECKSIG&lt;br /&gt;
| Constant added.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;sig&amp;gt; &amp;lt;pubKey&amp;gt;&lt;br /&gt;
|OP_CHECKSIG&lt;br /&gt;
| Equality is checked between the top two stack items.&lt;br /&gt;
|-&lt;br /&gt;
|true&lt;br /&gt;
|Empty.&lt;br /&gt;
|Signature is checked for top two stack items.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Pay-to-Script-Hash ====&lt;br /&gt;
&lt;br /&gt;
 scriptPubKey: OP_HASH160 &amp;lt;scriptHash&amp;gt; OP_EQUAL &lt;br /&gt;
 scriptSig: ..signatures... &amp;lt;serialized script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 m-of-n multi-signature transaction:&lt;br /&gt;
 scriptSig: 0 &amp;lt;sig1&amp;gt; ... &amp;lt;script&amp;gt;&lt;br /&gt;
 script: OP_m &amp;lt;pubKey1&amp;gt; ... OP_n OP_CHECKMULTISIG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
P2SH addresses were created with the motivation of moving &amp;quot;the responsibility for supplying the conditions to redeem a transaction from the sender of the funds to the redeemer. They allow the sender to fund an arbitrary transaction, no matter how complicated, using a 20-byte hash&amp;quot;[https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki#motivation 1]. Pay-to-Pubkey-hash addresses are similarly a 20-byte hash of the public key. &lt;br /&gt;
&lt;br /&gt;
Pay-to-script-hash provides a means for complicated transactions, unlike the Pay-to-pubkey-hash, which has a specific definition for scriptPubKey, and scriptSig. The specification places no limitations on the script, and hence absolutely any contract can be funded using these addresses. &lt;br /&gt;
&lt;br /&gt;
The scriptPubKey in the funding transaction is script which ensures that the script supplied in the redeeming transaction hashes to the script used to create the address. &lt;br /&gt;
&lt;br /&gt;
In the scriptSig above, &#039;signatures&#039; refers to any script which is sufficient to satisfy the following serialized script. &lt;br /&gt;
&lt;br /&gt;
Checking process:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Stack &lt;br /&gt;
! Script &lt;br /&gt;
! Description &lt;br /&gt;
|-&lt;br /&gt;
|Empty.&lt;br /&gt;
| 0 &amp;lt;sig1&amp;gt; &amp;lt;sig2&amp;gt; OP_2 &amp;lt;pubKey1&amp;gt; &amp;lt;pubKey2&amp;gt; &amp;lt;pubKey3&amp;gt; OP_3 OP_CHECKMULTISIG &lt;br /&gt;
| Only the scriptSig is used.&lt;br /&gt;
|-&lt;br /&gt;
| 0 &amp;lt;sig1&amp;gt; &amp;lt;sig2&amp;gt; OP_2 &amp;lt;pubKey1&amp;gt; &amp;lt;pubKey2&amp;gt; &amp;lt;pubKey3&amp;gt; OP_3 &lt;br /&gt;
| OP_CHECKMULTISIG &lt;br /&gt;
| Constants are added to the stack.&lt;br /&gt;
|-&lt;br /&gt;
| true&lt;br /&gt;
| Empty&lt;br /&gt;
| Signatures validated in the order of the keys in the script.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also [[BIP 0016]]&lt;br /&gt;
&lt;br /&gt;
=== Generation ===&lt;br /&gt;
&lt;br /&gt;
Generations have a single input, and this input has a &amp;quot;[[Coinbase |coinbase]]&amp;quot; parameter instead of a scriptSig. The data in &amp;quot;coinbase&amp;quot; can be anything; it isn&#039;t used. Bitcoin puts the current compact-format [[target]] and the arbitrary-precision &amp;quot;extraNonce&amp;quot; number there, which increments every time the Nonce field in the [[block_hashing_algorithm|block header]] overflows. Outputs can be anything, but Bitcoin creates one exactly like an IP address transaction.&lt;br /&gt;
The extranonce contributes to enlarge the domain for the proof of work function. Miners can easily modify nonce (4byte), timestamp and extranonce (2 to 100bytes).&lt;br /&gt;
&lt;br /&gt;
=== General format (inside a block) of each input of a transaction - Txin ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field&lt;br /&gt;
! Description&lt;br /&gt;
! Size&lt;br /&gt;
|-&lt;br /&gt;
|Previous Transaction hash &lt;br /&gt;
| doubled [[Wikipedia:SHA-256|SHA256]]-[[hash|hashed]] of a (previous) to-be-used transaction&lt;br /&gt;
|32 bytes&lt;br /&gt;
|-&lt;br /&gt;
|Previous Txout-index&lt;br /&gt;
| non negative integer indexing an output of the to-be-used transaction&lt;br /&gt;
|4 bytes&lt;br /&gt;
|-&lt;br /&gt;
|Txin-script length&lt;br /&gt;
|non negative integer [[ Protocol_specification#Variable_length_integer|VI = VarInt]]&lt;br /&gt;
|1 - 9 bytes&lt;br /&gt;
|-&lt;br /&gt;
|Txin-script / scriptSig&lt;br /&gt;
|[[Script]]&lt;br /&gt;
|&amp;lt;in-script length&amp;gt;-many bytes&lt;br /&gt;
|-&lt;br /&gt;
|sequence_no&lt;br /&gt;
|normally 0xFFFFFFFF; irrelevant unless transaction&#039;s lock_time is &amp;gt; 0&lt;br /&gt;
|4 bytes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The input sufficiently describes where and how to get the bitcoin amout to be redeemed.&lt;br /&gt;
If it is the (only) input of the first transaction of a block, it is called the generation transaction input and its content completely ignored. (Historically the Previous Transaction hash is 0 and the Previous Txout-index is -1.)&lt;br /&gt;
&lt;br /&gt;
=== General format (inside a block) of each output of a transaction - Txout ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field&lt;br /&gt;
! Description&lt;br /&gt;
! Size&lt;br /&gt;
|-&lt;br /&gt;
|value&lt;br /&gt;
|non negative integer giving the number of [[FAQ#What_do_I_call_the_various_denominations_of_bitcoins.3F|Satoshis(BTC/10^8)]] to be transfered&lt;br /&gt;
|8 bytes&lt;br /&gt;
|-&lt;br /&gt;
|Txout-script length&lt;br /&gt;
|non negative integer&lt;br /&gt;
|1 - 9 bytes [[ Protocol_specification#Variable_length_integer|VI = VarInt]]&lt;br /&gt;
|-&lt;br /&gt;
|Txout-script / scriptPubKey&lt;br /&gt;
|[[Script]]&lt;br /&gt;
|&amp;lt;out-script length&amp;gt;-many bytes&lt;br /&gt;
|}&lt;br /&gt;
The output sets the conditions to release this bitcoin amount later. The sum of the output values of the first transaction is the value of the mined bitcoins for the block plus possible transactions fees of the other transactions in the block.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Script]]&lt;br /&gt;
* [[Protocol rules#&amp;quot;tx&amp;quot; messages|Protocol rules - &amp;quot;tx&amp;quot; messages]]&lt;br /&gt;
* [[Protocol documentation#Transaction Verification|Protocol documentation - Transaction Verification]]&lt;br /&gt;
* [[Raw Transactions]]&lt;br /&gt;
* [[Coin analogy]]&lt;br /&gt;
* [[Transaction Malleability]]&lt;br /&gt;
* [[Transaction broadcasting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Vocabulary]]&lt;br /&gt;
[[de:Transaktion]]&lt;br /&gt;
[[es:Transacción]]&lt;br /&gt;
[[pl:Transakcje]]&lt;/div&gt;</summary>
		<author><name>Diegorodriguezv</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Satoshi_(unit)&amp;diff=68531</id>
		<title>Satoshi (unit)</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Satoshi_(unit)&amp;diff=68531"/>
		<updated>2021-03-14T06:28:10Z</updated>

		<summary type="html">&lt;p&gt;Diegorodriguezv: /* Symbol */ Copied the symbol over from https://en.wikipedia.org/wiki/Approximation#Unicode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:SatoshiUsage.png|thumb|The term &amp;quot;satoshi&amp;quot; in use on a message board]]The &#039;&#039;&#039;satoshi&#039;&#039;&#039; is currently the smallest unit of the bitcoin currency recorded on the [[block chain]].&amp;lt;ref name=&amp;quot;se&amp;quot;&amp;gt;[http://bitcoin.stackexchange.com/questions/114/what-is-a-satoshi What is a &#039;Satoshi&#039;? - Bitcoin Stack Exchange]&amp;lt;/ref&amp;gt; It is a one hundred millionth of a single bitcoin (0.00000001 BTC).&amp;lt;ref name=&amp;quot;se&amp;quot;/&amp;gt; The unit has been named in collective homage to the original creator of Bitcoin, [[Satoshi Nakamoto]].&amp;lt;ref name=&amp;quot;ribuck&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All amounts in the block chain are denominated in satoshi before being converted for display.&amp;lt;ref name=&amp;quot;why&amp;quot;&amp;gt;{{cite btct|title=Why 1BTC should equal 10^8 satoshi ?|date=11 October 2014|id=819656}}&amp;lt;/ref&amp;gt; The source code also uses satoshi when specifying an amount of bitcoin.&amp;lt;ref name=&amp;quot;nov08&amp;quot;/&amp;gt; When displaying an extremely fine fraction of a bitcoin, such as when calculating [[satoshi per byte|fee per byte]] or a [[Bitcoin faucet|faucet]] reward, the amount is displayed in satoshi for readability.&amp;lt;ref&amp;gt;{{cite web|title=How do I calculate my transaction fee?|work=[[21]] Support|author=Binns, Will|date=|accessdate=23 October 2017|url=https://support.21.co/bitcoin/transactions-and-fees/how-do-i-calculate-my-transaction-fee}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|title=Do These &amp;quot;Free Bitcoin&amp;quot; Sites Work?|work=[[CryptoCoinsNews]]|author=Barnes, Samuel|date=9 April 2014|accessdate=19 August 2015|url=https://www.cryptocoinsnews.com/do-free-bitcoin-sites-work/}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although the satoshi is the finest amount that can be recorded in the block chain,&amp;lt;ref name=&amp;quot;why&amp;quot;/&amp;gt; [[payment channels]] may need to make very granular payments and so are sometimes denominated in &#039;&#039;millisatoshi&#039;&#039;, which are one hundred billionths of a single bitcoin.&amp;lt;ref&amp;gt;[https://github.com/ElementsProject/lightning/blob/master/README.md#receiving-and-receiving-payments Receiving and receiving payments]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In January 2018, 1 Euro cent is worth approximately 83 satoshi.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
The value of a bitcoin in satoshi was decided by Satoshi Nakamoto to be 100 million no later than November 2008.&amp;lt;ref name=&amp;quot;nov08&amp;quot;&amp;gt;{{cite btct|id=382374|date=23 December 2013|title=Bitcoin source from November 2008.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On November 15, 2010, ribuck proposed that the one hundredth of a bitcoin (0.01 BTC) be called a &#039;&#039;Satoshi&#039;&#039;.&amp;lt;ref&amp;gt;{{cite btct|id=369|post=22160|date=14 July 2010|title=Official Bitcoin Unicode Character?}}&amp;lt;/ref&amp;gt; Four months later he instead suggested that the one hundred millionth unit be called an &#039;&#039;austrian&#039;&#039; or a &#039;&#039;satoshi&#039;&#039;.&amp;lt;ref&amp;gt;{{cite btct|id=3311|post=46648|date=10 February 2011|title=More divisibility required - move the decimal point}}&amp;lt;/ref&amp;gt; The name &#039;&#039;satoshi&#039;&#039; caught on, and was widely adopted thereafter.&amp;lt;ref name=&amp;quot;ribuck&amp;quot;&amp;gt;{{cite btct|id=407442|post=4415850|date=9 January 2014|title=How did “satoshi” become the name of the base unit?}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In December 2017, BIP-176&amp;lt;ref&amp;gt;https://github.com/bitcoin/bips/blob/master/bip-0176.mediawiki&amp;lt;/ref&amp;gt; also proposed &amp;quot;Bits&amp;quot; be used as a standard term for 100 (one hundred) satoshis or 1/1,000,000 (one one-millionth) of a bitcoin.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Plural===&lt;br /&gt;
Traditionally, the plural form has been simply &#039;&#039;satoshi&#039;&#039;,&amp;lt;ref&amp;gt;[https://en.bitcoin.it/w/index.php?title=Help:FAQ&amp;amp;diff=53369&amp;amp;oldid=53362 Bitcoin Wiki revision by theymos]&amp;lt;/ref&amp;gt; but the term &#039;&#039;satoshis&#039;&#039; is also popular and equally correct. If the plural form were to follow the rules of Japanese grammar, it may be pronounced as &#039;&#039;satoshisa&#039;&#039;,&amp;lt;ref name=&amp;quot;jj73&amp;quot;&amp;gt;{{cite btct|id=289475|post=3112861|date=9 September 2013|title=satoshii}}&amp;lt;/ref&amp;gt; or simply &#039;&#039;satoshi&#039;&#039;.&amp;lt;ref name=&amp;quot;jj73&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
Satoshi is often abbreviated to &#039;&#039;sat&#039;&#039; or &#039;&#039;s&#039;&#039;, although no currency symbol has been widely adopted. There are various proposed symbols:&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Symbol&lt;br /&gt;
! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Satoshi-symbol-small.png|frameless|left]]&lt;br /&gt;
| Reminiscent of the Japanese aesthetic, the closest character being 丰 meaning: &amp;quot;Bountiful - abundant, lush, bountiful, plenty, luxurious growth of grass&amp;quot; which suggests vasts amount of Satoshi are still left to mine. In Unicode the closest character would be (U+2250) &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;≐&amp;lt;/span&amp;gt;, a mathematical symbol meaning &amp;quot;Approaching the limit&amp;quot; suggesting the finite supply, always approaching the limit when 21 million Bitcoins are mined. There is also a play on the phrase &#039;&#039;Stack Sats&#039;&#039; as represented by the 3 stacked horizontal bars. This symbol was adopted by the [https://satoshicap.net/ Satoshi Cap] exchange on Feb. 22, 2021. Learn more at http://satsymbol.com.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;里&amp;lt;/span&amp;gt;&lt;br /&gt;
| In Japanese names, this character can (rarely) be read &amp;quot;satoshi&amp;quot;. It is an uncommon Chinese/Japanese character on its own, and an infrequent radical (kangxi #166). It can be seen as a radical in the common kanji 理 and 量, used in meaningful words like: 理想 (ideals), 理論 (theory), 理性 (reason), 理科 (science), and 量 (quantity). &amp;quot;Satoshi&amp;quot; is a rare reading; more commonly it is read as &amp;quot;ri&amp;quot; or &amp;quot;sato&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;シ&amp;lt;/span&amp;gt;&lt;br /&gt;
| A Japanese katakana representing the syllable &amp;quot;shi&amp;quot;. Note that this character is extremely common in Japanese, so it could cause confusion. Also, it can mean &amp;quot;death&amp;quot; in Japanese and Chinese.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;㋛&amp;lt;/span&amp;gt;&lt;br /&gt;
| As above, but circled to distinguish it from the katakana.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;し&amp;lt;/span&amp;gt;&lt;br /&gt;
| As above, but this is the hiragana instead of the katakana. This is even more common than シ in Japanese writing, however.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size:x-large&amp;quot;&amp;gt;サ&amp;lt;/span&amp;gt;&lt;br /&gt;
| A Japanese katakana representing the syllable &amp;quot;sa&amp;quot;. Maybe it looks more reminiscent of a currency symbol than others. Note that this character is extremely common in Japanese, so it could cause confusion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{article}}&lt;br /&gt;
[[Category:Denominations]]&lt;br /&gt;
[[Category:Terms and properties named after Satoshi Nakamoto]]&lt;/div&gt;</summary>
		<author><name>Diegorodriguezv</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Segregated_Witness&amp;diff=68530</id>
		<title>Segregated Witness</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Segregated_Witness&amp;diff=68530"/>
		<updated>2021-03-14T06:16:22Z</updated>

		<summary type="html">&lt;p&gt;Diegorodriguezv: /* History and Activation */ Changed the link to archived version because the original was deleted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{infobox |title=SegWit|image=&amp;lt;hr style=&amp;quot;background-color: #f9f9f9;&amp;quot;/&amp;gt;[[File:Segwit.png|256px]]&amp;lt;hr style=&amp;quot;background-color: #f9f9f9;&amp;quot;/&amp;gt;&lt;br /&gt;
|fulltitle=Segregated Witness (Consensus layer)&lt;br /&gt;
|bipnumber=[[BIP_0141|BIP 141]]&lt;br /&gt;
|purpose=Prevent unintended [[transaction malleability]]&lt;br /&gt;
|bit=Bit 1 &amp;quot;segwit&amp;quot;&lt;br /&gt;
|starttime=2016-11-15 00:00:00&lt;br /&gt;
|timeout=2017-11-15 00:00:00&lt;br /&gt;
|supermajority=95% of last 2016 block period&lt;br /&gt;
|lockin=Block #479708&amp;lt;br/&amp;gt;2017-08-08 19:05:58&lt;br /&gt;
|activated=Block #481824&amp;lt;br/&amp;gt;2017-08-24 01:57:37&lt;br /&gt;
}}&#039;&#039;&#039;Segregated Witness&#039;&#039;&#039; (abbreviated as &#039;&#039;&#039;SegWit&#039;&#039;&#039;) is an implemented protocol upgrade intended to provide protection from [[transaction malleability]] and [[Block size limit controversy|increase block capacity]]. SegWit separates the &#039;&#039;witness&#039;&#039; from the list of inputs. The witness contains data required to check transaction validity but is not required to determine transaction effects.&lt;br /&gt;
Additionally, a new &#039;&#039;weight&#039;&#039; parameter is defined, and blocks are allowed to have at most 4 million [[weight units]] (WU). Non-witness and pre-segwit witness bytes weigh 4 WU, but each byte of Segwit witness data only weighs 1 WU, allowing blocks that are larger than 1 MB without a hardforking change.&lt;br /&gt;
&lt;br /&gt;
After the successful activations of OP_CLTV and OP_CSV, SegWit was the last protocol change needed to make the [[Lightning Network]] safe to deploy on the Bitcoin network.&lt;br /&gt;
&lt;br /&gt;
Because the new witness field contains [[Script]] versioning, it is also possible to make changes to or introduce new opcodes to SegWit scripts that would have originally required additional complexity to function without SegWit.&lt;br /&gt;
&lt;br /&gt;
=== History and Activation ===&lt;br /&gt;
&lt;br /&gt;
During 2016 and 2017 activation of segregated witness was blocked by miners for political reasons by exploiting a flaw in the [[BIP 9]] activation mechanism.&lt;br /&gt;
On a technical level, the consensus rules of bitcoin are controlled by the [[economic majority]] not the [[Bitcoin is not ruled by miners|miners]], so the deadlock was possible to solve by creating a [[user activated soft fork]] [[BIP 148]] where the [[economic majority]] would bypass the blocking miners and activate segregated witness on their own.&lt;br /&gt;
This required some coordination amongst the economic majority, but was ultimately successful, activating Segwit on Bitcoin soon after 1st August 2017.&amp;lt;ref&amp;gt;[https://web.archive.org/web/20210224032019/https://bitcoinmagazine.com/articles/long-road-segwit-how-bitcoins-biggest-protocol-upgrade-became-reality// BitcoinMagazine: The Long Road to SegWit: How Bitcoin’s Biggest Protocol Upgrade Became Reality (Archived February 2021)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[BIP_0141|BIP 141]] Segregated Witness (Consensus layer)&lt;br /&gt;
* [[BIP_0143|BIP 143]] Transaction Signature Verification for Version 0 Witness Program&lt;br /&gt;
* [[BIP_0144|BIP 144]] Segregated Witness (Peer Services)&lt;br /&gt;
* [[BIP_0145|BIP 145]] getblocktemplate Updates for Segregated Witness&lt;br /&gt;
* [[BIP_0147|BIP 147]] Dealing with dummy stack element malleability&lt;br /&gt;
* [[BIP_0173|BIP 173]] Base32 address format for native v0-16 witness outputs&lt;br /&gt;
* [https://bitcoincore.org/en/2016/01/26/segwit-benefits/ Segregated Witness Benefits]&lt;br /&gt;
* [https://bitcoincore.org/en/segwit_wallet_dev/ Segregated Witness Wallet Developer Guide]&lt;br /&gt;
* [[Wikipedia:SegWit|Wikipedia: SegWit]]&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Diegorodriguezv</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Genesis_block&amp;diff=68529</id>
		<title>Genesis block</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Genesis_block&amp;diff=68529"/>
		<updated>2021-03-14T06:08:17Z</updated>

		<summary type="html">&lt;p&gt;Diegorodriguezv: /* Coinbase */ The word this started two paragraphs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;genesis block&#039;&#039;&#039; is the first block of a [[block chain]]. Modern versions of Bitcoin number it as &#039;&#039;&#039;block 0&#039;&#039;&#039;, though very early versions counted it as block 1. The genesis block is almost always hardcoded into the software of the applications that utilize its block chain. It is a special case in that it does not reference a previous block, and for [[Bitcoin]] and almost all of its derivatives, it produces an unspendable subsidy.&lt;br /&gt;
&lt;br /&gt;
== Main network genesis block ==&lt;br /&gt;
Here is a representation of the genesis block&amp;lt;ref name=&amp;quot;block&amp;quot;&amp;gt;{{cite block|hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f|0|year=2009|month=01|day=03}}&amp;lt;/ref&amp;gt; as it appeared in a comment in an old version of Bitcoin ([http://sourceforge.net/p/bitcoin/code/133/tree/trunk/main.cpp#l1613 line 1613]). The first section defines exactly all of the variables necessary to recreate the block. The second section is the block in standard printblock format, which contains shortened versions of the data in the first section.&lt;br /&gt;
&lt;br /&gt;
 GetHash()      = 0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&lt;br /&gt;
 hashMerkleRoot = 0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&lt;br /&gt;
 txNew.vin[0].scriptSig     = 486604799 4 0x736B6E616220726F662074756F6C69616220646E6F63657320666F206B6E697262206E6F20726F6C6C65636E61684320393030322F6E614A2F33302073656D695420656854&lt;br /&gt;
 txNew.vout[0].nValue       = 5000000000&lt;br /&gt;
 txNew.vout[0].scriptPubKey = 0x5F1DF16B2B704C8A578D0BBAF74D385CDE12C11EE50455F3C438EF4C3FBCF649B6DE611FEAE06279A60939E028A8D65C10B73071A6F16719274855FEB0FD8A6704 OP_CHECKSIG&lt;br /&gt;
 block.nVersion = 1&lt;br /&gt;
 block.nTime    = 1231006505&lt;br /&gt;
 block.nBits    = 0x1d00ffff&lt;br /&gt;
 block.nNonce   = 2083236893&lt;br /&gt;
 &lt;br /&gt;
 CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)&lt;br /&gt;
   CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)&lt;br /&gt;
     CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)&lt;br /&gt;
     CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)&lt;br /&gt;
   vMerkleTree: 4a5e1e&lt;br /&gt;
===Hash===&lt;br /&gt;
The hash of the genesis block, &#039;&#039;&#039;000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&#039;&#039;&#039;,&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt; has two more leading hex zeroes than were required for an early block.&lt;br /&gt;
&lt;br /&gt;
===Coinbase===&lt;br /&gt;
[[File:jonny1000thetimes.png|thumb|256px|The Times 03/Jan/2009]]&lt;br /&gt;
The [[coinbase]] parameter (seen above in hex) contains, along with the normal data, the following text:&amp;lt;ref&amp;gt;[http://web.archive.org/web/20140309004338/http://uk.reuters.com/article/2009/01/03/idUKPTIP32510920090103 Reuters&#039; reference on The Financial Times article (archive.org cached copy)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The Times 03/Jan/2009 Chancellor on brink of second bailout for banks&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was probably intended as proof that the block was created on or after January 3, 2009, as well as a comment on the instability caused by fractional-reserve banking. Additionally, it suggests that [[Satoshi Nakamoto]] may have lived in the United Kingdom.&amp;lt;ref&amp;gt;{{cite web|author=Davis, J.|year=2011|title=The Crypto-Currency|publisher=&#039;&#039;The New Yorker&#039;&#039;|url=http://www.newyorker.com/magazine/2011/10/10/the-crypto-currency}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The detail &amp;quot;second bailout for banks&amp;quot; could also suggest that in a supposedly liberal and capitalist system, rescuing banks like that was a problem for Satoshi. The chosen topic could hint at bitcoin&#039;s purpose.&lt;br /&gt;
&lt;br /&gt;
===Block reward===&lt;br /&gt;
The first 50 BTC block reward went to [[address]] &#039;&#039;1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa&#039;&#039;,&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt; though this reward can&#039;t be spent due to a quirk in the way that the genesis block is expressed in the code. It is not known if this was done intentionally or accidentally.&amp;lt;ref&amp;gt;http://bitcoin.stackexchange.com/questions/10009/why-can-t-the-genesis-block-coinbase-be-spent&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.reddit.com/r/Bitcoin/comments/1nc13r/the_first_50btc_block_reward_cant_be_spend_why/&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://github.com/bitcoin/bitcoin/blob/9546a977d354b2ec6cd8455538e68fe4ba343a44/src/main.cpp#L1668 - Genesis block transaction treated as a special case in the reference code&amp;lt;/ref&amp;gt; It is believed that other outputs sent to this address are spendable, but it is unknown if Satoshi Nakamoto has the private key for this particular address, if one existed at all.&lt;br /&gt;
&lt;br /&gt;
===Timestamp===&lt;br /&gt;
Although the average time between Bitcoin blocks is 10 minutes, the [[block timestamp|timestamp]] of the next block is a full 6 days after the genesis block. One interpretation is that Satoshi was working on bitcoin for some time beforehand and the &#039;&#039;The Times&#039;&#039; front page prompted him to release it to the public. He then mined the genesis block with a timestamp in the past to match the headline. It is also possible that, since the block&#039;s hash is so low, he may have spent 6 days mining it with the same timestamp before proceeding to block 1. The [[prenet hypothesis]] suggests that the genesis block was solved on January 3, but the software was tested by Satoshi Nakamoto using that genesis block until January 9, when all the test blocks were deleted and the genesis block was reused for the main network.&lt;br /&gt;
&lt;br /&gt;
===Raw block data===&lt;br /&gt;
&lt;br /&gt;
The [https://bitcointalk.org/index.php?topic=52706 raw hex version] of the Genesis block looks like:&lt;br /&gt;
 00000000   01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000010   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000020   00 00 00 00 3B A3 ED FD  7A 7B 12 B2 7A C7 2C 3E   ....;£íýz{.²zÇ,&amp;gt;&lt;br /&gt;
 00000030   67 76 8F 61 7F C8 1B C3  88 8A 51 32 3A 9F B8 AA   gv.a.È.ÃˆŠQ2:Ÿ¸ª&lt;br /&gt;
 00000040   4B 1E 5E 4A 29 AB 5F 49  FF FF 00 1D 1D AC 2B 7C   K.^J)«_Iÿÿ...¬+|&lt;br /&gt;
 00000050   01 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000060   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000070   00 00 00 00 00 00 FF FF  FF FF 4D 04 FF FF 00 1D   ......ÿÿÿÿM.ÿÿ..&lt;br /&gt;
 00000080   01 04 45 54 68 65 20 54  69 6D 65 73 20 30 33 2F   ..EThe Times 03/&lt;br /&gt;
 00000090   4A 61 6E 2F 32 30 30 39  20 43 68 61 6E 63 65 6C   Jan/2009 Chancel&lt;br /&gt;
 000000A0   6C 6F 72 20 6F 6E 20 62  72 69 6E 6B 20 6F 66 20   lor on brink of &lt;br /&gt;
 000000B0   73 65 63 6F 6E 64 20 62  61 69 6C 6F 75 74 20 66   second bailout f&lt;br /&gt;
 000000C0   6F 72 20 62 61 6E 6B 73  FF FF FF FF 01 00 F2 05   or banksÿÿÿÿ..ò.&lt;br /&gt;
 000000D0   2A 01 00 00 00 43 41 04  67 8A FD B0 FE 55 48 27   *....CA.gŠý°þUH&#039;&lt;br /&gt;
 000000E0   19 67 F1 A6 71 30 B7 10  5C D6 A8 28 E0 39 09 A6   .gñ¦q0·.\Ö¨(à9.¦&lt;br /&gt;
 000000F0   79 62 E0 EA 1F 61 DE B6  49 F6 BC 3F 4C EF 38 C4   ybàê.aÞ¶Iö¼?Lï8Ä&lt;br /&gt;
 00000100   F3 55 04 E5 1E C1 12 DE  5C 38 4D F7 BA 0B 8D 57   óU.å.Á.Þ\8M÷º..W&lt;br /&gt;
 00000110   8A 4C 70 2B 6B F1 1D 5F  AC 00 00 00 00            ŠLp+kñ._¬....&lt;br /&gt;
&lt;br /&gt;
Broken down it looks like this:&lt;br /&gt;
&lt;br /&gt;
 01000000 - version&lt;br /&gt;
 0000000000000000000000000000000000000000000000000000000000000000 - prev block&lt;br /&gt;
 3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A - merkle root&lt;br /&gt;
 29AB5F49 - timestamp&lt;br /&gt;
 FFFF001D - bits&lt;br /&gt;
 1DAC2B7C - nonce&lt;br /&gt;
 01 - number of transactions&lt;br /&gt;
 01000000 - version&lt;br /&gt;
 01 - input&lt;br /&gt;
 0000000000000000000000000000000000000000000000000000000000000000FFFFFFFF - prev output&lt;br /&gt;
 4D - script length&lt;br /&gt;
 04FFFF001D0104455468652054696D65732030332F4A616E2F32303039204368616E63656C6C6F72206F6E206272696E6B206F66207365636F6E64206261696C6F757420666F722062616E6B73 - scriptsig&lt;br /&gt;
 FFFFFFFF - sequence&lt;br /&gt;
 01 - outputs&lt;br /&gt;
 00F2052A01000000 - 50 BTC&lt;br /&gt;
 43 - pk_script length&lt;br /&gt;
 4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC - pk_script&lt;br /&gt;
 00000000 - lock time&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[zh-cn:创世block]]&lt;br /&gt;
[[es:Bloque Génesis]]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Diegorodriguezv</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Genesis_block&amp;diff=68528</id>
		<title>Genesis block</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Genesis_block&amp;diff=68528"/>
		<updated>2021-03-14T06:06:15Z</updated>

		<summary type="html">&lt;p&gt;Diegorodriguezv: /* Coinbase */ Fixed grammar and improved punctuation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;genesis block&#039;&#039;&#039; is the first block of a [[block chain]]. Modern versions of Bitcoin number it as &#039;&#039;&#039;block 0&#039;&#039;&#039;, though very early versions counted it as block 1. The genesis block is almost always hardcoded into the software of the applications that utilize its block chain. It is a special case in that it does not reference a previous block, and for [[Bitcoin]] and almost all of its derivatives, it produces an unspendable subsidy.&lt;br /&gt;
&lt;br /&gt;
== Main network genesis block ==&lt;br /&gt;
Here is a representation of the genesis block&amp;lt;ref name=&amp;quot;block&amp;quot;&amp;gt;{{cite block|hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f|0|year=2009|month=01|day=03}}&amp;lt;/ref&amp;gt; as it appeared in a comment in an old version of Bitcoin ([http://sourceforge.net/p/bitcoin/code/133/tree/trunk/main.cpp#l1613 line 1613]). The first section defines exactly all of the variables necessary to recreate the block. The second section is the block in standard printblock format, which contains shortened versions of the data in the first section.&lt;br /&gt;
&lt;br /&gt;
 GetHash()      = 0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&lt;br /&gt;
 hashMerkleRoot = 0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&lt;br /&gt;
 txNew.vin[0].scriptSig     = 486604799 4 0x736B6E616220726F662074756F6C69616220646E6F63657320666F206B6E697262206E6F20726F6C6C65636E61684320393030322F6E614A2F33302073656D695420656854&lt;br /&gt;
 txNew.vout[0].nValue       = 5000000000&lt;br /&gt;
 txNew.vout[0].scriptPubKey = 0x5F1DF16B2B704C8A578D0BBAF74D385CDE12C11EE50455F3C438EF4C3FBCF649B6DE611FEAE06279A60939E028A8D65C10B73071A6F16719274855FEB0FD8A6704 OP_CHECKSIG&lt;br /&gt;
 block.nVersion = 1&lt;br /&gt;
 block.nTime    = 1231006505&lt;br /&gt;
 block.nBits    = 0x1d00ffff&lt;br /&gt;
 block.nNonce   = 2083236893&lt;br /&gt;
 &lt;br /&gt;
 CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)&lt;br /&gt;
   CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)&lt;br /&gt;
     CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)&lt;br /&gt;
     CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)&lt;br /&gt;
   vMerkleTree: 4a5e1e&lt;br /&gt;
===Hash===&lt;br /&gt;
The hash of the genesis block, &#039;&#039;&#039;000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&#039;&#039;&#039;,&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt; has two more leading hex zeroes than were required for an early block.&lt;br /&gt;
&lt;br /&gt;
===Coinbase===&lt;br /&gt;
[[File:jonny1000thetimes.png|thumb|256px|The Times 03/Jan/2009]]&lt;br /&gt;
The [[coinbase]] parameter (seen above in hex) contains, along with the normal data, the following text:&amp;lt;ref&amp;gt;[http://web.archive.org/web/20140309004338/http://uk.reuters.com/article/2009/01/03/idUKPTIP32510920090103 Reuters&#039; reference on The Financial Times article (archive.org cached copy)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The Times 03/Jan/2009 Chancellor on brink of second bailout for banks&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was probably intended as proof that the block was created on or after January 3, 2009, as well as a comment on the instability caused by fractional-reserve banking. Additionally, it suggests that [[Satoshi Nakamoto]] may have lived in the United Kingdom.&amp;lt;ref&amp;gt;{{cite web|author=Davis, J.|year=2011|title=The Crypto-Currency|publisher=&#039;&#039;The New Yorker&#039;&#039;|url=http://www.newyorker.com/magazine/2011/10/10/the-crypto-currency}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This detail, &amp;quot;second bailout for banks&amp;quot; could also suggest that in a supposedly liberal and capitalist system, rescuing banks like that was a problem for Satoshi. The chosen topic could hint at bitcoin&#039;s purpose.&lt;br /&gt;
&lt;br /&gt;
===Block reward===&lt;br /&gt;
The first 50 BTC block reward went to [[address]] &#039;&#039;1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa&#039;&#039;,&amp;lt;ref name=&amp;quot;block&amp;quot;/&amp;gt; though this reward can&#039;t be spent due to a quirk in the way that the genesis block is expressed in the code. It is not known if this was done intentionally or accidentally.&amp;lt;ref&amp;gt;http://bitcoin.stackexchange.com/questions/10009/why-can-t-the-genesis-block-coinbase-be-spent&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.reddit.com/r/Bitcoin/comments/1nc13r/the_first_50btc_block_reward_cant_be_spend_why/&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://github.com/bitcoin/bitcoin/blob/9546a977d354b2ec6cd8455538e68fe4ba343a44/src/main.cpp#L1668 - Genesis block transaction treated as a special case in the reference code&amp;lt;/ref&amp;gt; It is believed that other outputs sent to this address are spendable, but it is unknown if Satoshi Nakamoto has the private key for this particular address, if one existed at all.&lt;br /&gt;
&lt;br /&gt;
===Timestamp===&lt;br /&gt;
Although the average time between Bitcoin blocks is 10 minutes, the [[block timestamp|timestamp]] of the next block is a full 6 days after the genesis block. One interpretation is that Satoshi was working on bitcoin for some time beforehand and the &#039;&#039;The Times&#039;&#039; front page prompted him to release it to the public. He then mined the genesis block with a timestamp in the past to match the headline. It is also possible that, since the block&#039;s hash is so low, he may have spent 6 days mining it with the same timestamp before proceeding to block 1. The [[prenet hypothesis]] suggests that the genesis block was solved on January 3, but the software was tested by Satoshi Nakamoto using that genesis block until January 9, when all the test blocks were deleted and the genesis block was reused for the main network.&lt;br /&gt;
&lt;br /&gt;
===Raw block data===&lt;br /&gt;
&lt;br /&gt;
The [https://bitcointalk.org/index.php?topic=52706 raw hex version] of the Genesis block looks like:&lt;br /&gt;
 00000000   01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000010   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000020   00 00 00 00 3B A3 ED FD  7A 7B 12 B2 7A C7 2C 3E   ....;£íýz{.²zÇ,&amp;gt;&lt;br /&gt;
 00000030   67 76 8F 61 7F C8 1B C3  88 8A 51 32 3A 9F B8 AA   gv.a.È.ÃˆŠQ2:Ÿ¸ª&lt;br /&gt;
 00000040   4B 1E 5E 4A 29 AB 5F 49  FF FF 00 1D 1D AC 2B 7C   K.^J)«_Iÿÿ...¬+|&lt;br /&gt;
 00000050   01 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000060   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................&lt;br /&gt;
 00000070   00 00 00 00 00 00 FF FF  FF FF 4D 04 FF FF 00 1D   ......ÿÿÿÿM.ÿÿ..&lt;br /&gt;
 00000080   01 04 45 54 68 65 20 54  69 6D 65 73 20 30 33 2F   ..EThe Times 03/&lt;br /&gt;
 00000090   4A 61 6E 2F 32 30 30 39  20 43 68 61 6E 63 65 6C   Jan/2009 Chancel&lt;br /&gt;
 000000A0   6C 6F 72 20 6F 6E 20 62  72 69 6E 6B 20 6F 66 20   lor on brink of &lt;br /&gt;
 000000B0   73 65 63 6F 6E 64 20 62  61 69 6C 6F 75 74 20 66   second bailout f&lt;br /&gt;
 000000C0   6F 72 20 62 61 6E 6B 73  FF FF FF FF 01 00 F2 05   or banksÿÿÿÿ..ò.&lt;br /&gt;
 000000D0   2A 01 00 00 00 43 41 04  67 8A FD B0 FE 55 48 27   *....CA.gŠý°þUH&#039;&lt;br /&gt;
 000000E0   19 67 F1 A6 71 30 B7 10  5C D6 A8 28 E0 39 09 A6   .gñ¦q0·.\Ö¨(à9.¦&lt;br /&gt;
 000000F0   79 62 E0 EA 1F 61 DE B6  49 F6 BC 3F 4C EF 38 C4   ybàê.aÞ¶Iö¼?Lï8Ä&lt;br /&gt;
 00000100   F3 55 04 E5 1E C1 12 DE  5C 38 4D F7 BA 0B 8D 57   óU.å.Á.Þ\8M÷º..W&lt;br /&gt;
 00000110   8A 4C 70 2B 6B F1 1D 5F  AC 00 00 00 00            ŠLp+kñ._¬....&lt;br /&gt;
&lt;br /&gt;
Broken down it looks like this:&lt;br /&gt;
&lt;br /&gt;
 01000000 - version&lt;br /&gt;
 0000000000000000000000000000000000000000000000000000000000000000 - prev block&lt;br /&gt;
 3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A - merkle root&lt;br /&gt;
 29AB5F49 - timestamp&lt;br /&gt;
 FFFF001D - bits&lt;br /&gt;
 1DAC2B7C - nonce&lt;br /&gt;
 01 - number of transactions&lt;br /&gt;
 01000000 - version&lt;br /&gt;
 01 - input&lt;br /&gt;
 0000000000000000000000000000000000000000000000000000000000000000FFFFFFFF - prev output&lt;br /&gt;
 4D - script length&lt;br /&gt;
 04FFFF001D0104455468652054696D65732030332F4A616E2F32303039204368616E63656C6C6F72206F6E206272696E6B206F66207365636F6E64206261696C6F757420666F722062616E6B73 - scriptsig&lt;br /&gt;
 FFFFFFFF - sequence&lt;br /&gt;
 01 - outputs&lt;br /&gt;
 00F2052A01000000 - 50 BTC&lt;br /&gt;
 43 - pk_script length&lt;br /&gt;
 4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC - pk_script&lt;br /&gt;
 00000000 - lock time&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[zh-cn:创世block]]&lt;br /&gt;
[[es:Bloque Génesis]]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Diegorodriguezv</name></author>
	</entry>
</feed>