Commit graph

9979 commits

Author SHA1 Message Date
Steve Myers
110a2b16f6 migrate gitian-debian apt builder from bitcoinxt project 2016-02-28 15:09:06 -08:00
TomZ
63c99a5d64 Merge pull request #113 from jzbz/patch-1
Update README.md link to be relative.
2016-02-25 20:43:11 +00:00
Jonathan Zeppettini
d38cf52801 Update README.md
Correct link to root README.md which was incorrectly pointing to Bitcoin Core repo.
2016-02-25 14:20:47 -05:00
TomZ
95bdead197 Merge pull request #111 from jzbz/0.12
Added original Bitcoin white paper.

This feels at home because it really is the basis of the project. A PDF is wanted because this document is not supposed to be edited.
2016-02-25 19:10:03 +00:00
TomZ
fc6b303ce8 Merge pull request #112 from nrobinson2000/patch-1
Trivial: Changed "Core" to "Classic"
2016-02-25 19:07:05 +00:00
Nathan Robinson
22343686de Changed Core to Classic 2016-02-25 18:28:21 +00:00
Jonathan Zeppettini
36caed2cb6 Added files via upload
Added Bitcoin: A Peer-to-Peer Electronic Cash System by Satoshi Nakamoto
2016-02-25 12:40:20 -05:00
TomZ
8f1fc53aad Merge pull request #100 from pdpi/hardfork_rpc_info
Add hard fork information to getblockchaininfo RPC endpoint
2016-02-25 09:01:20 +00:00
Pedro Pinheiro
51d83aa4c9 Add documentation for hardfork 2016-02-24 18:36:59 +00:00
Pedro Pinheiro
839f1fa4ea Add assertion
Enforce the invariant that the existence of an end-of-grace-period
implies the existence of an activation hash.
2016-02-24 18:36:33 +00:00
Pedro Pinheiro
296236412f Add hard fork information to getblockchaininfo RPC endpoint 2016-02-22 17:02:14 +00:00
Tom Zander
588800d7fb Make the banned section separated with a splitter
[GUI] Minor usability fix.
2016-02-22 11:29:57 +00:00
Hong Shuning
2ff6bde402 Update build-unix.md, specify boost version>=1.55 2016-02-19 09:46:53 +00:00
rustyloy
cd24f1be94 Updated bipdersig test to compensate for 75/100 activation and maxupload target values to work with 2MB block sizes. 2016-02-17 08:36:41 -05:00
Tom Harding
0780e4458e Fix race condition in CLTV regtests
On some systems, these tests fail because the default 200
BIP101-version blocks are mined before the test begins, causing
them to think BIP65 is already in effect.
2016-02-16 19:48:21 -05:00
Tom Harding
c4da01bfae Adapt CLTV regtest for XT changes
Conflicts:
	qa/rpc-tests/bip65-cltv-p2p.py
	qa/rpc-tests/bip65-cltv.py
2016-02-16 19:47:28 -05:00
ojanssens
8cc04024a9 Create oj.pgp
Cherry-pick of 656ce711cf
2016-02-15 13:04:29 +00:00
Pedro Pinheiro
b63347e07e Add public key
Cherry-pick of de875808b1
2016-02-15 13:03:18 +00:00
rustyloy
f2d9c84a2e Rename Core to Classic
Squased commits from rustyloy and others and fixed merge
conflicts.
2016-02-15 13:01:18 +00:00
Gavin Andresen
7488c45bc1 Point at correct detached signatures repository 2016-02-15 11:28:55 +00:00
Pedro Pinheiro
4ad5ec501e Fix autoconf reference to github repo. 2016-02-15 11:28:55 +00:00
Tom Zander
d90292d877 Make travis happy 2016-02-15 11:28:55 +00:00
Hong Shuning
f348aac007 pass the travis-ci build
Use legacy group instead of default precise group.

The precise group does not support IPv6.
2016-02-15 11:28:55 +00:00
Barnabas Debreczeni
147f5e1691 Travis: fix MacOSX SDK error 2016-02-15 11:28:55 +00:00
Tom Zander
f593f99f8a Add public key 2016-02-15 11:28:55 +00:00
Pedro Pinheiro
04e4b7656a Fix translation path
Conflicts:
	.tx/config
2016-02-15 11:28:55 +00:00
Tom Zander
ec98d4a950 Update COPYING 2016-02-15 11:28:55 +00:00
Jeff Garzik
e7c96dd6df Update gitian descriptors for classic.
Credit: pdpi
Fixes #38
2016-02-15 11:28:54 +00:00
Tom Zander
e0c9121ab7 Report Classic in p2p version message 2016-02-15 11:28:54 +00:00
Gavin Andresen
70d2aad340 Do not relay or mine excessive sighash transactions
This is a belt-and-suspenders fix to make sure CreateNewBlock() or external mining software can never produce a block that violates the MAX_BLOCK_SIGHASH rule.

It does this by rejecting transactions that do too much signature hashing -- they are not added to the memory pool, and so will not be considered for inclusion in new blocks.

How the code works: every transaction uses up some fraction of the MAX_BLOCK_SIZE limit and the MAX_BLOCK_SIGHASH limit. If a transaction uses up a larger fraction of the SIGHASH limit than the SIZE limit, it is rejected. That ensures that no matter which transactions are selected for the block, the SIZE limit will be hit before the SIGHASH limit.

