MarcoFalke
fa8ce3b670
[qa] assert 'changePosition out of bounds'
2016-06-17 15:19:02 +02:00
MarcoFalke
facb6c0bf8
[qa] mininode: fail on send_message instead of silent return
2016-06-17 13:31:31 +02:00
MarcoFalke
faa91b12f7
[wallet] tests: Don't use floating point
2016-06-17 13:07:38 +02:00
fanquake
f6eb4e2b62
[depends] OpenSSL 1.0.1k - update config_opts
2016-06-17 09:33:45 +02:00
Cory Fields
f25209a3e1
depends: bump OSX toolchain
...
clang: 3.7.1
cctools: 877.8
ld64: 253.9
2016-06-17 09:33:45 +02:00
Pieter Wuille
66db2d62d5
Merge #7600 : Mining: Select transactions using feerate-with-ancestors
...
29fac19 Add unit tests for ancestor feerate mining (Suhas Daftuar)
c82a4e9 Use ancestor-feerate based transaction selection for mining (Suhas Daftuar)
2016-06-16 19:20:13 +02:00
Suhas Daftuar
29fac19c93
Add unit tests for ancestor feerate mining
2016-06-16 12:35:37 -04:00
Suhas Daftuar
c82a4e9a63
Use ancestor-feerate based transaction selection for mining
...
Includes changes by Pieter Wuille
2016-06-16 12:35:37 -04:00
Braydon Fuller
e0d02ff20f
Merge pull request #22 from bitpay/revert-20-0.12.1-bitcore-inputconfs
...
Revert "rpc: add input confirmations to getrawtransaction"
2016-06-16 10:08:08 -04:00
Wladimir J. van der Laan
9c3d0fab36
Merge #7892 : Add full UTF-8 support to RPC
...
7982fce doc: Mention full UTF-8 support in release notes (Wladimir J. van der Laan)
6bbb4ef test: test utf-8 for labels in wallet (Wladimir J. van der Laan)
a406fcb test: add ensure_ascii setting to AuthServiceProxy (Wladimir J. van der Laan)
60ab9b2 Squashed 'src/univalue/' changes from 2740c4f..f32df99 (Wladimir J. van der Laan)
2016-06-16 12:08:35 +02:00
Wladimir J. van der Laan
3f89a534ac
Merge #8113 : Rework addnode behaviour
...
1a5a4e6 Randomize name lookup result in ConnectSocketByName (Pieter Wuille)
f9f5cfc Prevent duplicate connections where one is by name and another by ip (Pieter Wuille)
1111b80 Rework addnode behaviour (Pieter Wuille)
2016-06-16 12:06:51 +02:00
Wladimir J. van der Laan
62fcf27bd8
Merge #8171 : [RPC] Fix createrawtx sequence number unsigned int parsing
...
6fa950a [RPC] Fix createrawtx sequence number unsigned int parsing (Jonas Schnelli)
2016-06-16 11:06:51 +02:00
Wladimir J. van der Laan
e4bb4a85a5
Merge #8084 : Add recently accepted blocks and txn to AttemptToEvictConnection.
...
6ee7f05 Allow disconnecting a netgroup with only one member in eviction. (Gregory Maxwell)
5d0ca81 Add recently accepted blocks and txn to AttemptToEvictConnection. (Gregory Maxwell)
2016-06-16 11:03:52 +02:00
Wladimir J. van der Laan
0a64777b90
Merge #8208 : Do not set extra flags for unfiltered DNS seed results
...
bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
2016-06-16 10:57:59 +02:00
Wladimir J. van der Laan
f7a403b4cf
Merge #8207 : [trivial] Add a link to the Bitcoin-Core repository and website to the About Dialog
...
fa58e5e [doc] Add website links to about dialog (MarcoFalke)
2016-06-16 10:56:20 +02:00
MarcoFalke
fa58e5ee93
[doc] Add website links to about dialog
2016-06-16 10:07:36 +02:00
Braydon Fuller
d28f886684
Revert "rpc: add input confirmations to getrawtransaction"
2016-06-15 20:22:35 -04:00
Gregory Maxwell
6ee7f05622
Allow disconnecting a netgroup with only one member in eviction.
...
With the latest additions there are enough protective measures that
we can take the training wheels off.
2016-06-15 20:19:13 +00:00
Gregory Maxwell
5d0ca81f74
Add recently accepted blocks and txn to AttemptToEvictConnection.
...
This protects any not-already-protected peers who were the most
recent four to relay transactions and most recent four to send
blocks to us.
2016-06-15 20:19:07 +00:00
Chris Kleeschulte
b877c39a14
Merge pull request #21 from braydonf/0.12.1-bitcore-spentlog
...
main: do not log error when spent info not found
2016-06-15 13:37:04 -04:00
Chris Kleeschulte
645ae33bec
Merge pull request #20 from braydonf/0.12.1-bitcore-inputconfs
...
rpc: add input confirmations to getrawtransaction
2016-06-15 13:36:31 -04:00
Pieter Wuille
bc0a895d81
Do not set extra flags for unfiltered DNS seed results
2016-06-15 19:31:58 +02:00
Chris Kleeschulte
956b424292
Merge pull request #18 from braydonf/0.12.1-bitcore-rebased-mempool-tests
...
mempool address index bug fixes
2016-06-15 12:45:09 -04:00
Gregory Maxwell
54326a6808
Increase maximum orphan size to 100,000 bytes.
...
Although this increases node memory usage in the worst case by perhaps
30MB, the current behavior causes severe issues with dependent tx relay.
2016-06-15 09:56:42 +00:00
Gregory Maxwell
8c99d1b525
Treat orphans as implicit inv for parents, discard when parents rejected.
...
An orphan whos parents were rejected is never going to connect, so there
is little utility in keeping it.
Orphans also helpfully tell us what we're missing, so go ahead and treat
it as INVed.
2016-06-15 09:56:37 +00:00
Gregory Maxwell
11cc143895
Adds an expiration time for orphan tx.
...
This prevents higher order orphans and other junk from
holding positions in the orphan map. Parents delayed
twenty minutes are more are unlikely to ever arrive.
The freed space will improve the orphan matching success rate for
other transactions.
2016-06-15 09:56:28 +00:00
Peter Todd
d80efec327
Update petertodd's testnet seed
...
New seed with servicebit filtering support.
2016-06-15 00:11:39 -04:00
BtcDrak
ab8be98fdb
Remove bad chain alert partition check
...
As per meeting 2016-03-31
https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts
The partition checker was producing huge number of false-positives
and was disabled in 0.12.1 on the understanding it would either be
fixed in 0.13 or removed entirely from master if not.
2016-06-14 12:26:59 +01:00
Jonas Schnelli
fb0ac482ee
Merge #7636 : Add bitcoin address label to request payment QR code
...
1c2a1ba Add address label to request payment QR Code (QT) (Francesco 'makevoid' Canessa)
2016-06-14 13:17:44 +02:00
Wladimir J. van der Laan
520161480e
Merge #8198 : [trivial] Sync ax_pthread with upstream draft4
...
0e209f9 [trivial] Sync ax_pthread with upstream draft (fanquake)
2016-06-14 11:49:41 +02:00
Wladimir J. van der Laan
b67a4726df
Merge #8035 : [Wallet] Add simplest BIP32/deterministic key generation implementation
...
afcd77e Detect -usehd mismatches when wallet.dat already exists (Jonas Schnelli)
17c0131 [Docs] Add release notes and bip update for Bip32/HD wallets (Jonas Schnelli)
c022e5b [Wallet] use constant for bip32 hardened key limit (Jonas Schnelli)
f190251 [Wallet] Add simplest BIP32/deterministic key generation implementation (Jonas Schnelli)
2016-06-14 11:44:22 +02:00
Wladimir J. van der Laan
cca1c8cff0
Merge #8194 : [gitian] set correct PATH for wrappers
...
fa61756 [gitian] set correct PATH for wrappers (MarcoFalke)
2016-06-14 09:13:44 +02:00
Wladimir J. van der Laan
8c1d5ebd17
Merge #8197 : [trivial] Ignore split-debug.sh
...
01a9904 [trivial] Ignore split-debug.sh (fanquake)
2016-06-14 09:07:43 +02:00
Jonas Schnelli
afcd77e179
Detect -usehd mismatches when wallet.dat already exists
2016-06-14 08:56:01 +02:00
Wladimir J. van der Laan
36b74002f8
Merge #8201 : [qa] fundrawtransaction: Fix race, assert amounts
...
fae1d06 [qa] fundrawtransaction: Fix race, assert amounts (MarcoFalke)
fa26c42 [qa] util: Move check_fee_amount out of wallet.py (MarcoFalke)
2016-06-14 08:32:36 +02:00
Pieter Wuille
1a5a4e6488
Randomize name lookup result in ConnectSocketByName
2016-06-13 23:53:08 +02:00
Pieter Wuille
f9f5cfc506
Prevent duplicate connections where one is by name and another by ip
2016-06-13 23:53:08 +02:00
Pieter Wuille
1111b80df8
Rework addnode behaviour
...
* Use CNode::addeName to track whether a connection to a name is already open
* A new connection to a previously-connected by-name addednode is only opened when
the previous one closes (even if the name starts resolving to something else)
* At most one connection is opened per addednode (even if the name resolves to multiple)
* Unify the code between ThreadOpenAddedNodeConnections and getaddednodeinfo
* Information about open connections is always returned, and the dns argument becomes a dummy
* An IP address and inbound/outbound is only reported for the (at most 1) open connection
2016-06-13 23:53:06 +02:00
MarcoFalke
fae1d063fc
[qa] fundrawtransaction: Fix race, assert amounts
2016-06-13 21:35:04 +02:00
MarcoFalke
fa26c420bf
[qa] util: Move check_fee_amount out of wallet.py
2016-06-13 21:34:41 +02:00
Wladimir J. van der Laan
be9711e597
Merge #7749 : Enforce expected outbound services
...
ecd7fd3 Introduce REQUIRED_SERVICES constant (Pieter Wuille)
ee06e04 Introduce enum ServiceFlags for service flags (Pieter Wuille)
15bf863 Don't require services in -addnode (Pieter Wuille)
5e7ab16 Only store and connect to NODE_NETWORK nodes (Pieter Wuille)
fc83f18 Verify that outbound connections have expected services (Pieter Wuille)
3764dec Keep addrman's nService bits consistent with outbound observations (Pieter Wuille)
2016-06-13 19:34:17 +02:00
Pieter Wuille
ecd7fd37c8
Introduce REQUIRED_SERVICES constant
2016-06-13 17:40:16 +02:00
Pieter Wuille
ee06e04369
Introduce enum ServiceFlags for service flags
2016-06-13 17:40:16 +02:00
Pieter Wuille
15bf863219
Don't require services in -addnode
2016-06-13 17:40:16 +02:00
Pieter Wuille
5e7ab16d29
Only store and connect to NODE_NETWORK nodes
2016-06-13 17:40:16 +02:00
Pieter Wuille
fc83f18153
Verify that outbound connections have expected services
2016-06-13 17:40:16 +02:00
Pieter Wuille
3764dec36c
Keep addrman's nService bits consistent with outbound observations
2016-06-13 17:40:16 +02:00
Braydon Fuller
c01f78375e
mempool: same address and index for an input and output bug
...
fixes a bug that would happen when an output would match an input with
the same address and index, and would lead to the outputs not appearing
in results.
2016-06-13 11:23:30 -04:00
Braydon Fuller
4dcf3e821c
mempool: fix bug with mempool address index iteration
...
fixes a minor bug where iteration would not end when there are matching
hashes for a p2sh and p2pkh address, and would return results for
both addresses
2016-06-13 11:23:30 -04:00
Braydon Fuller
809a8abff6
tests: expanded address index mempool testing
2016-06-13 11:23:30 -04:00