Commit Graph

9948 Commits

Author SHA1 Message Date
Barnabas Debreczeni
2e568375ea Gitian: fix check-symbols for armhf builds
amrhf builds leak Boost symbols, so @laanwj’s linker script hack was
added back to armhf builds.

Also added ld-linux-armhf.so.3 to the list of allowed libraries in
symbol-check.py.
2016-03-07 15:17:13 +01:00
Barnabas Debreczeni
8465190cb6 Add suport for deterministic armhf builds
Many people use development boards (Raspberry Pi 2, Banana Pi, 
Odroid boards, etc) to run full nodes in CLI mode.

The only option they had until now is to compile their own from source.
Even though many tutorials are available, it is still not trivial for
non tech-savvy users.

Providing an officially built armhf binary would provide non tech-savvy
users an easy ramp-on to Bitcoin Classic.

*** GUI has been disabled for this build — according to Qt docs it
needs to be compiled on with device-specific headers. Most armhf users
use it in CLI mode only anyway.

Tested binaries on Raspberry Pi2, Odroid C1 and Odroid XU4.
2016-03-06 23:49:59 +01:00
TomZ
2e39bf1dc4 Merge pull request #131 from yamamushi/0.12
Update contrib/debian to build 0.12.0 on Launchpad
2016-03-06 11:36:26 +00:00
yamamushi
ae51ea45eb Update contrib/debian to build 0.12.0 on Launchpad 2016-03-04 11:21:29 -06:00
TomZ
5f335a3184 Merge pull request #124 from rusty-loy/classic_12_rbf_test_fix
Make test not depend on default values.
2016-03-04 12:25:20 +00:00
rustyloy
7159be1cc5 Updated RBF test to manually set mempoolreplacement policy to 1. 2016-03-02 16:20:35 -05:00
TomZ
fc0dc5d262 Merge pull request #123 from zander/disableRBF
Disable RBF
2016-03-02 14:48:12 +00:00
TomZ
744ad17ac4 Merge pull request #120 from zander/obfuscation
Revert the chainstate lock-in feature
2016-03-02 14:13:22 +00:00
TomZ
e6ac95a858 Turn off obfuscation 2016-03-02 13:28:14 +00:00
TomZ
376b257dbc Change default value 2016-03-02 11:50:54 +00:00
TomZ
da1032d338 Fix unit test to not depend on default values 2016-03-02 11:50:45 +00:00
TomZ
aefab22579 Merge pull request #119 from zander/propagateAlerts
Make internal (core) errors show up in the Qt client.
2016-03-01 15:06:42 +00:00
Tom Zander
bddc769bd8 Make internal (core) errors show up in the Qt client. 2016-02-29 21:39:17 +00:00
TomZ
dc144b68ee Merge pull request #103 from zander/buildOutOfSource
Build out of source
2016-02-29 21:28:00 +00:00
Tom Zander
1b797210d7 Make getblocktemplate return correct block limits 2016-02-29 21:22:22 +00:00
Tom Zander
40bae4917e Make the rpc tests work when src!=builddir 2016-02-29 21:08:35 +00:00
Tom Zander
c9d71db1e5 Allow src!=build dir building 2016-02-29 21:08:04 +00:00
TomZ
a8a6d7de39 Merge pull request #95 from rusty-loy/classic_12_fix_tests
Fix extended tests
2016-02-29 16:41:05 +00:00
TomZ
4dc64c1204 Merge pull request #116 from stevemyers/0.12
migrate gitian-debian apt builder from bitcoinxt project
2016-02-29 09:19:46 +00:00
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