11359 Commits

Author SHA1 Message Date
MarcoFalke
a9874310c0 [util] CopyrightHolders: Check for untranslated substitution
Also, remove check which is always true
2016-09-07 16:20:36 +02:00
Wladimir J. van der Laan
32d75a7ffc doc: Update build-openbsd for 0.13.0+ and OpenBSD 5.9
- Python 3 now supported.

- Bump boost version to 1.61 - one boost patch no longer needed.

- All checked with OpenBSD 5.9, except for the clang part, I left this
  as-is for someone adventurous.

- Mention overriding resource limits, OpenBSD's default ulimit does not
  suffice for building Bitcoin Core with gcc 4.9.3.
2016-09-07 16:20:09 +02:00
Wladimir J. van der Laan
b09e13cb6f build: Updates for OpenBSD
- LevelDB platform was not guessed correctly (it ended up defining
  `-DOS_OPENBSD59` instead of `-DOS_OPENBSD`)

- On OpenBSD there is no convenience link from `python3.5` to `python3`:
  add detection for other python interpreter names.

- If it has to guess the LevelDB OS, print a autoconf warning so that
  the user can check.
2016-09-07 16:19:56 +02:00
MarcoFalke
0e6d753584 [doc] build: Mention curl 2016-09-07 16:18:53 +02:00
Jonas Schnelli
f1c0d78b2d [Qt] show network/chain errors in the GUI 2016-09-07 16:18:12 +02:00
Ethan Heilman
2611ad79a5 Added feeler connections increasing good addrs in the tried table.
Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes.

This change was suggested as Countermeasure 4 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.
2016-09-07 16:17:40 +02:00
Wladimir J. van der Laan
1db3352cc6 qt: Fix random segfault when closing "Choose data directory" dialog
The `pickDataDirectory()` function was calling `exit(0)` to quit
the application when the user closes the dialog without choosing
a data directory.

This is a bad idea because a background thread is created (to
check free space on the drive of the currently selected datadir).
The thread is not stopped and unwound properly, resulting in a potential
race condition somewhere deep in Qt.

So replace the `exit()` by a boolean return value, and let the
stack unwind normally.
2016-09-07 16:17:09 +02:00
Wladimir J. van der Laan
75f2065293 build: Remove check for openssl/ec.h
We don't use any elliptic curves from OpenSSL anymore, nor include this
header anywhere but optionally in the tests of secp256k1 (which has
its own autoconf setup).

Reported by sinetek on IRC.
2016-09-07 16:16:00 +02:00
Wladimir J. van der Laan
122fdfdae9
Merge #8600: [0.13.1]: Backport [wallet] rpc: Drop misleading option
526d2b0 [wallet] rpc: Drop misleading option (MarcoFalke)
2016-08-26 13:27:00 +02:00
MarcoFalke
526d2b0472 [wallet] rpc: Drop misleading option
Github-Pull: #8581
Rebased-From: fab5ecb7719063aa72751df1258dfa4cf4a9a4a9
2016-08-26 11:30:25 +02:00
Wladimir J. van der Laan
f2306fbe01
doc: Clean out release notes after 0.13.0 release 2016-08-25 09:56:12 +02:00
Wladimir J. van der Laan
a402396dce
Merge #8490: [0.13] release notes: Mention new relevance of non-mining nodes on network policy; and misc fixes
5e499e7 doc/release-notes: Document changed bytespersigop behaviour (Luke Dashjr)
40d705c doc/release-notes: Mention the relevance of Compact Blocks on non-mining nodes' influence on network policy (Luke Dashjr)
4f55293 doc/release-notes: Misc (Luke Dashjr)
2016-08-17 13:06:57 +02:00
Luke Dashjr
5e499e7a56 doc/release-notes: Document changed bytespersigop behaviour 2016-08-16 12:43:16 +02:00
Luke Dashjr
40d705cb70 doc/release-notes: Mention the relevance of Compact Blocks on non-mining nodes' influence on network policy 2016-08-16 12:42:45 +02:00
Luke Dashjr
4f5529351f doc/release-notes: Misc 2016-08-16 12:42:13 +02:00
Wladimir J. van der Laan
4374f0ee35
Merge #8519: [0.13] A few small improvements to the 0.13 release notes
2f58589 Mention dump/import support for HD wallets (Pieter Wuille)
fe20b83 Remove refactors from list of changes (Pieter Wuille)
7f84015 Inline mempool RPCs and feefilter into misc sections (Pieter Wuille)
2016-08-16 12:22:54 +02:00
Pieter Wuille
2f5858952e Mention dump/import support for HD wallets 2016-08-16 11:17:47 +02:00
Pieter Wuille
fe20b83ca9 Remove refactors from list of changes 2016-08-16 11:15:56 +02:00
Pieter Wuille
7f84015352 Inline mempool RPCs and feefilter into misc sections 2016-08-16 11:15:13 +02:00
Wladimir J. van der Laan
b52c67c4b1
doc: Update changelog for rc3 2016-08-11 23:27:45 +02:00
Wladimir J. van der Laan
9058617afb
qt: translations update pre-rc3 2016-08-11 23:16:21 +02:00
Luke Dashjr
8b0eee66e9
Bugfix: Use pre-BIP141 sigops until segwit activates
qa/rpc-tests/segwit: Test GBT sigops before and after activation

