Matt Corallo
3c3cb60a90
Remove useless high-volume printf ( fixes #1544 ).
13 years ago
fanquake
7790f391ab
Fix a couple more typos
13 years ago
cardpuncher
eb9a21afed
Fix a typo in TransactionDesc
13 years ago
Philip Kaufmann
0f5d4c6e88
fix a typo in OptionsDialog
13 years ago
Jeff Garzik
1006f0707e
RPC: add 'getpeerinfo', returning easy-to-retrieve per-CNode data
13 years ago
fanquake
e749405297
Fix a few typos
13 years ago
Jeff Garzik
70ab73a008
Create new rpcnet module, and move 'getconnectioncount' RPC to it
13 years ago
Matt Corallo
460d878613
Fix build error.
13 years ago
Matt Corallo
4e97a9d9eb
Lock vnThreadsRunning[THREAD_RPCHANDLER].
13 years ago
Matt Corallo
7cf3d2ccb9
Use a rpc-specific queue to tell asio connections to shutdown.
13 years ago
Matt Corallo
18c4beb05b
Revert "*Always* send a shutdown signal to enable custom shutdown actions"
...
This reverts commit 896899e0d6
.
13 years ago
R E Broadley
7f1de3fec8
Make truncating the debug.log file an option.
...
Useful for developers who need to refer to futher back in debug.log history, but who don't want to
enable the -debug option and all the verbosity that comes with that.
13 years ago
Matt Corallo
9d6cd04b3b
Stop processing messages on full send buffer and dont disconnect.
...
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.
13 years ago
Philip Kaufmann
2943f60811
GUI: change language selection format
...
- display as "language - country (locale name)", when locale name consists of 2 parts
- display as "language (locale name)", when locale name consists of 1 part
13 years ago
Gavin Andresen
1282c8653e
Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)
13 years ago
Michael Ford
160eb23b0e
Add Bitcoin dev Copyright
13 years ago
Michael Ford
e4ebe82ee2
Update comments
13 years ago
Philip Kaufmann
a8c20ea946
fix a comment to correctly use -upgradewallet
13 years ago
Jeff Garzik
d887f54494
Document -debugnet option in command line help.
...
Fixes #1507
13 years ago
Giel van Schijndel
5b14622110
On Windows link with `mswsock`, it being required (indirectly) by RPC code
...
Signed-off-by: Giel van Schijndel <me@mortis.eu>
13 years ago
Giel van Schijndel
ad25804feb
Cancel outstanding listen ops for RPC when shutting down
...
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>
13 years ago
Jeff Garzik
983e4bdef0
Quieten 'getdata' P2P message output
...
Output one message per getdata, not one message per 'inv' entry.
13 years ago
xanatos
3948eb0c54
Changed a comment about a QVariant type
13 years ago
Pieter Wuille
863e995b79
Debug version messages
13 years ago
Pieter Wuille
54ce3bad64
Add -tor and related configuration
13 years ago
Pieter Wuille
d077dd2a6e
Rewrite CNetAddr::GetReachabilityFrom()
...
Add support for Tor/I2P networks, and make code more readable.
13 years ago
Pieter Wuille
70f7f00385
Node support for Tor hidden services
...
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.
13 years ago
Jeff Garzik
d07eaba195
Introduce -debugnet 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.
13 years ago
Gregory Maxwell
e6332751c6
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.
13 years ago
Jeff Garzik
25d5c19522
RPC: add 'getrawmempool', listing all transaction ids in memory pool
13 years ago
Pieter Wuille
e0be8da392
Unit tests for base32 encode/decode
13 years ago
Pieter Wuille
c4c99ade65
Base32 encoding/decoding
13 years ago
xanatos
d89f06c1ae
Small fix to rpc_tests
13 years ago
xanatos
fdfdb5cd7d
= instead of == in multisig_tests.cpp
13 years ago
Philip Kaufmann
a3d12f445a
fix a memory leak in key.cpp
...
- add EC_KEY_free() in CKey::Reset() when pkey != NULL
- init pkey with NULL in CKey constructor
13 years ago
Pieter Wuille
70f6049f71
Remove CTxDB::ReadOwnerTxes.
...
It seems it wasn't ever used since 0.1.5.
13 years ago
Philip Kaufmann
229c34f818
GUI: ensure a changed bitcoin unit immediately updates the tx list amounts
13 years ago
Gavin Andresen
c283b3c569
print large orphan warning BEFORE deleting pvMsg
13 years ago
xanatos
16d5671943
If (for example) the new max_size must be 5 then at the end the queue.size() must be <= 5, so the exit condition must be <=, so the continuing condition must be > (and not >= as it was).
13 years ago
Pieter Wuille
4c6b210af0
Fix netbase tests
...
* 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
13 years ago
Luke Dashjr
0f5a2a82d9
CBigNum: Convert negative int64 values in a more well-defined way
...
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
13 years ago
Giel van Schijndel
896899e0d6
*Always* send a shutdown signal to enable custom shutdown actions
...
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>
13 years ago
Gregory Maxwell
3bbb49de55
Fix inverted logic for !Discover/!UPNP when !Listen.
13 years ago
Philip Kaufmann
e0873dafc5
add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, 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
13 years ago
Matt Corallo
ad5f29b743
Revert "Disable bitcoin: URI handling on Windows for the 0.6 release"
...
This reverts commit 7b90edb5a6
.
13 years ago
Matt Corallo
1d42878adb
Fix #956 the Boost 1.49 way.
13 years ago
Matt Corallo
39471861d5
Upgrade to Boost 1.49 on Win32
13 years ago
Pieter Wuille
c971112dfa
Use a 64-bit nonce in ping
...
Former code sent '0' as nonce, which was serialized as 32-bit.
13 years ago
Pieter Wuille
c4971e24f9
Add netbase tests
13 years ago
Pieter Wuille
1e8aeae15a
Improve parsing of IPv6 addresses
...
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
13 years ago