Skip to content

Commit

Permalink
Set license files and headers for bitcoin.org's content
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Nov 22, 2014
1 parent 27f1da3 commit 2a139a5
Show file tree
Hide file tree
Showing 276 changed files with 524 additions and 171 deletions.
14 changes: 5 additions & 9 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
Various picture files inside the folders listed above are subjected to copyright restrictions. The use of these materials is not permitted unless otherwise specified by their copyright owner.

img/brand
img/wallets
img/screenshots
img/faq
img/innovation
img/press
img/os
The intellectual property rights in the files are owned by the respective
authors. Some of the files can be licensed under MIT License (MIT) available on
http://opensource.org/licenses/MIT or other licenses. Appropriate licensing
information can be found in the header of the file or in the folder containing
the file.
3 changes: 3 additions & 0 deletions _autocrossref.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.

## List of words to match with references in _includes/references.md
## in developer documentation, used by autocrossref.rb plugin.
## "pattern to match in file" => "reference to give it"
Expand Down
3 changes: 3 additions & 0 deletions _contrib/comparelinks.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.

## This script is used to compare all links between two branches of the
## website. Each branches are built and compared.

Expand Down
3 changes: 3 additions & 0 deletions _contrib/updatetx.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env ruby

# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.

#Drop outdated fallback HTML code in all layouts for specified language.
#Example: ./_contrib/updatetx.rb

Expand Down
5 changes: 5 additions & 0 deletions _includes/example_intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

{% autocrossref %}

The following guide aims to provide examples to help you start
Expand Down
5 changes: 5 additions & 0 deletions _includes/example_p2p_networking.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## P2P Network

### Retrieving A MerkleBlock
Expand Down
5 changes: 5 additions & 0 deletions _includes/example_payment_processing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Payment Processing

### Payment Protocol
Expand Down
5 changes: 5 additions & 0 deletions _includes/example_testing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Testing Applications

{% autocrossref %}
Expand Down
15 changes: 10 additions & 5 deletions _includes/example_transactions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Transactions

### Transaction Tutorial
Expand Down Expand Up @@ -221,7 +226,7 @@ second argument (a JSON object) creates the output with the address
(public key hash) and number of bitcoins we want to transfer.
We save the resulting raw format transaction to a shell variable.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** `createrawtransaction` does not automatically create change
outputs, so you can easily accidentally pay a large transaction fee. In
this example, our input had 50.0000 bitcoins and our output
Expand Down Expand Up @@ -429,7 +434,7 @@ Use the `dumpprivkey` RPC to get the private keys corresponding to the
public keys used in the two UTXOs out inputs we will be spending. We need
the private keys so we can sign each of the inputs separately.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** Users should never manually manage private keys on mainnet.
As dangerous as raw transactions are (see warnings above), making a
mistake with a private key can be much worse---as in the case of a HD
Expand Down Expand Up @@ -586,7 +591,7 @@ Offline signing is safe. However, in this example we will also be
spending an output which is not part of the block chain because the
transaction containing it has never been broadcast. That can be unsafe:

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** Transactions which spend outputs from unconfirmed
transactions are vulnerable to transaction malleability. Be sure to read
about transaction malleability and adopt good practices before spending
Expand Down Expand Up @@ -973,7 +978,7 @@ redeem script.
The P2SH address is returned along with the redeem script which must be
provided when we spend satoshis sent to the P2SH address.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** You must not lose the redeem script, especially if you
don't have a record of which public keys you used to create the P2SH
multisig address. You need the redeem script to spend any bitcoins sent
Expand Down Expand Up @@ -1124,7 +1129,7 @@ transaction, the same way we got private keys in the Complex Raw
Transaction subsection. Recall that we created a 2-of-3 multisig pubkey script,
so signatures from two private keys are needed.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Reminder:** Users should never manually manage private keys on
mainnet. See the warning in the [complex raw transaction section][devex
complex raw transaction].
Expand Down
5 changes: 5 additions & 0 deletions _includes/fragment_reviews_needed.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

<!--Temporary disclaimer BEGIN-->
<div id="develdocdisclaimer" class="develdocdisclaimer"><div>
<b>BETA</b>: This documentation has been written recently and still needs more reviews to ensure all content is covered correctly and accurately; if you find a mistake, please <a href="https://github.com/bitcoin/bitcoin.org/issues/new" onmouseover="updateIssue(event);">report an issue</a> on GitHub. <a href="#" onclick="disclaimerClose(event);">Click here</a> to close this disclaimer.
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_block_chain.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Block Chain