Github-Pull: #8489
Rebased-From: 160f895a80660e4e3904a2624e4110960d051902 239cbd2e5c2a36843b45b356e9aea6e8d35f0968
2016-08-10 14:59:29 +02:00
Wladimir J. van der Laan
45c656b914
Merge #8465: [0.13] Document reindexing changes
b49d963 Document reindexing changes (Pieter Wuille)
2016-08-10 09:39:24 +02:00
Wladimir J. van der Laan
edc2c700a7
Merge #8438: [0.13] backport: Treat high-sigop transactions as larger rather than rejecting them
3f65ba2 Treat high-sigop transactions as larger rather than rejecting them (Pieter Wuille)
2016-08-10 09:22:49 +02:00
Pieter Wuille
b49d963cf7 Document reindexing changes 2016-08-05 21:02:02 +02:00
MarcoFalke
114f7e944b
Merge #8454: [0.13.1] Fix p2p-feefilter.py for changed tx relay behavior
cd0910b Fix p2p-feefilter.py for changed tx relay behavior (Suhas Daftuar)
2016-08-04 20:49:18 +02:00
Wladimir J. van der Laan
d485a6c5a8
doc: Add list of new and removed RPC commands to release notes
Finish up the RPC part of #7678.
2016-08-04 14:38:25 +02:00
Suhas Daftuar
cd0910b787 Fix p2p-feefilter.py for changed tx relay behavior
Github-Pull: #8444
Rebased-From: 2c517b3928a68c6e36b18262081a401a741cd4cd
2016-08-04 14:01:53 +02:00
fanquake
b8b97c98e8
[doc] Increase recommended memory in gitian build guide
Github-Pull: #8439
Rebased-From: 7fdbce9de43c600776e00a2f2042d302cfa4e411
2016-08-03 12:52:46 +02:00
Wladimir J. van der Laan
6c083ac95c
Merge #8441: doc: Rewrite shell example to not leave secrets in the history file
719208c Rewrite shell example to not leave secrets in the history file (paveljanik)
2016-08-03 11:01:20 +02:00
paveljanik
719208c66f Rewrite shell example to not leave secrets in the history file 2016-08-02 09:08:37 +02:00
Pieter Wuille
3f65ba2b3b
Treat high-sigop transactions as larger rather than rejecting them 2016-07-31 21:47:21 +02:00
Wladimir J. van der Laan
ced6c940da
qt: Translations update pre-rc2 2016-07-29 09:56:23 +02:00
Wladimir J. van der Laan
b06808c58e
doc: Release notes update for rc2 2016-07-29 09:50:18 +02:00
Suhas Daftuar
b7e201181b
Prevent fingerprinting, disk-DoS with compact blocks
- Ignore GETBLOCKTXN requests for unknown blocks

