Commit graph

196 commits

Author SHA1 Message Date
David A. Harding
d1f49ba2c2
Combine /index, /<lang>/index, and /404 2015-07-24 16:56:57 -04:00
Josh Billings
8e2914e3f5 Fixed broken url to script.h 2015-07-24 10:12:17 -04:00
David A. Harding
ee554df519
Dev Docs: Clarify Protocol Version / Bitcoin Core Relationship
Closes #958
2015-07-11 12:00:44 -04:00
David A. Harding
de46853640
Merge pull #873 and #948
- 873: Dev Docs: Remove Outdated Info From Payment Processing Section
- 948: Allow Use Of Markdown For Alerts
2015-07-07 20:02:52 -04:00
mruddy
b01af43151 second shot at making the definitions more clear 2015-06-27 07:02:45 -04:00
mruddy
0368f10e71 fix a link and attempt to clarify SIGHASH_SINGLE 2015-06-26 09:11:25 -04:00
David A. Harding
b347044eb2
Repository Move: Update Repository URLs
git ls-tree --full-tree -r HEAD \
  | sed 's/^.\{53\}//'          \
  | xargs sed -i 's^https://github.com/bitcoin/bitcoin.org^https://github.com/bitcoin-dot-org/bitcoin.org^g'
2015-06-23 09:08:40 -04:00
David A. Harding
b847610e1b
Dev Docs: Clarify Bitcoin Core Block Broadcast Behavior
Based on a question from Bitcoin.SE: http://bitcoin.stackexchange.com/q/37807
2015-06-05 14:10:41 -04:00
David A. Harding
d535cd40f5
Dev Docs: Remove Outdated Info From Payment Processing Section
Based on an issue opened by Dionysis Zindros (thanks!)

Closes #868
2015-06-03 14:14:39 -04:00
David A. Harding
24a2e35ccd
Dev Docs: Fix Autoxref of "header" in P2P Section
Reported by aliakbarahmadi (thanks!)

Closes #867
2015-05-30 13:02:17 -04:00
Luke Dashjr
e60a5db2fd Update URIs for libblkmaker and Eloipool (Gitorious is dead) 2015-05-23 00:04:57 +00:00
David A. Harding
400bed4343
Merge pulls #839 and #840
* 839: Dev Docs Glossary: Add Denominations Entry
* 840: Bitcoin.pdf: Add A Page That Lists Translations
2015-04-25 19:02:56 -04:00
David A. Harding
d383940ecb
Bitcoin.pdf: Create Page Linking To Translations
- Adds a new page linking to all translations of Nakamoto's Bitcoin
  paper, and also provides instructions for adding new translations

- Changes all links on the site that used to point directly to the
  English bitcoin.pdf to point to the new page.

- Add Spanish Translation by Breathingdog, as well as Spanish strings
  for the now page also by Breathingdog
2015-04-24 15:05:55 -04:00
David A. Harding
6df57cf942
Dev Docs Glossary: Add Denominations Entry
Suggested by Jameson Lopp (thanks!)
2015-04-24 13:43:03 -04:00
David A. Harding
2a2df421c1
Dev Docs: Change Text To Make Autoxref Consistent 2015-04-23 12:56:47 -04:00
David A. Harding
224127f2f0
Merge pulls #824 and #830
* 824: Dev Docs: Update For New 'generate' RPC
* 830: Link "quantum computing" in FAQ to related Bitcoin Magazine article
2015-04-22 17:38:44 -04:00
David A. Harding
31bf3d8648
Dev Docs: Fix s/offline wallet/signing-only wallet/
Suggested by cbaumler (thanks!)

Closes #835
2015-04-20 16:37:49 -04:00
David A. Harding
a2a5f454cb
Revert "Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box""
This reverts commit 961d6c988f.
2015-04-14 08:55:53 -04:00
David A. Harding
df2f3a77d0
Dev Docs: Describe New RPC 'generate' In Examples 2015-04-12 20:31:27 -04:00
David A. Harding
ab7ca1f26f
Dev Docs: RPCs: Add New 'generate' & Note 'getgenerate' Change 2015-04-12 20:30:59 -04:00
David A. Harding
961d6c988f
Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box"
This reverts commit e3dcf0ce1f, reversing
changes made to c71e9fdf2d.

Once again we had a broken new plugin that Travis CI and local building
didn't catch.
2015-04-10 19:33:39 -04:00
David A. Harding
e3dcf0ce1f
Merge pull #793: Dev Docs: New Glossary & JS Search Box 2015-04-10 19:05:27 -04:00
gwillen
32519952cd
Reword description of transaction execution
I believe that the current description of transaction execution is not
accurately describing how the stack machine works. (It's close but uses
slightly misleading wording.) While data values are pushed when executed
in the script, other opcodes are never pushed; they are simply executed.

