dash-docs/en/developer-glossary.html
2015-08-21 02:20:14 -04:00

98 lines
3.1 KiB
HTML

---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
title: Developer Glossary - Bitcoin
layout: base
lang: en
breadcrumbs:
- bitcoin
- dev docs
- Glossary
---
<link rel="stylesheet" href="/css/jquery-ui.min.css">
{% capture markdown_content %}
# Bitcoin Developer Glossary
<input id="glossary_term" class="glossary_term" placeholder="Search the glossary, RPCs, and more">
<div markdown="block" class="notice">
<span markdown="span">This is a technical glossary. Regular users should use the [vocabulary
page](/en/vocabulary).</span>
</div>
{% comment %}
## The following single-space-indented code (sorry, whitespace
## sensitive) takes the alphabetized array of individual hash objects
## and puts them in a list sorted by the first character of each term
## characters (case insensitive). E.g.:
##
## Alpha
## Apropos
##
## Beta
##
## Gamma
## Gnu
##
## The current style sheet gives each item a certain width and then
## floats them so terms starting with the same character are grouped
## together. Hopefully this strikes the right balance between
## information density and too much whitespace.
{% endcomment %}
## Numbers
<!-- no subhead-links here -->
{% for item in site.devsearches.Glossary %}
{% if forloop.first %}{% assign first_term = true %}{% else %}{% assign first_term = false %}{% endif %}
{% for term in item %}
{% capture text_and_link %}<a href="{{term[1]}}">{{term[0]}}</a>{% endcapture %}
{% capture first_character %}{{term[0] | downcase | truncate: 1, '' }}{% endcapture %}
{% if first_character == 'a' %}
{% assign finished_with_numbers = true %}
{% endif %}
{% if first_character == last_first_character %}
<li markdown="span">{{text_and_link}}</li>
{% else %}
{% unless first_term %}
</ul><br class="clear">
{% endunless %}
{% if finished_with_numbers %}
## {{ first_character | upcase }}
<!-- no subhead-links here -->
{% endif %}
{% case first_character %}
{% when 'b' %}
See also: [Bitcoin Improvement Proposals (BIPs)](https://github.com/bitcoin/bips#readme)
{% when 'o' %}
See also: [Op codes](https://en.bitcoin.it/wiki/Script#Words)
{% when 'p' %}
See also: [P2P protocol messages](/en/developer-reference#data-messages)
{% when 'r' %}
See also: [Bitcoin Core RPCs](/en/developer-reference#rpc-quick-reference)
{% endcase %}
<ul class="wrapped_list">
<li markdown="span">{{text_and_link}}</li>
{% endif %}
{% capture last_first_character %}{{first_character}}{% endcapture %}
{% endfor %}
{% endfor %}
{% comment %}Close off last list and end the float: {% endcomment %}
</ul><br class="clear">
<div markdown="block" class="notice">
<span markdown="span">Can't find what you're looking for? [Suggest a
new term][] for the glossary!</span>
</div>
[suggest a new term]: https://github.com/bitcoin-dot-org/bitcoin.org/issues/new?title=New%20glossary%20term%20suggestion:
{% include references.md %}
{{site.glossary_links}}
{% endcapture %}
{{ markdown_content | markdownify }}
<script src="/js/jquery/jquery-1.11.2.min.js"></script>
<script src="/js/jquery/jquery-ui.min.js"></script>
<script src="/js/devsearch.js"></script>