1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-26 18:08:31 +00:00
Commit Graph

3258 Commits

Author SHA1 Message Date
Andreas M. Antonopoulos
5fd05bba20
Merge pull request #379 from guenterrote/second_edition
invisible typo: replaced 11 by ll
2018-02-02 11:51:51 -08:00
theStack
1b2eb07bf1 corrected standard multisignature tx limit to N=3
see BIP11:
    "A new standard transaction type (scriptPubKey) that is relayed by clients
    and included in mined blocks:
        m {pubkey}...{pubkey} n OP_CHECKMULTISIG
    But only for n less than or equal to 3."
also see the code in function IsStandard() in Bitcoin Core since v0.6.0:
    "// Support up to x-of-3 multisig txns as standard
     if (n < 1 || n > 3)
         return false;"
2018-01-30 17:51:53 -05:00
Andreas M. Antonopoulos
72f8b77dc2
Added info on PDF, license & reading this book 2018-01-27 08:29:15 -06:00
ZhaoChunsheng
5460eb7a8d
Update key-to-address-ecc-example.py
The code is very possible to miss a leading '0'.
E.g:
Private Key (hex) is: 57c003d31cca32f79a22e70334fff37875617e89c04d2746b5efc22067ccb8fd
Before: Compressed Public Key (hex) is: 03 8f0de2360796ae0fe17f1a2b0be30af6fb45eccc4a1c7afb5ebea21d041b6e0
After: Compressed Public Key (hex) is: 03 08f0de2360796ae0fe17f1a2b0be30af6fb45eccc4a1c7afb5ebea21d041b6e0

The bug is in the pybitcointools, but it is not updated, we can only repair it ourselves.
2018-01-27 21:56:25 +08:00
Will Binns
2d01be5381
preface: Update copyright to 2018 2018-01-24 12:00:27 -06:00
Will Binns
b7ac01e477 preface: Add contributor - Philipp Gillé 2018-01-24 11:57:49 -06:00
Will Binns
f3662a2002 preface: Add contributor - Thomas Kerin 2018-01-24 11:57:49 -06:00
Will Binns
044d480a44 preface: Add contributor - Darius Kramer 2018-01-24 11:57:49 -06:00
Will Binns
f0a57a71ff
Merge pull request #443 from philippgille/patch-1
Add detail to a benefit of P2SH
2018-01-25 00:15:59 +07:00
Will Binns
97546e22a8
Merge pull request #444 from philippgille/patch-2
Fix typo
2018-01-25 00:12:14 +07:00
Will Binns
66152a4b15
Merge pull request #472 from afk11/bitwasp-bitcoin-php-library
Add bitwasp/bitcoin php library
2018-01-25 00:03:27 +07:00
Will Binns
fab0e37f15
Merge pull request #474 from dkrmr/fix-minor-typo-glossary
Fix minor typo in glossary
2018-01-24 23:57:24 +07:00
Will Binns
c2bfbc5915
preface: Add contributor - Magomed Aliev 2018-01-24 10:53:20 -06:00
Will Binns
1aa56ce982
ch12: Fix mistake in HTLC contract definition
Closes #476
2018-01-24 10:51:53 -06:00
dkrm
164a54752d fix minor typo 2018-01-15 13:27:34 +01:00
Thomas Kerin
c5cb729126
Add bitwasp bitcoin php library 2018-01-12 20:55:47 +01:00
Andreas M. Antonopoulos
8e0f98c04d Merge branch 'develop' 2018-01-12 10:14:24 -06:00
Akira Chiku
6f8ddea301 Revert "Fix ch05 sentence"
This reverts commit 63da98e1bd.
2018-01-12 10:10:07 -06:00
Andreas M. Antonopoulos
9f7a0a8cd6 Merge branch 'master' into develop
Editorial changes from ORM
2018-01-12 10:07:39 -06:00
Philipp Gillé
bacbdd90aa
Fix typo
It should be "a specification" instead of "a specifications".
2017-12-31 18:49:18 +01:00
Philipp Gillé
080f12cdd3
Add detail to a benefit of P2SH
The bullet point previously sounded as if the long script was only stored in the UTXO set when not using P2SH, and stored on the blockchain when using P2SH. This might lead to people thinking it might lead to a smaller blockchain when the script is stored in the UTXO set *instead* of on the blockchain. But without P2SH the long script was stored both in the UTXO set *and* on the blockchain. With P2SH it's only stored on the blockchain, which is a clear advantage over not using P2SH.
2017-12-31 17:54:40 +01:00
Johannes Keyser
22a80a3789
Two typo fixes in Ch 12. 2017-12-25 23:45:40 +01:00
Matt McGivney
bba5d3de25 Fix minor grammatical issue
Hopefully an easy one!
2017-12-25 21:01:07 +00:00
Cihat Imamoglu
fc84c40e8b
Update ec-math.py
* Add a missing word "number"
* Convert `& 1` into `% 2 == 0` for clarity
2017-12-10 14:44:04 +00:00
Manjeet Singh Bhatia
22e17ffd3c
Update hash_example.py
As input and hash are inbuilt functions, so I'd suggest using other names for variables.
here is output from python interpreter.