Wording improved per apoelstra's comments.

Rebased-from: 54f01b2d0b2b2383fd0d9085a829b55d83f7cd67
Rebased-by: David A. Harding
Closes #816
2015-04-10 10:02:45 -04:00
David A. Harding
2c1615e75b
Dev Docs: Remove security confusion from P2SH intro
Somebody thought the paragraph being revised in this commit implied that
P2SH was implemented because P2PKH had security problems:

  http://bitcoin.stackexchange.com/q/36695/21052
2015-04-01 09:07:02 -04:00
David A. Harding
801ea9f4ad
Fix links for new glossary entries 2015-03-19 15:32:09 -04:00
David A. Harding
494dfaced7
Dev Docs: Add Glossary Entries & Search Links
This adds the data used to populate the glossary and search terms.

Closes #593
2015-03-19 15:31:44 -04:00
David A. Harding
037cd4553a
Add New Glossary Page And Developer Search Feature
This commit adds the code necessary to generate a new
en/developre-glossary page with entry pages in the en/glossary/
directory, e.g. en/glossary/51-percent-attack.

The glossary page and the individual term pages feature a JavaScript
search engine (no CGI) for just glossary terms.  This search box has
also been added to the following pages:

    * Developer Documentation (the index page)
    * Developer Guide
    * Developer Reference
    * Developer Examples

The search box requires the following MIT-licensed libraries:

    * JQuery
    * JQuery UI
    * JQuery UI CSS stylesheet

These allow our JS code to be almost trivially simple in js/devsearch.js

This commit adds only code.  Actual glossary entry data will be added in
a subsequent commit.
2015-03-19 15:31:28 -04:00
David A. Harding
7dad293c31
Merge pulls #783, #788, Addr fix
* #783: make 'Getting Started' more dense
* #788: fix typo on timereceived
* Addr fix: fix addr mislink reported by larshesel (thanks!)
2015-03-19 13:40:45 -04:00
Christopher Gurnee
7f4a590894 Fix 'addr message' reference links (fixes #792) 2015-03-19 11:53:20 -04:00
Diogo Quintela
15b779049b typo on timereceived (was timerecived) 2015-03-11 13:55:02 +00:00
David A. Harding
fc10efd3dc
Dev Docs: Fix Confusing Sentence About UTXO/Input Values
Reported by Nathan Wilcox (thanks!)

Closes #766
2015-02-24 16:25:48 -05:00
David A. Harding
2c44b59d88
Dev Docs: Use Sed To Convert Tables To YAML
Run sed -i -f <this_file.sed> _includes/ref/bitcoin-core/rpcs/rpcs/* _includes/ref/bitcoin-core/rest/requests/get_* _includes/helpers/vars.md

    ## On lines that start with a pipe:
    /^|/ {
        ## Delete all table header/table body divider lines
        /|----/d;

        ## Escape all double quotes
        s/"/\\"/g;

        ## Replace lines that look like NTPD headers with a itemplate start block
        s/^| Name *| Type.*/{% itemplate ntpd1 %}/;

        ## Delete extraneous whitespace
        s/ *|/|/g;

        ## Replace the first pipe with "- name:" plus a start quote
        s/^| */- n: "/;

        ## Replace the remaining pipes, starting each one with a newline and two spaces
        s/| */"\n  t: "/;
        s/| */"\n  p: "/;
        s/| */"\n  d: "/;

        ## Add a close quote and an empty line after the last list item
        ## built from a single table row, except for the header row. This
        ## improves readability/maintainability
        /[^}]$/s/$/"\n/;
    }

    ## Replace the old table class with the itemplate close tag
    s/{:.ntpd}/{% enditemplate %}/
2015-02-20 15:39:10 -05:00
David A. Harding
79fd671e90
Add New Inline-Template Plugin
Also add inline template for RPC and REST tables
2015-02-20 15:38:53 -05:00
David A. Harding
3d7ba837bb
Dev Docs: Fix a->an typo (thanks Saïvann!) 2015-02-19 07:22:17 -05:00
David A. Harding
72cc5f7f9e
Dev Docs: Add Section About Headers-First IBD
* Add flowchart illustration to blocks-first section to match new
  headers-first flowchart

* Add new headers-first initial block download (IBD) section

* Revise Block Broadcasting section

* Add paragraph about orphan block handling in headers-first to the
  Orphan Blocks section
2015-02-05 16:16:46 -05:00
David A. Harding
848429f0c9
Dev Docs: Tweak GetHashesPerSec Deprecation
* Ran `make manual-updates` to grab new summary

* Clarified that GHPS is part of 0.10.0 and is removed in master

* Autocrossref'd "Bitcoin Core master" to GitHub repo

