Pieter Wuille
ccd06b94f6
Elaborate bucket size math
2016-06-19 23:06:55 -07:00
Matt Corallo
0d4cb48ef1
Use vTxHashes to optimize InitData significantly
2016-06-19 23:06:55 -07:00
Matt Corallo
811902649d
Provide a flat list of txid/terators to txn in CTxMemPool
2016-06-19 23:06:55 -07:00
Matt Corallo
678ee9793f
Add BIP 152 to implemented BIPs list
2016-06-19 23:06:55 -07:00
Matt Corallo
56ba516727
Add reconstruction debug logging
2016-06-19 23:06:55 -07:00
Matt Corallo
2f34a2e476
Get our "best three" peers to announce blocks using cmpctblocks
2016-06-19 23:06:55 -07:00
Matt Corallo
927f8eede0
Add ability to fetch CNode by NodeId
2016-06-19 23:06:55 -07:00
Matt Corallo
d25cd3ec4e
Add receiver-side protocol implementation for CMPCTBLOCK stuff
2016-06-19 23:06:55 -07:00
Matt Corallo
9c837d5468
Add sender-side protocol implementation for CMPCTBLOCK stuff
2016-06-19 01:34:58 -07:00
Matt Corallo
00c40784fe
Add protocol messages for short-ids blocks
2016-06-19 01:34:57 -07:00
Matt Corallo
e3b2222144
Add some blockencodings tests
2016-06-19 01:34:57 -07:00
Matt Corallo
f4f8f14adc
Add TestMemPoolEntryHelper::FromTx version for CTransaction
2016-06-19 01:34:57 -07:00
Matt Corallo
85ad31ede7
Add partial-block block encodings API
2016-06-19 01:34:57 -07:00
Matt Corallo
5249daca5a
Add COMPACTSIZE wrapper similar to VARINT for serialization
2016-06-19 01:34:57 -07:00
Matt Corallo
cbda71cf04
Move context-required checks from CheckBlockHeader to Contextual...
2016-06-19 01:34:57 -07:00
Matt Corallo
7c29ec9449
If AcceptBlockHeader returns true, pindex will be set.
...
Assert this instead of checking (and then dref'ing later anyway)
to make sure no one thinks they can change that postcondition of
AcceptBlockHeader..
2016-06-19 01:34:57 -07:00
Pieter Wuille
96806c39f4
Stop trimming when mapTx is empty
2016-06-19 01:34:57 -07:00
MarcoFalke
a072d1a837
Merge #8215 : [wallet] tests: Don't use floating point
...
faa91b1
[wallet] tests: Don't use floating point (MarcoFalke)
2016-06-18 16:49:38 +02:00
MarcoFalke
ed2cd59e25
Merge #8214 : [qa] mininode: fail on send_message instead of silent return
...
facb6c0
[qa] mininode: fail on send_message instead of silent return (MarcoFalke)
2016-06-17 15:42:04 +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
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
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
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
Pieter Wuille
bc0a895d81
Do not set extra flags for unfiltered DNS seed results
2016-06-15 19:31:58 +02: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