>>> hash
<built-in function hash>
>>> input
<built-in function input>
2017-12-09 22:05:50 -08:00
Sameer Zahid
b8f1dbd4a6 Clearer description of the decendants in HD wallet key path table 2017-11-29 23:11:58 +04:00
Reuben Thomas
a0b9d80b83 Make range of private key precise 2017-11-26 11:39:29 +00:00
Matthew Sedaghatfar
1267d98b88
Update ch02.asciidoc
grammar changes
2017-11-23 13:05:27 -05:00
Matthew Sedaghatfar
f443db4a14
Update ch01.asciidoc
Updated Market cap value
2017-11-23 13:01:19 -05:00
Matthew Sedaghatfar
b1041171c8
Update ch01.asciidoc 2017-11-23 12:52:34 -05:00
Himanshu Dabas
552867346e
Fixed grammar mistake 2017-11-22 04:43:22 +05:30
Himanshu Dabas
a594496c6c
updated the "Structure of a Block"
updated the value of average transaction size, average transactions in a block and total block size compared to the block header size in accordance with the current structure of the Bitcoin Blockchain.
2017-11-22 03:59:16 +05:30
Will Binns
d5e2316438
Merge pull request #372 from cclauss/patch-3
from __future__ import print_function
2017-11-18 07:39:50 -06:00
Will Binns
deb7a859ac
Merge pull request #404 from ivangreene/patch-1
Remove spaces from example P2SH script
2017-11-18 07:02:28 -06:00
Will Binns
af5572e4bb
preface: Update contributors 2017-11-18 06:13:58 -06:00
cclauss
4541dc5a96
Update .travis.yml 2017-11-18 08:02:35 +01:00
cclauss
c4ea9cd470
Test all three branches 2017-11-18 08:02:06 +01:00
Marcin Zduniak
4b298d1d45
Merge pull request #1 from zduniak/typo-patch
Update ch06.asciidoc
2017-11-11 21:12:26 +01:00
Marcin Zduniak
d8e26e8d53
Update ch06.asciidoc 2017-11-11 21:11:55 +01:00
ivangreene
f02bba120a
Remove spaces from example P2SH script 2017-11-08 18:21:28 -06:00
Will Binns
bb8496fc9e Merge pull request #384 from MarcoFalke/Mf17-fixups
Rework ch03 for most recent version of Bitcoin Core
2017-10-19 18:55:40 -06:00
MarcoFalke
fa6ee0557e Rework ch03 for most recent version of Bitcoin Core 2017-10-19 22:35:15 +02:00
Janus Troelsen
4939a827eb segwit has activated 2017-10-18 14:52:20 +02:00
MarcoFalke
929fe5c08e fixups 2017-10-13 14:09:21 +02:00
Günter Rote
1d56d3629e invisible typo: replaced 11 by ll 2017-09-30 21:06:05 +02:00
jachiang
8f1075f423 ch06 correction: First part of input is transaction ID & output index (vs. sequence, which is the 3rd part) 2017-09-11 21:24:53 +02:00
jachiang
06378864c5 ch06 typo: first part of an input is tx reference and output index (vs sequence number, which is the 3rd part) 2017-09-11 21:16:41 +02:00
jachiang
eb4116f8b4 ch06 sighash flag typo: one input (s) 2017-09-11 21:07:16 +02:00
Lane Rettig
691fd4f3b5 Fix typo 2017-09-09 13:59:13 -04:00
cclauss
b8a0cddb9f from __future__ import print_function 2017-09-06 07:23:23 +02:00