Wladimir J. van der Laan
fb75cd04bb
Merge #9377 : fundrawtransaction: Keep change-output keys by default, make it optional
...
c9f3062
Add fundrawtransactions new reserveChangeKey option to the release notes (Jonas Schnelli)
9eb325d
[QA] Add test for fundrawtransactions new reserveChangeKey option (Jonas Schnelli)
9aa4e6a
[Wallet] Add an option to keep the change address key, true by default (Jonas Schnelli)
2017-01-20 14:32:42 +01:00
Alex Morcos
fe8e8efcf9
[rpc] Add incremental relay fee to getnetworkinfo
2017-01-20 07:40:36 -05:00
Pavel Janík
44f2baac48
Do not shadow local variable named tx
.
2017-01-20 10:55:47 +01:00
Gregory Maxwell
8ff8d219c3
Send final alert message to older peers after connecting.
...
The old Bitcoin alert system has long since been retired.
( See also: https://bitcoin.org/en/alert/2016-11-01-alert-retirement )
This change causes each node to send any old peers that
it connects with a copy of the final alert.
The alert it hardcode cancels all other alerts including
other final alerts.
2017-01-20 07:33:58 +00:00
Alex Morcos
bd92f2481c
[bugfix] save feeDelta instead of priorityDelta in DumpMempool
2017-01-19 23:45:02 -05:00
Alex Morcos
6b331e6cf9
Fix to have miner test aware of new separate block min tx fee
2017-01-19 21:35:39 -05:00
Alex Morcos
de6400de5d
Fix missing use of dustRelayFee
2017-01-19 20:31:29 -05:00
Alex Morcos
5b158707f2
Use incrementalRelayFee for BIP 125 replacement
2017-01-19 20:31:29 -05:00
MarcoFalke
fa4d47814f
qt: Use nPowTargetSpacing constant
2017-01-19 20:47:04 +01:00
Jonas Schnelli
c9f3062d55
Add fundrawtransactions new reserveChangeKey option to the release notes
2017-01-19 20:45:34 +01:00
Jonas Schnelli
9eb325d079
[QA] Add test for fundrawtransactions new reserveChangeKey option
2017-01-19 20:45:29 +01:00
Jonas Schnelli
9aa4e6a6c2
[Wallet] Add an option to keep the change address key, true by default
2017-01-19 20:38:37 +01:00
Wladimir J. van der Laan
82274c02ed
Merge #9535 : Split CNode::cs_vSend: message processing and message sending
...
376b3c2
Make the cs_sendProcessing a LOCK instead of a TRY_LOCK (Matt Corallo)
d7c58ad
Split CNode::cs_vSend: message processing and message sending (Matt Corallo)
2017-01-19 20:20:04 +01:00
Jonas Schnelli
b25068697f
Merge #9461 : [Qt] Improve progress display during headers-sync and peer-finding
...
40ec7c7
[Qt] Improve progress display during headers-sync and peer-finding (Jonas Schnelli)
2017-01-19 20:09:49 +01:00
Wladimir J. van der Laan
2ef52d3cf1
Merge #8456 : [RPC] Simplified bumpfee command.
...
cc0243a
[RPC] bumpfee (mrbandrews)
52dde66
[wallet] Add include_unsafe argument to listunspent RPC (Russell Yanofsky)
766e8a4
[wallet] Add IsAllFromMe: true if all inputs are from wallet (Suhas Daftuar)
2017-01-19 19:59:24 +01:00
Matt Corallo
989989354b
Move wallet callbacks into cs_main (this effectively reverts #7946 )
2017-01-19 11:31:05 -05:00
mrbandrews
cc0243ad32
[RPC] bumpfee
...
This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B.
T must signal that it is BIP-125 replaceable.
T's change output is decremented to pay the additional fee. (B will not add inputs to T.)
T cannot have any descendant transactions.
Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined.
Includes code by @jonasschnelli and @ryanofsky
2017-01-19 11:29:29 -05:00
Russell Yanofsky
52dde66770
[wallet] Add include_unsafe argument to listunspent RPC
2017-01-19 11:29:29 -05:00
Wladimir J. van der Laan
054d664215
Merge #9498 : Basic CCheckQueue Benchmarks
...
aad4cb5
Address ryanofsky feedback on CCheckQueue benchmarks. Eliminated magic numbers, fixed scoping of vectors (and memory movement component of benchmark). (Jeremy Rubin)
9f03110
Add Basic CheckQueue Benchmark (Jeremy Rubin)
2017-01-19 15:29:09 +01:00
Wladimir J. van der Laan
e9e7993007
Merge #9542 : Docs: Update CONTRIBUTING.md
...
c70622e
Docs: Update CONTRIBUTING.md (John Newbery)
2017-01-19 15:20:48 +01:00
Wladimir J. van der Laan
41cb05cc8f
Merge #9552 : Add IPv6 support to qos.sh
...
fc089ae
Add IPv6 support to qos.sh (James White)
2017-01-19 14:11:49 +01:00
James White
fc089ae47a
Add IPv6 support to qos.sh
2017-01-19 09:35:58 +00:00
Jonas Schnelli
40ec7c7b0d
[Qt] Improve progress display during headers-sync and peer-finding
2017-01-19 09:10:04 +01:00
Wladimir J. van der Laan
9c9af5ab2d
Merge #9499 : Use recent-rejects, orphans, and recently-replaced txn for compact-block-reconstruction
...
c594580
Add braces around AddToCompactExtraTransactions (Matt Corallo)
1ccfe9b
Clarify comment about mempool/extra conflicts (Matt Corallo)
fac4c78
Make PartiallyDownloadedBlock::InitData's second param const (Matt Corallo)
b55b416
Add extra_count lower bound to compact reconstruction debug print (Matt Corallo)
863edb4
Consider all (<100k memusage) txn for compact-block-extra-txn cache (Matt Corallo)
7f8c8ca
Consider all orphan txn for compact-block-extra-txn cache (Matt Corallo)
93380c5
Use replaced transactions in compact block reconstruction (Matt Corallo)
1531652
Keep shared_ptrs to recently-replaced txn for compact blocks (Matt Corallo)
edded80
Make ATMP optionally return the CTransactionRefs it replaced (Matt Corallo)
c735540
Move ORPHAN constants from validation.h to net_processing.h (Matt Corallo)
2017-01-19 09:03:46 +01:00
Cory Fields
c36ec715f0
depends: qt: disable printer for all platforms, not just osx
...
This also fixes the native osx build.
2017-01-19 15:31:55 +08:00
Wladimir J. van der Laan
6012967c47
Merge #9512 : Fix various things -fsanitize complains about
...
82e8baa
Avoid boost dynamic_bitset in rest_getutxos (Pieter Wuille)
99f001e
Fix memory leak in multiUserAuthorized (Pieter Wuille)
5a0b7e4
Fix memory leak in net_tests (Pieter Wuille)
6b03bfb
Fix memory leak in wallet tests (Pieter Wuille)
f94f3e0
Avoid integer overflows in scriptnum tests (Pieter Wuille)
843c560
Avoid unaligned access in crypto i/o (Pieter Wuille)
2017-01-18 20:05:30 +01:00
John Newbery
c70622e942
Docs: Update CONTRIBUTING.md
...
Update CONTRIBUTING.md to document the different components.
Notably, trivial should only be used for PRs that do not change the
code.
2017-01-18 14:04:57 -05:00
MarcoFalke
b0b57a1730
Merge #9508 : Remove unused Python imports
...
95bab82
Remove unused Python imports (practicalswift)
2017-01-18 10:48:52 +01:00
Karl-Johan Alm
7ba0a00aae
Testing: listsinceblock should not use orphan block height.
2017-01-18 12:31:20 +09:00
Karl-Johan Alm
ee5c1ce5a6
Bug-fix: listsinceblock: use closest common ancestor when a block hash was provided for a chain that was not the main chain.
2017-01-18 12:07:13 +09:00
Matt Corallo
c5945804ca
Add braces around AddToCompactExtraTransactions
2017-01-16 23:00:58 -05:00
Matt Corallo
1ccfe9b1c9
Clarify comment about mempool/extra conflicts
2017-01-16 22:58:06 -05:00
Pieter Wuille
6696b4635c
Merge #9561 : Wake message handling thread when we receive a new block
...
241d893
Wake message handling thread when we receive a new block (Matt Corallo)
f13914a
Make WakeMessageHandler public (Matt Corallo)
2017-01-16 19:54:52 -08:00
Pieter Wuille
812714fd80
Merge #9484 : Introduce assumevalid setting to skip validation presumed valid scripts.
...
7b5e3fe
Add assumevalid testcase (John Newbery)
e440ac7
Introduce assumevalid setting to skip presumed valid scripts. (Gregory Maxwell)
2017-01-16 14:07:30 -08:00
Wladimir J. van der Laan
b0819c7e9b
qt: periodic translations update
2017-01-16 20:59:50 +01:00
Wladimir J. van der Laan
dd98f04538
Merge #9380 : Separate different uses of minimum fees
...
eb30d1a
Introduce -dustrelayfee (Alex Morcos)
7b1add3
Introduce -incrementalrelayfee (Alex Morcos)
daec955
Introduce -blockmintxfee (Alex Morcos)
2017-01-16 19:33:08 +01:00
Alex Morcos
eb30d1a5b2
Introduce -dustrelayfee
2017-01-16 08:40:40 -05:00
Alex Morcos
7b1add3c28
Introduce -incrementalrelayfee
2017-01-16 08:39:03 -05:00
Pieter Wuille
8a445c5651
Merge #9400 : Set peers as HB peers upon full block validation
...
d4781ac
Set peers as HB peers upon full block validation (Gregory Sanders)
2017-01-15 09:44:33 -08:00
Wladimir J. van der Laan
f62bc10a60
Merge #9486 : Make peer=%d log prints consistent
...
e6111b2
Make peer id logging consistent ("peer=%d" instead of "peer %d") (Matt Corallo)
2017-01-15 06:44:54 +01:00
Wladimir J. van der Laan
01c4576a39
Merge #9469 : [depends] Qt 5.7.1
...
bb077fa
[depends] Remove OBJCXX define from config.site.in (fanquake)
c37ea4d
depends: fix qt translations build (Cory Fields)
2b32dea
depends: use new variable layout for qt sdk (Cory Fields)
02fcb29
[depends] Qt 5.7.1 (fanquake)
2017-01-15 06:43:04 +01:00
MarcoFalke
4105cb6fd9
Merge #9550 : Trim down the XP notice and say more about what we support.
...
7094bf7
Trim down the XP notice and say more about what we support. (Gregory Maxwell)
2017-01-15 05:59:09 +01:00
Gregory Maxwell
7094bf7970
Trim down the XP notice and say more about what we support.
...
The big notice at the top of the release note is not interesting
to most users now and apparently comes across poorly to some.
Better to provide more information about what we do support.
2017-01-15 04:55:46 +00:00
Matt Corallo
241d8938f4
Wake message handling thread when we receive a new block
...
This forces the message handling thread to make another full
iteration of SendMessages prior to going back to sleep, ensuring
we announce the new block to all peers before sleeping.
2017-01-14 16:00:16 -08:00
Matt Corallo
f13914a0e9
Make WakeMessageHandler public
2017-01-14 16:00:16 -08:00
John Newbery
7b5e3fe0cc
Add assumevalid testcase
...
Adds a qa testcase testing the new "-assumevalid" option. The testcase builds
a chain that includes and invalid signature for one of the transactions and
sends that chain to three nodes:
- node0 has no -assumevalid parameter and rejects the invalid chain.
- node1 has -assumevalid set and accepts the invalid chain.
- node2 has -assumevalid set but the invalid block is not buried deep
enough to assume invalid, and so rejects the invalid chain.
2017-01-14 22:17:23 +00:00
practicalswift
8fc698935f
Remove redundant semicolons
2017-01-14 21:45:32 +01:00
practicalswift
afab9f47f6
[test] Avoid potential NULL pointer dereference in addrman_tests.cpp
2017-01-14 20:18:20 +01:00
MarcoFalke
23281a4dc3
Merge #9531 : Release notes for estimation changes
...
34ede12
Document fee estimation changes (Alex Morcos)
b348287
Clarify that prioritisetransaction remains supported (Alex Morcos)
2017-01-14 11:29:25 +01:00
MarcoFalke
8daf103fa1
Merge #9528 : [qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64)
...
988d300
[qt] Rename formateNiceTimeOffset(qint64) to formatNiceTimeOffset(qint64) (practicalswift)
2017-01-14 11:24:11 +01:00