Commit graph

140 commits

Author SHA1 Message Date
David A. Harding
82f00e8df9
Dev Docs: Add Subhead-Links To "Not A Spec" Subsection 2014-12-16 07:42:43 -05:00
David A. Harding
f08b3e1bb4 Dev Docs: Remove Majority Mentions In Not A Spec (thanks saivann) 2014-12-16 07:40:01 -05:00
David A. Harding
8f0a80a939 Dev Docs: "Not A Specification"
Make explicit that the docs are not a specification and never will be.
2014-12-16 07:40:01 -05:00
David A. Harding
34edbe8461
Merge pull #682: Dev Docs: Add "Edit|History|Report Issue|Discuss" Links To Subheads 2014-12-16 07:13:19 -05:00
David A. Harding
53d4a6eebe
Dev Docs: Move Manual Sourcefile Lines To Auto Helper (thanks saivann!) 2014-12-14 08:12:12 -05:00
David A. Harding
f368d38e04
Dev Docs: Add "Edit|History|Report Issue|Discuss" Links To Subheads 2014-12-13 17:35:21 -05:00
David A. Harding
66bffab758
Dev Docs: Update Disclaimer (thanks saivann!) 2014-12-12 19:59:20 -05:00
David A. Harding
25acab7584
Clarify Tx Update To Header Hashing I/O (closes #675)
Thanks darren-a and Saïvann.
2014-12-10 20:48:31 -05:00
David A. Harding
217ddb0701
Dev Docs (Formatting Only): Convert Fake Subheadings To Real Subheadings
Converts fake subheadings created using **bold** to real HTML
subheadings without adding them to the table of contents.

Also fixes a link broken by commit 4e067ac89e and adds a Makefile
test to catch future similar breakage.
2014-11-28 19:54:31 -05:00
David A. Harding
464272eeb0
Merge Pull #657: Dev Docs: Describe Filterload Message (Final P2P Message To Document) 2014-11-28 19:30:20 -05:00
Saivann
64a6f780be Merge branch 'license' 2014-11-28 10:54:28 -05:00
David A. Harding
b3c14aad89
Dev Docs: Made Corrections To Filterload Docs Suggested By @saivann (Thanks!) 2014-11-27 21:36:10 -05:00
David A. Harding
a8fd82c6a6 Dev Docs: Describe Filterload Message (Final P2P Message To Document)
New material:

* Add documentation for `filterload` message to devref. This is the last
  P2P protocol message which needed documentation.

* Add an example for creating a bloom filter to the devex, as well as an
  example of checking data against that filter.

Edits:

* Change "object" to "element" in previous `filteradd` text. I decided
  "transaction element" made more sense than the more generic "object".
  Text should be fully consistent across both `filterload` and
  `filteradd` descriptions.

* Mentioned that I think the example hexdump in the `alert` section is
  public domain. (Only the hex is taken from the wiki; the annotation is
  my own work.)
2014-11-27 21:27:01 -05:00
David A. Harding
b9ee23615a
Dev Docs: Change MerkleBlock To Merkle Block (But Not P2P Message Form) 2014-11-27 21:13:14 -05:00
David A. Harding
ecd5a349aa
Dev Docs: Correct Connection Establishment Message Order
Text said: version/verack/version/verack.  Correct order (per code and
my own testing) is version/version/verack/verack.
2014-11-24 10:02:21 -05:00
David A. Harding
4e067ac89e
Merge branch 'control-messages' (pull #649) 2014-11-22 00:06:29 -05:00
David A. Harding
bc69bf573c
Dev Docs: Link To CC-BY License For Covered Code
A code snippet from the wiki was correctly attributed to its author, but
I didn't realize I also had to link to the license.  Corrected.
2014-11-21 23:54:48 -05:00
Saivann
2a139a51a1 Set license files and headers for bitcoin.org's content 2014-11-21 19:09:12 -05:00
David A. Harding
f26a57e10e
Dev Docs: Prefix Table Rows With Added/Updated Status
Suggested by @saivann (thanks!)
2014-11-20 21:08:08 -05:00
David A. Harding
25dc0228f6 Merge remote-tracking branch 'saivann/protocolversions' into control-messages 2014-11-20 20:39:20 -05:00
Saivann
12685e71f3 Fix a few typos 2014-11-20 19:49:16 -05:00
Saivann
022ad12eaf Normalize references to protocol versions 2014-11-20 19:41:03 -05:00
David A. Harding
ff9c3f9886
Dev Docs: Warn That GetWork RPC Will Be Removed In 0.10
Just saw this mentioned in IRC and it's a trivial change.
2014-11-18 10:31:43 -05:00
David A. Harding
a149ae1f37
Dev Docs: Describe Almost All Remaining P2P Network Messages
* Describes all remaining messages except filterload. Specificially, the
  following messages are described: Addr, Alert, FilterAdd, FilterClear,
  GetAddr, Ping, Pong, Reject, VerAck, and Version

* New makefile test: report broken markdown tables

* Put relevant protocol version changes at the top of all message
  subsections.
2014-11-17 01:23:11 -05:00
David A. Harding
e29104fb82
Dev Docs: Fix Broken BitcoinJ Link
The makefile tests caught this, but it looks like I broke it back in
4553439e. Strangely, I did a full build before merging that commit---and
several more full builds since---and this is the first I'm noticing the
error. I'm fixing the broken link now; I'll look into the tests later.
2014-11-16 13:35:16 -05:00
David A. Harding
cc13a10623
Merge branch 'data-messages' (pull #642) 2014-11-16 13:20:54 -05:00
Saivann
bf2a40bdb7 Update hu translations 2014-11-15 16:21:14 -05:00
David A. Harding
9ee7b8b73b
Dev Docs: Fix Typos/Confusions In P2P Data Messages As Reported By @saivann (Thanks!) 2014-11-15 12:12:56 -05:00
David A. Harding
ade6d1aca1
Dev Docs: Tweak Revised Protocol Versions Table Style 2014-11-15 10:41:51 -05:00
Saivann
0437d7c434 Format "protocol versions" table content to improve readability 2014-11-14 20:01:33 -05:00
David A. Harding
1634212dd5
Dev Docs: Add P2P Messages That Request Or Reply With Data
Adds to the devel reference page detailed documentation on the following
messages: block, getblocks, getdata, getheaders, headers, inv, mempool,
merkleblock, notfound, and tx.

Adds to the devel examples page an example of requesting and parsing a
merkleblock message.

Adds to the devel docs overview pages links to the above two new
P2P sections.

Tweaks the autocrossref plugin ignore pattern to not crossref in the
middle of a GIF image name; this allows the inclusion of animated GIFs.
2014-11-12 12:39:36 -05:00
saivann
b9a6c105a1 Merge pull request #636 from bitcoin/bits
Add mentions and definitions for bits
2014-11-11 12:13:36 -05:00
Saivann
01bf6de924 Revert another mention for "bits" 2014-11-11 12:12:27 -05:00
David A. Harding
63b4d03400
Dev Docs: Merkle Tree/nBits Minor Proofreading Edits
Based on feedback from @saivann (thanks!)
2014-11-08 16:39:01 -05:00
Saivann
7a8493124a Display uBTC and bits on a single row 2014-11-08 12:36:17 -05:00
Saivann
8bb1b18498 Drop post-decimal delimiter (thanks @luke-jr) 2014-11-08 11:10:10 -05:00
Saivann
604473059d Add mention for uBTC (thanks @luke-jr) 2014-11-08 11:09:30 -05:00
David A. Harding
a8f8f750c8
Dev Docs: Describe Serialized Block Header And Block Format
* Replace current description of the block header with a better
description.

    * Describe the various version numbers.

    * Describe how the merkle root is constructed.

    * Describe how nBits is parsed and how to correctly create it to
      avoid negative values.

* Describe the serialized block format used to calculate max block size.
2014-11-07 22:50:27 -05:00
Saivann
adaba05941 Add mentions and definitions for bits 2014-11-07 19:13:32 -05:00
David A. Harding
6ae33424e5
Change Text Alignment & Fix Some Typos
* Replaced text justification with left-align (raggedright) for all text
  in dev docs.

    * Removed previous manual left-align in RPC byte order table

* Changed placement of See Below text partly based on a suggestion by
  @saivann (thanks!)

* Normalized capitialization of special structures (e.g. s/TxIn/txIn/)
  to be consistent with some other parts of the docs. (I don't think
  we're fully consistent on this in all parts of the docs. I'll put a
  rule in the style guide today and then we can make changes on the next
  global proofread.)

* Fixed missing period found by @saivann (thanks!) and a related missing
  preposition.
2014-11-04 14:30:57 -05:00
David A. Harding
0af6ef09ff
Dev Docs: Detail Transaction Format
Provides a detailed description of the transaction format, replacing an
example hexdump taken from the wiki.

I'm putting this in the transaction section as the format is necessary
for the creation of txids, which are used as merkle leaves (so are
covered by consensus rules).  However, this is also the format used by
several P2P network messages to transmit transactions, so I'll be
linking back to it from there as I document those messages.
2014-11-02 22:21:36 -05:00
David A. Harding
ea6e486fea
Merge branch 'checkmsig-order' (pull #623) 2014-10-29 11:12:14 -04:00
David A. Harding
10f6de368d
Treat Mainnet And Testnet As Common Nouns, Lowercasing When Appropriate
Suggested by @saivann (thanks!)
2014-10-29 08:16:59 -04:00
David A. Harding
1ec71148da
Dev Docs Correction: CHECKMULTISIG Requires Sigs In Same Order As PubKeys
As reported by @gsalgado (thanks!), the docs incorrectly state that all
sigs are compared against all pubkeys.  This commit provides a corrected
description, additional details, and references in other parts of the
text where we mention multisig. (Fixes #622)
2014-10-28 21:33:26 -04:00
David A. Harding
1604ed54e3
Describe Hardcoded Peers & BCCore Command-Line Fallbacks
Suggested by @gmaxwell (thanks!)
2014-10-25 18:02:25 -04:00
David A. Harding
4553439eda
Dev Docs: Describe Initial Peer Discovery & DNS Seeds
* Revise P2P Networking section to provide a more detailed description
  of initial peer discovery and DNS seeds.

* Tweak autocrossref.rb to allow term blacklisting. Use this new feature
  to prevent cross referencing "address" in "IP address" to the
  definition of Bitcoin P2PKH/P2SH addresses.  This avoids a bunch of
  manual "norefs".
2014-10-25 16:14:32 -04:00
David A. Harding
0f8504e204
Reorder Links (No URL Or Text Changes) & Fix Tiny Typo
* Sorted the _includes/references.md file as it became unclear where
  links should be added.

* Fixed accidentally lowercased "merkle" at start of sentence.
2014-10-25 15:12:55 -04:00
David A. Harding
d5900e3df4
Merge branches 'consensus-forking' (pull #615) and 'byte-order' (pull #583) 2014-10-25 14:57:07 -04:00
David A. Harding
a59b576abc
Link To Detecting Forks From Verifying Payment Section (thanks @saivann!) 2014-10-24 09:45:13 -04:00
David A. Harding
2e8ceb26df
Describe Soft And Hard Forks
Based on a suggestion made by @petertodd to the -devel mailing list and
the discussion in that thread by him and other participants.

* We've been using the term "consensus", but this commit introduces a
  formal definition for it and "consensus rules" as part of the block
  chain introduction.

* Describe that consensus rules may change and may happen when they
  do: hard or soft forks.

* Describe how full nodes can detect hard or soft forks, then describe
  how SPV clients can detect hard and soft forks using the more limited
  information available to them.
2014-10-24 09:44:50 -04:00