Don't disconnect peers, or else we leak information that could be
used for fingerprinting.

- Ignore CMPCTBLOCK messages for pruned blocks

Also ignores CMPCTBLOCK announcements that have too little work.  This is to
prevent disk-exhaustion DoS.

Github-Pull: #8408
Rebased-From: 1de2a46632946990a7863020b61172232f8c5796 1d06e49834814eed45e07393dcffd7b6683311b2
2016-07-29 08:27:57 +02:00
Jorge Timón
8360d5b37d
libconsensus: Expose a flag for BIP112
We added the segwit one, but we forgot CHECKSEQUENCEVERIFY

Github-Pull: #8412
Rebased-From: d12b732ac287a1ed7543481b79801c9afc333b7f
2016-07-29 01:16:57 +02:00
Wladimir J. van der Laan
c3c82c48d9
Merge #8389: [0.13] Create a new HD seed after encrypting the wallet
de45c06 [Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation (Jonas Schnelli)
f142c11 [0.13] Create a new HD seed after encrypting the wallet (Jonas Schnelli)
2016-07-28 13:10:31 +02:00
Jonas Schnelli
45eba4b1e0
[Qt] Add dbcache migration path
Github-Pull: #8407
Rebased-From: 893f379ba0befef5301208b6bee8206ac4e76329
2016-07-28 11:30:03 +02:00
Wladimir J. van der Laan
0179a39f9d
qt: periodic translations update 2016-07-27 18:33:22 +02:00
Jonas Schnelli
de45c065f0
[Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation 2016-07-27 16:02:41 +02:00
Jonas Schnelli
f142c11ac6
[0.13] Create a new HD seed after encrypting the wallet 2016-07-27 15:56:57 +02:00
Jonas Schnelli
18b8ee1cd1
[Wallet] add HD xpriv to dumpwallet
Github-Pull: #8206
Rebased-From: 77c912d21c8cd153f4503c65225a5a46990cc85a
2016-07-27 15:29:02 +02:00
MarcoFalke
cfd1280f23
[doc] gbuild: Set memory explicitly (default is too low)
Github-Pull: #8358
Rebased-From: faa59318db48a0acc4b0ccff56b63cc05455c61f
2016-07-26 14:40:47 +02:00
Suhas Daftuar
4f7f531af6
qa: Add test for standardness of segwit v0 outputs
Github-Pull: #8381
Rebased-From: c59c434b7d1211c13f7904b9bc675e16910a1c0a
2016-07-26 14:25:38 +02:00
Johnson Lau
f84ee3dab6
Make witness v0 outputs non-standard before segwit activation
Github-Pull: #8381
Rebased-From: 1ffaff2f747af683513d6d74a7241d41e3f6e051
2016-07-26 14:25:28 +02:00
Suhas Daftuar
86edc20a17
Scale legacy sigop count in CreateNewBlock
Github-Pull: #8362
Rebased-From: 682aa0f289c550c029733966a2ce3449e4a471df
2016-07-25 18:08:41 +02:00
Jonas Schnelli
73adfe3bb9
[Wallet] Correct hdmasterkeyid/masterkeyid name confusion
Github-Pull: #8390
Rebased-From: b50e1ac298363a7733069f82709674d3a8cb3058
2016-07-25 13:04:45 +02:00
Wladimir J. van der Laan
76bc30beab
Merge #8374: Add release notes for mining changes
52a4158 Add release notes for mining changes (Suhas Daftuar)
2016-07-21 17:53:41 +02:00
Wladimir J. van der Laan
cbdbc75139
Merge #8380: fix typo: propagation relay -> delay
f891e34 fix typo: propagation relay -> delay (Jannes Faber)
2016-07-21 17:31:38 +02:00
Suhas Daftuar
52a4158f1f Add release notes for mining changes 2016-07-21 10:07:31 -04:00