* Removed GHPS from list of Mining RPCs now that it's in Removed RPCs
2015-02-02 09:59:20 -05:00
Rui Marinho
f2e268da4a Dev Docs: Deprecate gethashespersec rpc call in 0.10.0. 2015-02-02 01:19:36 +00:00
David A. Harding
a1b7d1e532
Dev Docs: Put summary_ variables in alphabetical order
* Simply ran `make manual-updates` using previously-commited sort patch
2015-02-01 18:21:51 -05:00
David A. Harding
e0f1a369da
Dev Docs: Merge Pull #685 and Pull #721
* 685: Dev Docs: Document Blocks-First IBD & Orphan Blocks
* 721: Dev Docs: Mention Upcoming v3 Blocks/BIP66
2015-02-01 18:20:38 -05:00
David A. Harding
3109903065
Dev Docs: Corrections to IBD Suggested By Saivann (Thanks!) 2015-01-31 16:12:57 -05:00
David A. Harding
ccda4caa0c
Dev Docs: Document Blocks-First IBD & Orphan Blocks
This commit provides a detailed overview of the current block download
method, which I've retroactively named blocks-first for parallelism with
headers-first.

New And Significantly Revised:

* New Initial Block Download (IBD) section (h3) with Blocks-First
  subsection (h4)

* New Orphan Block subsection (under Blocks Broadcasting) describing
  orphan blocks and how they're handled under blocks-first. Also
  includes a simple illustration of the difference between orphan blocks
  and stale blocks. Thanks to luke-jr for his s/orphan block/stale
  block/ commit a couple months ago---that made this commit much easier.

Edits:

* Cleaned up a couple cases missed by previous s/orphan/stale/ commit
  because they used past tense (orphaned).

* In P2P reference section, mentioned that a `block` message can be sent
  unsolicited by miners.

* Mention that `getheaders` and `headers` were added in protocol
  version 31800.

* Moved a few internal links around and added a few new internal links.

Administrivia:

* Started adding "TODOv0.10" in HTML comments to places that need to be
  updated when 0.10 is released so that I can easily git grep for that
  tag later.
2015-01-31 15:48:16 -05:00
David A. Harding
2312aa10fd
Dev Docs: Merge RPC and RPC Intro
This commit merges the RPC introduction section (h4), "JSON-RPC &
bitcoin-cli" into the currently-empty RPC section (h3).  To do this, it
splits the contents of the file `_includes/ref_core_rpc_intro.md` into
the new files `_includes/ref/bitcoin-core/api-intro.md` and
`_includes/ref/bitcoin-core/rpcs/intro.md`
2015-01-27 18:40:20 -05:00
David A. Harding
73eb097dd4
Dev Docs: REST: Add Security Note & Reindex Note
Added both notes to both JSON-RPC and REST docs.

Suggested by Jonas Schnelli (thanks!)
2015-01-26 14:41:05 -05:00
David A. Harding
dc5c161ee2
Dev Docs: Mention Upcoming v3 Blocks/BIP66 2015-01-26 14:14:54 -05:00
David A. Harding
5f532c59da
Dev Docs: Add REST Documentation
* Uses same basic format as JSON-RPC documentation.

Closes #715
2015-01-26 11:29:07 -05:00
David A. Harding
81d4f310d6
Dev Docs: Add Missing Details To ListTransactions RPC
Looks like I lost/forgot to include the variablized-table for this RPC.
2015-01-10 13:32:22 -05:00
shaulkf
e68d8f2f83 Dev Docs: Specify block halving time in regtest mode 2015-01-10 11:45:03 -05:00
David A. Harding
2d46b41e3e
Dev Docs: Update IsStandard ScriptSig Size For BCC 0.9.3/10.0.0
Also fix a few other minor issues in that section.

Thanks to gsalgado for reporting this!  Closes #705
2015-01-08 10:43:39 -05:00
David A. Harding
ddbc448553
Dev Docs: Fix Confusion About Chain Switching
As discussed on BitcoinTalk, there was confusion about whether a
non-upgraded node would switch to the strongest chain despite that chain
not following the consensus rules known to the non-upgraded node.  Also
updated to mention Bitcoin Core 0.10.0 now that it's RC'd.

Ref: https://bitcointalk.org/index.php?topic=909732.msg9999032#msg9999032
2015-01-03 09:36:28 -05:00
David A. Harding
9329c69cf8
Dev Docs: Put RPC Tables In Separate CSS Class
Suggested by Saivann: RPC tables with Name/Type/Presence/Description
format are now in .ntpd CSS class so that we can format them specially.

We also change the style of all dev doc tables to replace bold table
headings (thead) with a double-line border-bottom.  This makes the
theads look less like section headings and prevents us from over-using
bold.

Minor: a Makefile warning message has been made more explicit (also
suggested by Saivann) and another Makefile rule was updated to catch
more broken tables.
2014-12-30 16:03:19 -05:00