This is a much simpler solution than modifying CreateNewBlock or external transaction selection software to keep track of the SIZE limit, the SIGOPS limit, AND the new SIGHASH limit.

This is belt-and-suspenders because, in practice, the 100,000-byte IsStandard size limit prevents the block SIGHASH limit from being hit.

The IsStandard code related to the old SIGOPS limit is left unchanged.

Conflicts:
	src/main.cpp
2016-02-15 11:28:54 +00:00
Gavin Andresen
3aadc515e0 Accurate sigop/sighash accounting and limits
Adds a ValidationCostTracker class that is passed to
CheckInputs() / CScriptCheck() to keep track of the exact number
of signature operations required to validate a block, and the
exact number of bytes hashed to compute signature hashes.

Also extends CHashWriter to keep track of number of bytes hashed.

Signature operations per block are limited to MAX_BLOCK_SIGOPS
(unchanged at 20,000)

Bytes hashed to compute signatures is limited to MAX_BLOCK_SIGHASH
(1.3 GB in this commit).

Conflicts:
	src/main.cpp
	src/miner.cpp
	src/script/interpreter.h
2016-02-15 11:28:54 +00:00
Gavin Andresen
76e123a3b3 Two megabyte fork after miner vote and grace period
Activation code for a two megabyte block size increase.

Activation condition:

750 of 1000 blocks with version bit 0x10000000 set, then a four-week
(28-day) grace period, after which miners may create 2MB
blocks.

Conflicts:
	qa/pull-tester/rpc-tests.sh
	qa/rpc-tests/bipdersig-p2p.py
	src/chainparams.cpp
	src/main.cpp
	src/miner.cpp

Additionall; Fix unit test.
Instead of relying on default, specify block size.
2016-02-15 11:28:54 +00:00
Gavin Andresen
d443eabb44 Minimal consensus/miner changes for 2mb block size bump.
Conflicts:
	src/main.h
	src/miner.cpp
2016-02-11 15:46:00 +00:00
Wladimir J. van der Laan
04503f78c7
Merge #7346: 0.12 release notes: Mining Policy Changes
b460004 release-notes: Minor corrections and clarifications re Priority (Luke Dashjr)
3450f4c release-notes: Significantly rewrite priority transactions section (Gregory Maxwell)
d0dbb6d release-notes: Remove suggestion to use 0.11 (Luke Dashjr)
73a0375 release-notes: Mention possibility of priority removal in 0.13, uncertainty of priority calculation being changed back, and request community input (Luke Dashjr)
4b8d2bc release-notes: Cover priority changes correctly, removing mentions of possible futures (Luke Dashjr)
2016-02-11 15:30:20 +01:00
Wladimir J. van der Laan
772863583c
doc: fix author list in release notes 2016-02-10 21:37:49 +01:00
Wladimir J. van der Laan
68134263e2
qt: Translation update pre-rc5 2016-02-10 21:18:33 +01:00
Wladimir J. van der Laan
10be44a0bb
doc: Release notes update pre-rc5 2016-02-10 21:03:40 +01:00
instagibbs
c3faf78c0e
Changed getnetworkhps value to double to avoid overflow.
Github-Pull; #7480
Rebased-From: 993d089e82
2016-02-10 20:45:42 +01:00
mrbandrews
947c4ff724
[rpc-tests] Change solve() to use rehash
Github-Pull: #7468
Rebased-From: 7689041c03
2016-02-10 20:39:52 +01:00
Matt
9cb31e664a
Fix spelling: misbeha{b,v}ing
Github-Pull: #7469
Rebased-From: 0830552673
2016-02-10 20:38:10 +01:00
Pieter Wuille
889e5b3050
Correctly report high-S violations
Github-Pull: #7500
Rebased-From: 9d95187d5d
2016-02-10 20:32:42 +01:00
Pieter Wuille
1329963001
Update the wallet best block marker when pruning
Github-Pull: #7502
Rebased-From: e4eebb604e
2016-02-10 19:59:01 +01:00
Wladimir J. van der Laan
00ec73e062
wallet: Ignore MarkConflict if block hash is not known
If number of conflict confirms cannot be determined, this means
that the block is still unknown or not yet part of the main chain,
for example during a reindex. Do nothing in that case,
instead of crash with an assertion.

Fixes #7234.

Github-Pull: #7491
Rebased-From: 40e7b61835
2016-02-10 19:58:19 +01:00
Luke Dashjr
b46000415c release-notes: Minor corrections and clarifications re Priority 2016-02-09 23:31:30 +00:00
Gregory Maxwell
3450f4cc95 release-notes: Significantly rewrite priority transactions section 2016-02-09 23:21:36 +00:00
Luke Dashjr
d0dbb6daee release-notes: Remove suggestion to use 0.11 2016-02-09 21:28:57 +00:00
Wladimir J. van der Laan
827a2b6736
qt: Translations update pre-rc4 2016-02-09 10:53:13 +01:00
Wladimir J. van der Laan
43484d7c08
doc: Update release notes for rc4 changes 2016-02-09 10:50:05 +01:00
Luke Dashjr
73a0375ebe release-notes: Mention possibility of priority removal in 0.13, uncertainty of priority calculation being changed back, and request community input 2016-02-09 08:13:38 +00:00
Suhas Daftuar
e16f5b40c2
Update nQueuedValidatedHeaders after peer disconnection
Github-Pull: #7482
Rebased-From: 301bc7bc7e
2016-02-09 08:55:03 +01:00