Age | Commit message (Collapse) | Author |
|
Use Boost's signal2 slot tracking mechanism to cancel any (still open)
listening sockets when receiving a shutdown signal.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
|
|
|
|
Tor hidden service support
|
|
Remove some rule differences which aren't needed with testnet3.
|
|
Output one message per getdata, not one message per 'inv' entry.
|
|
|
|
|
|
|
|
Add support for Tor/I2P networks, and make code more readable.
|
|
This commit adds support for .onion addresses (mapped into the IPv6
by using OnionCat's range and encoding), and the ability to connect
to them via a SOCKS5 proxy.
|
|
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.
|
|
RPC: add 'getrawmempool', listing all transaction ids in memory pool
|
|
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.
|
|
|
|
fix a memory leak in key.cpp
|
|
|
|
|
|
|
|
|
|
- add EC_KEY_free() in CKey::Reset() when pkey != NULL
- init pkey with NULL in CKey constructor
|
|
It seems it wasn't ever used since 0.1.5.
|
|
|
|
|
|
must be <= 5, so the exit condition must be <=, so the continuing condition must be > (and not >= as it was).
|
|
* Do not rely on "a.b.c" being interpreted as "a.0.b.c"
* Parse numeric addresses for address families for which no device is configured
|
|
Since the minimum signed integer cannot be represented as positive so long as its type is signed, and it's not well-defined what happens if you make it unsigned before negating it, we instead increment the negative integer by 1, convert it, then increment the (now positive) unsigned integer by 1 to compensate
|
|
Improve parsing of IPv6 addresses
|
|
Resolved minor conflict in main.cpp
|
|
Fix inverted logic for !Discover/!UPNP when !Listen.
|
|
NOTE: This is required to be sure that we can properly shut down the RPC
thread.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
|
|
GUI: init with correct display unit and update it, when user changes it via options dialog
|
|
GUI: set cursor for balance field to IBeamCursor (to show the user it IS selectable)
|
|
Show command line options as dialog when opened from debug window
|
|
|
|
sendcoinsentry and connect it to displayUnitChanged() - this ensures all fields in the GUI, who use a display unit are imediately updated, when the user changes this setting in the optionsdialog / ensure used fields init with the current set display unit
|
|
Conflicts:
src/bitcoinrpc.cpp
Signed-off-by: Giel van Schijndel <me@mortis.eu>
|
|
This reverts commit 7b90edb5a6cada7176012d09d748847b5f966585.
|
|
|
|
|
|
Former code sent '0' as nonce, which was serialized as 32-bit.
|
|
|
|
Implement the following rules:
* Interpret [X]:Y as host=X port=Y, if Y is an integer
* Interpret X:Y as host=X port=Y, if Y is an integer and X contains no colon
* Interpret X:Y as host=X:Y port=default otherwise
|
|
On Linux/Mac the command-line options were printed to stderr when the button
was pressed in the debug window, resulting in confusion. This is fixed
in this commit by adding a separate method.
|
|
Reorganize tray icon menu into more logical order
|
|
|
|
URI-handling code update: added safety checks and notifications
|
|
re-work Shutdown() function
|
|
The current order of menu options in the tray menu doesn't really match expected usage patterns, this commit changes it to more logical order.
- Toggle show/hide first (unchanged)
- Then, send/receive coins actions, which are the critical functionality of bitcoin
- Then, sign/verify message
- Then finally the options, and closing with the debug window
|
|
|