| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Add 'mempool' P2P command, and extend 'getdata' behavior
|
| | |
| |
| |
| | |
to permit downloading of mempool transactions from the remote peer.
|
| |\ \
| | |
| | | |
log how long LoadExternalBlockFile() takes in ms (Benchmark)
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
Optimize JSON-RPC getblockhash
|
| | | |
| | |
| | |
| | |
| | | |
- If the height is in the first half, start at the genesis block and go up, rather than at the top
- Cache the last lookup and use it as a reference point if it's close to the next request, to make linear lookups always fast
|
| |\ \ \
| | | |
| | | | |
Fix spelling and grammar errors
|
| | | | | |
|
| | | |/
| |/| |
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
- ensure warnings always start with "Warning:" and that the first
character after ":" is written uppercase
- ensure the first sentence in warnings ends with an "!"
- remove unneeded spaces from Warning-strings
- add missing Warning-string translation
- remove a "\n" and replace with untranslatable "<br><br>"
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The new bytes are based on "11" to appeal to Gavin's 11 fetish.
This breaks existing testnet3 nodes as the blockchain files
are also versioned. To upgrade a node delete everything
except wallet.dat from your .bitcoin/testnet3 folder.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Modify CreateNewBlock so that instead of processing all transactions
in priority order, process the first 27K of transactions in
priority order and then process the rest in fee-per-kilobyte
order.
This is the first, minimal step towards better a better fee-handling
system for both miners and end-users; this patch should be easy
to backport to the old versions of Bitcoin, and accomplishes the
most important goal-- allow users to "buy their way in" to blocks
using transaction fees.
|
| |\ \ |
|
| | | | |
|
| | |\ \
| | |/
| |/|
| | |
| | | |
Conflicts:
src/main.cpp
|
| | | |
| | |
| | |
| | |
| | |
| | | |
proof-of-work and merkletree, since those need to be provided later)
This throws an exception from CreateNewBlock otherwise, which is not safe without #1245!
|
| | | |
| | |
| | |
| | | |
interval between subsidy reductions
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix wrong thread name for wallet *relocking* thread
- Was named the unlocking thread
* Use consistent naming
Signed-off-by: Giel van Schijndel <[email protected]>
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
NOTE: These thread names are visible in gdb when using 'info threads'.
Additionally both 'top' and 'ps' show these names *unless* told to
display the command-line instead of task name.
Signed-off-by: Giel van Schijndel <[email protected]>
|
| | |
| |
| |
| |
| |
| | |
This adds a warning "this version is obsolete, upgrade required" if
more than 50 of the previous 100 blocks in the blockchain are
a new version.
|
| | |
| |
| |
| |
| |
| | |
Adds CBlock::CURRENT_VERSION and CTransaction::CURRENT_VERSION
constants, and makes non-CURRENT_VERSION transactions nonstandard.
This will help make future upgrades smoother.
|
| |\ \
| | |
| | | |
Show block timestamp
|
| | | |
| | |
| | |
| | | |
wrap lines
|
| | | |
| | |
| | |
| | |
| | | |
::addUnchecked()'s only caller already takes the necessary lock,
and has already calculated the TX's hash.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Quieten 'getdata' P2P message output
|
| | | | |
| | | |
| | | |
| | | | |
Output one message per getdata, not one message per 'inv' entry.
|
| |\ \ \ \
| | | | |
| | | | | |
mapAlreadyAskedFor gets additions when AlreadyHave()
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Without this change, mappings will be created even after AlreadyHave equals true, and will never be erased.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also decrease default send/receive buffer sizes from 10 to 5 mb
as this patch makes it easy for a node to fill both instead of
only send.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Tor hidden service support
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Remove some rule differences which aren't needed with testnet3.
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bip16 and Bip30 had early activation dates for testnet, but
with the reset they might as well use the same dates as
the main network.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Introduce -tracenet option, thereby quieting some redundant debug messages
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Prior to this change, each TX typically generated 3+ debug messages,
askfor tx 8644cc97480ba1537214 0
sending getdata: tx 8644cc97480ba1537214
askfor tx 8644cc97480ba1537214 1339640761000000
askfor tx 8644cc97480ba1537214 1339640881000000
CTxMemPool::accept() : accepted 8644cc9748 (poolsz 6857)
After this change, there is only one message for each valid TX received
CTxMemPool::accept() : accepted 22a73c5d8c (poolsz 42)
and two messages for each orphan tx received
ERROR: FetchInputs() : 673dc195aa mempool Tx prev not found 1e439346fc
stored orphan tx 673dc195aa (mapsz 19)
The -debugnet option, or its superset -debug, will restore the full debug
output.
|
| | |/ / / /
|/| | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Resolved minor conflict in main.cpp
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This prevents an undefined operation in main.cpp, when shifting the hash value
left by 32 bits.
Shifting a signed int left into the sign bit is undefined in C++11.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Former code sent '0' as nonce, which was serialized as 32-bit.
|
| | |/ / / /
|/| | | |
| | | | |
| | | | | |
Shutdown() if no GUI is used and calls uiInterface.QueueShutdown() if a GUI is used / all direct uiInterface.QueueShutdown() calls are replaced with Shutdown() - this ensures a clean GUI shutdown, even when catching a SIGTERM and allows the BitcoinGUI destructor to get called (which fixes a tray-icon issue and keeps the tray-icon until Bitcoin-Qt exits)
|
| | |_|/ /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Testnet reset
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
|