{% autocrossref %}
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_contracts.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Contracts

{% autocrossref %}
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

{% autocrossref %}

The Developer Guide aims to provide the information you need to understand
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_mining.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Mining

{% autocrossref %}
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_operating_modes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Operating Modes

{% autocrossref %}
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_p2p_network.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## P2P Network

{% autocrossref %}
Expand Down
7 changes: 6 additions & 1 deletion _includes/guide_payment_processing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Payment Processing

{% autocrossref %}
Expand Down Expand Up @@ -116,7 +121,7 @@ payment requests is recommended.
increased security, authentication of a receiver's identity using X.509 certificates,
and other important features such as refunds.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** Special care must be taken to avoid the theft of incoming
payments. In particular, private keys should not be stored on web servers,
and payment requests should be sent over HTTPS or other secure methods
Expand Down
5 changes: 5 additions & 0 deletions _includes/guide_transactions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Transactions

{% autocrossref %}
Expand Down
7 changes: 6 additions & 1 deletion _includes/guide_wallets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Wallets

{% autocrossref %}
Expand Down Expand Up @@ -508,7 +513,7 @@ as 128 bits is the the only data the user needs to backup in order to
derive every key created by a particular wallet program using
particular settings.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** As of this writing, HD wallet programs are not expected to
be fully compatible, so users must only use the same HD wallet program
with the same HD-related settings for a particular root seed.
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_block_chain.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Block Chain

The following subsections briefly document core block details.
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_core_rpc_intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

### Hash Byte Order

{% autocrossref %}
Expand Down
9 changes: 7 additions & 2 deletions _includes/ref_core_rpcs-abcdefg.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

#### addmultisigaddress

~~~
Expand Down Expand Up @@ -1925,7 +1930,7 @@ getinfo

Prints various information about the node and the network.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** `getinfo` will be removed in a later version of Bitcoin
Core. Use `getblockchaininfo`, `getnetworkinfo`, or `getwalletinfo`
instead.
Expand Down Expand Up @@ -3222,7 +3227,7 @@ getwork [data]
Provides a block header which can be hashed to attempt to find the next
block, and lets a miner return a successful header.

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**Warning:** `getwork` will be removed in Bitcoin Core 0.10. Use
the `getblocktemplate` RPC instead.

Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_core_rpcs-hijklmn.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

#### help

~~~
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_core_rpcs-opqrst.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

#### ping

~~~
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_core_rpcs-uvwxyz.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

#### validateaddress

~~~
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

{% autocrossref %}

The Developer Reference aims to provide specifications and API information
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_p2p_networking.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## P2P Network

{% autocrossref %}
Expand Down
9 changes: 7 additions & 2 deletions _includes/ref_transactions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Transactions

The following subsections briefly document core transaction details.
Expand Down Expand Up @@ -63,7 +68,7 @@ A complete list of OP codes can be found on the Bitcoin Wiki [Script
Page][wiki script], with an authoritative list in the `opcodetype` enum
of the Bitcoin Core [script header file][core script.h]

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**<span id="signature_script_modification_warning">Signature script modification warning</span>:**
Signature scripts are not signed, so anyone can modify them. This
means signature scripts should only contain data and data-pushing op
Expand All @@ -73,7 +78,7 @@ makes a transaction non-standard, and future consensus rules may forbid
such transactions altogether. (Non-data-pushing op codes are already
forbidden in signature scripts when spending a P2SH pubkey script.)

![Warning icon](/img/icon_warning.svg)
![Warning icon](/img/icons/icon_warning.svg)
**`OP_CHECKMULTISIG` warning:** The multisig verification process
described above requires that signatures in the signature script be
provided in the same order as their corresponding public keys in
Expand Down
5 changes: 5 additions & 0 deletions _includes/ref_wallets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

## Wallets

### Deterministic Wallet Formats
Expand Down
5 changes: 5 additions & 0 deletions _includes/references.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

<!-- Terms; must have tooltip description in "quotes"; alphabetical order -->
[51 percent attack]: /en/developer-guide#term-51-attack "The ability of someone controlling a majority of hashing power to revise transactions history and prevent new transactions from confirming"
[addr message]: /en/developer-guide#term-addr-message "A Bitcoin network protocol message which relays IP addresses and port numbers of active nodes to other nodes and clients, allowing decentralized peer discovery."
Expand Down
3 changes: 3 additions & 0 deletions _layouts/alert.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.

layout: base
lang: en
---
Expand Down
Loading

0 comments on commit 2a139a5

Please sign in to comment.