Gregory Maxwell
31de2414c6
Merge pull request #7011
...
6531f17
Add mediantime field to getblock and getblockheader (Peter Todd)
7259769
Document new mediantime field in getblockchaininfo (Peter Todd)
c277a63
Clarify nLockTime-by-time comment in CheckFinalTx() (Peter Todd)
748321e
Add mediantime field to getblockchaininfo RPC call (Peter Todd)
2015-11-21 14:00:55 -08:00
Gregory Maxwell
616d61b20d
Merge pull request #6851
...
3e7c891
Optimisation: Store transaction list order in memory rather than compute it every need (Luke Dashjr)
2015-11-20 18:52:44 -08:00
Luke Dashjr
3e7c89196c
Optimisation: Store transaction list order in memory rather than compute it every need
...
Huge performance improvement (450%) for zapwallettxes
2015-11-21 01:48:25 +00:00
Peter Todd
08843ed998
Add relaytxes status to getpeerinfo
2015-11-20 16:07:12 -08:00
Patick Strateman
d8aaa51bec
Bail early in processing transactions in blocks only mode.
...
Previously unsolicited transactions would be processed as normal.
2015-11-20 16:07:12 -08:00
Patick Strateman
3587f6a024
Fix relay mechanism for whitelisted peers under blocks only mode.
...
Previously in blocks only mode all inv messages where type!=MSG_BLOCK would be
rejected without regard for whitelisting or whitelistalwaysrelay.
As such whitelisted peers would never send the transaction (which would be
processed).
2015-11-20 16:07:12 -08:00
Wladimir J. van der Laan
776848acef
Merge pull request #6979
...
c197798
[Qt] simple mempool info in debug window (Jonas Schnelli)
2015-11-20 14:34:11 +01:00
Pavel Janík
5c2fd38d05
Add missing "blocktime" description to listtransactions help, fix formatting.
2015-11-20 12:51:36 +01:00
Wladimir J. van der Laan
3522f49f5a
http: add Boost 1.49 compatibility
...
`try_join_for` was introduced in Boost 1.50:
http://www.boost.org/doc/libs/1_50_0/doc/html/thread/thread_management.html#thread.thread_management.thread.try_join_for
1.49 has `timed_join`, one can accomplish the same with:
http://www.boost.org/doc/libs/1_49_0/doc/html/thread/thread_management.html#thread.thread_management.thread.timed_join
However, `timed_join` was deprecated in 1.50. So a conditional is
necessary.
This solution was tested in #7031 .
2015-11-20 10:14:21 +01:00
Jonas Schnelli
c197798d1b
[Qt] simple mempool info in debug window
2015-11-20 08:40:43 +01:00
Alex Morcos
c0353064dd
Change GetPriority calculation.
...
Compute the value of inputs that already are in the chain at time of mempool entry and only increase priority due to aging for those inputs. This effectively changes the CTxMemPoolEntry's GetPriority calculation from an upper bound to a lower bound.
2015-11-19 21:44:35 -05:00
Alex Morcos
71f1d9fd4a
Modify variable names for entry height and priority
2015-11-19 21:28:01 -05:00
Alex Morcos
5945819717
Remove default arguments for CTxMemPoolEntry()
2015-11-19 21:28:01 -05:00
Wladimir J. van der Laan
52c563710d
qt: Periodic translations update
2015-11-19 12:58:09 +01:00
Wladimir J. van der Laan
a1907772f0
Merge pull request #7051
...
b4f3e9c
ui: Add "Copy raw transaction data" to transaction list context menu (Wladimir J. van der Laan)
2015-11-19 12:52:27 +01:00
Wladimir J. van der Laan
b4f3e9c09e
ui: Add "Copy raw transaction data" to transaction list context menu
...
Add a way to quickly copy transaction hex.
Primarily useful when manually submitting transactions,
e.g. `-walletbroadcast=0` is set.
2015-11-19 11:08:29 +01:00
Daniel Cousens
ffacd27def
zmq: prepend zmq to debug messages
2015-11-19 13:32:14 +11:00
Daniel Cousens
14075b189d
init: add zmq to debug categories
2015-11-19 13:17:36 +11:00
Daniel Cousens
cdcd816a1b
init: amend ZMQ flag names
2015-11-19 12:34:19 +11:00
Jonas Schnelli
f71bfefcb0
add UI help for -resetguisettings
2015-11-18 21:50:32 +01:00
Alex Morcos
072e2f8644
Alter assumptions in CCoinsViewCache::BatchWrite
...
Previously it would break if you flushed a parent cache while there was a child cache referring to it. This change will allow the flushing of parent caches.
2015-11-18 12:03:50 -05:00
Wladimir J. van der Laan
73fa5e6043
Merge pull request #6932
...
1cf3dd8
Add unit test for UpdateCoins (Alex Morcos)
03c8282
Make CCoinsViewTest behave like CCoinsViewDB (Alex Morcos)
14470f9
ModifyNewCoins saves database lookups (Alex Morcos)
2015-11-18 17:37:58 +01:00
Jonas Schnelli
03403d8c0f
Merge pull request #6951
...
513686d
[qt] Use maxTxFee instead of 10000000 (MarcoFalke)
2015-11-18 14:28:21 +01:00
Jonas Schnelli
2a8e8c2e37
[Qt] don't allow to store invalid proxy ports
2015-11-18 14:02:14 +01:00
Alex Morcos
e855b0152f
Fix debug log message for block files
2015-11-17 22:23:39 -05:00
Luke Dashjr
2aa49ce9fe
Bugfix: Use unique autostart filenames on Linux for testnet/regtest
2015-11-17 20:31:00 +00:00
Alex Morcos
e587bc3fd9
Implement helper class for CTxMemPoolEntry constructor
...
This is only for unit tests.
2015-11-16 20:41:32 -05:00
Gregory Maxwell
87ee0e2dbc
Merge pull request #6986
...
6bc9e40
Chainparams: Explicit CChainParams arg for miner: (Jorge Timón)
598e494
Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
2015-11-16 17:00:11 -08:00
Gregory Maxwell
972bf9c529
Merge pull request #6999
...
f6d9d5e
add (max)uploadtarget infos to getnettotals RPC help (Jonas Schnelli)
2015-11-16 16:39:33 -08:00
Gregory Maxwell
0a547d2d55
Merge pull request #7023
...
4d29032
Fixed integer comparison warning. (Eric Lombrozo)
2015-11-16 16:34:51 -08:00
Alex Morcos
56106a3300
Expose RPC calls for estimatesmart functions
...
Also add testing for estimatesmartfee in smartfees.py
2015-11-16 15:42:31 -05:00
Alex Morcos
e93a236d7a
add estimateSmartFee to the unit test
2015-11-16 15:33:06 -05:00
Alex Morcos
6303051470
EstimateSmart functions consider mempool min fee
2015-11-16 15:33:06 -05:00
Alex Morcos
f22ac4a22c
Increase success threshold for fee estimation to 95%
...
This provides more conservative estimates and reacts more quickly to a backlog.
Unfortunately the unit test for fee estimation depends on the success threshold (and the decay) chosen; also modify the unit test for the new default success thresholds.
2015-11-16 15:33:06 -05:00
Alex Morcos
4fe28236c0
Change wallet and GUI code to use new smart fee estimation calls.
2015-11-16 15:33:06 -05:00
Alex Morcos
22eca7da22
Add smart fee estimation functions
...
These are more useful fee and priority estimation functions. If there is no fee/pri high enough for the target you are aiming for, it will give you the estimate for the lowest target that you can reliably obtain. This is better than defaulting to the minimum. It will also pass back the target for which it returned an answer.
2015-11-16 15:33:06 -05:00
Wladimir J. van der Laan
e54ebbf600
Merge pull request #6954
...
6e18268
Switch to libsecp256k1-based validation for ECDSA (Pieter Wuille)
2015-11-16 13:25:18 +01:00
Wladimir J. van der Laan
dafefb7924
Merge pull request #7016
...
aee22bf
Avoid a compile error on hosts with libevent too old for EVENT_LOG_WARN. (Gregory Maxwell)
2015-11-16 12:03:19 +01:00
Jonas Schnelli
d16d1b72d1
[Qt] refactor and optimize proxy settings behavior
2015-11-16 11:05:26 +01:00
Gregory Maxwell
aee22bf288
Avoid a compile error on hosts with libevent too old for EVENT_LOG_WARN.
...
This uses _EVENT_LOG_WARN instead, which appears to be defined in the
old versions of libevent that I have on some systems.
2015-11-16 09:21:54 +00:00
Gregory Maxwell
6876a78b86
Merge pull request #6991
...
9bd3f03
Clarify 'fee' field in fundrawtransaction help text (Peter Todd)
2015-11-16 00:38:08 -08:00
Jonas Schnelli
814697c556
Merge pull request #7000
...
773ae46
[Qt] add shortcurts for debug-/console-window (Jonas Schnelli)
2015-11-16 08:39:42 +01:00
Eric Lombrozo
4d29032a64
Fixed integer comparison warning.
2015-11-15 20:13:30 -05:00
Pieter Wuille
6e18268616
Switch to libsecp256k1-based validation for ECDSA
2015-11-15 16:06:57 +01:00
Gregory Maxwell
b632145ede
Merge pull request #6993
...
bbf49da
Fix comment for blocksonly parameter interactions (Patick Strateman)
6a4982f
Fix fRelayTxs comment (Patick Strateman)
59441a0
Display DEFAULT_WHITELISTALWAYSRELAY in help text (Patick Strateman)
71a2683
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants (Patick Strateman)
762b13b
Add help text for blocksonly and whitelistalwaysrelay (Patick Strateman)
3a96497
Add whitelistalwaysrelay option (Patick Strateman)
420fa81
Do not process tx inv's in blocksonly mode (Patick Strateman)
4044f07
Add blocksonly mode (Patick Strateman)
2015-11-14 05:23:00 -08:00
Patick Strateman
bbf49da408
Fix comment for blocksonly parameter interactions
2015-11-14 05:14:01 -08:00
Patick Strateman
6a4982fb83
Fix fRelayTxs comment
2015-11-14 05:12:31 -08:00
Patick Strateman
59441a0445
Display DEFAULT_WHITELISTALWAYSRELAY in help text
2015-11-14 05:12:05 -08:00
Patick Strateman
71a2683f4b
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants
2015-11-14 05:10:59 -08:00
Patick Strateman
762b13b4d8
Add help text for blocksonly and whitelistalwaysrelay
2015-11-14 04:54:01 -08:00