tulip
4846543ac5
Move time data log print to 'net' category to reduce log noise
9 years ago
Patick Strateman
80ae230a52
Improve log messages for blocks only violations.
9 years ago
Luke Dashjr
3e7c89196c
Optimisation: Store transaction list order in memory rather than compute it every need
...
Huge performance improvement (450%) for zapwallettxes
9 years ago
Peter Todd
08843ed998
Add relaytxes status to getpeerinfo
9 years ago
Patick Strateman
d8aaa51bec
Bail early in processing transactions in blocks only mode.
...
Previously unsolicited transactions would be processed as normal.
9 years ago
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).
9 years ago
Pavel Janík
5c2fd38d05
Add missing "blocktime" description to listtransactions help, fix formatting.
9 years ago
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 .
9 years ago
Jonas Schnelli
c197798d1b
[Qt] simple mempool info in debug window
9 years ago
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.
9 years ago
Alex Morcos
71f1d9fd4a
Modify variable names for entry height and priority
9 years ago
Alex Morcos
5945819717
Remove default arguments for CTxMemPoolEntry()
9 years ago
Wladimir J. van der Laan
52c563710d
qt: Periodic translations update
9 years ago
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.
9 years ago
Daniel Cousens
ffacd27def
zmq: prepend zmq to debug messages
9 years ago
Daniel Cousens
14075b189d
init: add zmq to debug categories
9 years ago
Daniel Cousens
cdcd816a1b
init: amend ZMQ flag names
9 years ago
Jonas Schnelli
f71bfefcb0
add UI help for -resetguisettings
9 years ago
Alex Morcos
8504867b14
Save the last unnecessary database read
...
It's possible coins with the same hash exist when you create a duplicate coinbase, so previously we were reading from the database to make sure we had the old coins cached so if we were to spend the new ones, the old ones would also be spent. This pull instead just marks the new coins as not fresh if they are from a coinbase, so if they are spent they will be written all the way down to the database anyway overwriting any duplicates.
9 years ago
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.
9 years ago
Jonas Schnelli
2a8e8c2e37
[Qt] don't allow to store invalid proxy ports
9 years ago
Alex Morcos
e855b0152f
Fix debug log message for block files
9 years ago
Luke Dashjr
2aa49ce9fe
Bugfix: Use unique autostart filenames on Linux for testnet/regtest
9 years ago
Alex Morcos
e587bc3fd9
Implement helper class for CTxMemPoolEntry constructor
...
This is only for unit tests.
9 years ago
Alex Morcos
56106a3300
Expose RPC calls for estimatesmart functions
...
Also add testing for estimatesmartfee in smartfees.py
9 years ago
Alex Morcos
e93a236d7a
add estimateSmartFee to the unit test
9 years ago
Alex Morcos
6303051470
EstimateSmart functions consider mempool min fee
9 years ago
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.
9 years ago
Alex Morcos
4fe28236c0
Change wallet and GUI code to use new smart fee estimation calls.
9 years ago
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.
9 years ago
Jonas Schnelli
d16d1b72d1
[Qt] refactor and optimize proxy settings behavior
9 years ago
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.
9 years ago
Eric Lombrozo
4d29032a64
Fixed integer comparison warning.
9 years ago
Pieter Wuille
6e18268616
Switch to libsecp256k1-based validation for ECDSA
9 years ago
Patick Strateman
bbf49da408
Fix comment for blocksonly parameter interactions
9 years ago
Patick Strateman
6a4982fb83
Fix fRelayTxs comment
9 years ago
Patick Strateman
59441a0445
Display DEFAULT_WHITELISTALWAYSRELAY in help text
9 years ago
Patick Strateman
71a2683f4b
Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constants
9 years ago
Patick Strateman
762b13b4d8
Add help text for blocksonly and whitelistalwaysrelay
9 years ago
Patick Strateman
3a964973fe
Add whitelistalwaysrelay option
9 years ago
Patick Strateman
420fa8143a
Do not process tx inv's in blocksonly mode
9 years ago
Patick Strateman
4044f07d1c
Add blocksonly mode
9 years ago
Peter Todd
b3ae384a8d
Remove LOCK(cs_main) from decodescript
...
Completely static RPC call that doesn't change or even look at mutable
state anywhere.
9 years ago
Peter Todd
6531f17a78
Add mediantime field to getblock and getblockheader
9 years ago
Peter Todd
7259769d7f
Document new mediantime field in getblockchaininfo
9 years ago
Peter Todd
c277a63ed7
Clarify nLockTime-by-time comment in CheckFinalTx()
9 years ago
Peter Todd
10953a7d32
Better error message for fundrawtransaction w/ empty vout
...
Previously this case failed deep in Cwallet::CreateTransaction() with
the error message "Transaction amounts must be positive"
9 years ago
Peter Todd
61e1eb2e1c
Actually use includeWatching value in fundrawtransaction
...
Previously if you called fundrawtransaction and set includeWatching to
false it'd act as through you set it to true.
9 years ago
Peter Todd
748321eb5b
Add mediantime field to getblockchaininfo RPC call
...
Useful now that BIP113 is enforced for transactions entering the
mempool. Was previously only (indirectly) available by calling
getblocktemplate, a relatively expensive RPC call.
9 years ago
Jonas Schnelli
d61fcff071
don't enforce maxuploadtargets disconnect for whitelisted peers
9 years ago