Skip to content

Commit

Permalink
Prepare documentation files for processing
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzzmi committed Aug 16, 2017
1 parent 2b9db69 commit d7c7837
Show file tree
Hide file tree
Showing 19 changed files with 80 additions and 98 deletions.
8 changes: 4 additions & 4 deletions _devdocs/examples/intro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---
{% assign filename="_includes/devdoc/example_intro.md" %}

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

## P2P Network

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/examples/payment_processing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/example_payment_processing.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Payment Processing

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/examples/testing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/example_testing.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Testing Applications

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/examples/transactions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/example_transactions.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Transactions

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/block_chain.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_block_chain.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Block Chain

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/contracts.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_contracts.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Contracts

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

---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---
The Developer Guide aims to provide the information you need to understand
Bitcoin and start building Bitcoin-based applications, but it is [not a
specification][]. To make the best use of
Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/mining.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_mining.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Mining

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/operating_modes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_operating_modes.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Operating Modes

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/p2p_network.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_p2p_network.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## P2P Network

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/payment_processing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_payment_processing.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Payment Processing

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/transactions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_transactions.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Transactions

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/guides/wallets.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/guide_wallets.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Wallets

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/references/block_chain.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/ref_block_chain.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Block Chain

Expand Down
9 changes: 4 additions & 5 deletions _devdocs/references/intro.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/ref_intro.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

The Developer Reference aims to provide technical details and API information
to help you start building Bitcoin-based applications, but it is [not a
Expand Down
9 changes: 4 additions & 5 deletions _devdocs/references/p2p_networking.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/ref_p2p_networking.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## P2P Network

Expand Down
15 changes: 7 additions & 8 deletions _devdocs/references/transactions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/ref_transactions.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Transactions

Expand Down Expand Up @@ -151,7 +150,7 @@ bytes commonly used by Bitcoin are:

4. Append the checksum to the version and hash, and encode it as a base58
string: <!--[-->`BASE58(version . hash . checksum)`<!--]-->

Bitcoin's base58 encoding, called [Base58Check][/en/glossary/base58check]{:#term-base58check}{:.term} may not match other implementations. Tier
Nolan provided the following example encoding algorithm to the Bitcoin
Wiki [Base58Check
Expand All @@ -164,7 +163,7 @@ x = convert_bytes_to_big_integer(hash_result)

output_string = ""

while(x > 0)
while(x > 0)
{
(x, remainder) = divide(x, 58)
output_string.append(code_string[remainder])
Expand Down Expand Up @@ -210,7 +209,7 @@ A raw transaction has the following top-level format:
| *Varies* | tx_in | txIn | Transaction inputs. See description of txIn below.
| *Varies* | tx_out count | compactSize uint | Number of outputs in this transaction.
| *Varies* | tx_out | txOut | Transaction outputs. See description of txOut below.
| 4 | lock_time | uint32_t | A time (Unix epoch time) or block number. See the [locktime parsing rules][].
| 4 | lock_time | uint32_t | A time (Unix epoch time) or block number. See the [locktime parsing rules][].

A transaction may have multiple inputs and outputs, so the txIn and
txOut structures may recur within a transaction. CompactSize unsigned
Expand Down
11 changes: 5 additions & 6 deletions _devdocs/references/wallets.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/ref_wallets.md" %}
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
---

## Wallets
## Wallets

### Deterministic Wallet Formats
<!-- no subhead-links here -->
Expand Down

0 comments on commit d7c7837

Please sign in to comment.