Pieter Wuille
19b6958cfd
Added -externalip and -discover
...
-externalip=<ip> can be used to explicitly set the public IP address
of your node. -discover=0 can be used to disable the automatic public
IP discovery system.
13 years ago
Pieter Wuille
39857190de
Support for multiple local addresses
13 years ago
Pieter Wuille
478b01d9a7
Add -seednode connections, and use this for -dnsseed + -proxydns
13 years ago
Pieter Wuille
9bab521df8
Support connecting by hostnames passed to proxy (-proxydns)
13 years ago
Pieter Wuille
a012e2db59
refactor ConnectSocket
13 years ago
Pieter Wuille
933f2715d8
SOCKS5 connect via hostname
13 years ago
Pieter Wuille
60a87bce87
SOCKS5 support by default
...
Add -socks=<n> to select SOCKS version to use. 4 and 5 are supported,
5 is default.
13 years ago
Philip Kaufmann
dab7acdf45
fix #952 by checking if we have a new address or an updated label
13 years ago
Peter Todd
86c47a5636
Fixed non-sensical error message
...
Previously trying to create a multisig address that required less than
one signature would output something like the following:
"wrong number of keys(got 1, need at least 0)"
13 years ago
Philip Kaufmann
e23a121afe
remove obsolete BackupWallet() entry in wallet.h
13 years ago
Philip Kaufmann
65c2ad687f
add a clear all button to the sign message page
13 years ago
Matt Corallo
234db30d66
Update to require IE 5.1 as it is required on mingw64.
...
We already require XP, this just fixes Mingw64 build.
13 years ago
Jeff Garzik
024fa1cb44
EvalScript(): cast to avoid signed/unsigned warning
13 years ago
Jeff Garzik
061a001590
ThreadSocketHandler2(): cast to avoid signed/unsigned warning
13 years ago
Jeff Garzik
10ab9c2f42
OpenBlockFile(): cast to eliminate signed/unsigned comparison warning
...
nFile's null value is -1. Cast that to unsigned int, to avoid warning.
Additionally, avoid nFile==0 because the first valid value is 1.
13 years ago
Jeff Garzik
24de922636
CDiskTxPos, CInPoint, COutPoint: cast null value (-1) to unsigned int
...
to eliminate signed/unsigned comparison warnings
13 years ago
Wladimir J. van der Laan
3ee5f8aac3
remove duplicate definition of SecureString in util.h
...
SecureString was moved to allocators.h in commit 6cb6d62347
13 years ago
Philip Kaufmann
aab1f950aa
small translation-file handling / loading changes and re-work comments to be clearer
13 years ago
Philip Kaufmann
1c94f88d5e
fix compiler warning "suggest parentheses around assignment used as truth
...
value [-Wparentheses]" in util.cpp
13 years ago
Philip Kaufmann
f8e4d43be7
fix compiler warning "suggest explicit braces to avoid ambiguous "else"
...
[-Wparentheses]" in net.cpp
13 years ago
Philip Kaufmann
00d971e1e7
remove references to bitcoin-wx from comment in init.cpp
13 years ago
Philip Kaufmann
810b4fad7d
remove unused typedef in serialize.h
13 years ago
Gavin Andresen
be8651dde7
Check earlier for blocks with duplicate transactions. Fixes #1167
13 years ago
Wladimir J. van der Laan
6974aff668
Fix critical UI performance issue ( #1154 )
13 years ago
Gavin Andresen
0acbe31cfc
Update openssl version
13 years ago
Gavin Andresen
2c31cfc271
Bump version numbers for 0.6.1rc1
13 years ago
freewil
42ce57687a
remove strange debug message from listsinceblock
13 years ago
freewil
fdb204abb1
listsinceblock: rpc param blockid -> blockhash
...
This is more consistent with the rest of the labeling seen
by the user when accessing the rpc commands.
13 years ago
Gavin Andresen
9e71a5cd23
Define TEST_DATA_DIR so unit tests can be run from any current working directory
13 years ago
Gavin Andresen
08e663d7e2
Undo part of c2e8c8ac
to fix issue#1148
13 years ago
Gavin Andresen
cfc45319fe
Remove unused -DNOPCH
13 years ago
Pieter Wuille
83743ed681
Make lsn_reset ("detach databases") optional and off by default.
...
Add an option -detachdb (and entry in OptionDialog), without which no
lsn_reset is called on addr.dat and blkindex.dat. That means these
files cannot be moved to a new environment, but shutdown can be
significantly faster. The wallet file is always lsn_reset'ed.
-detachdb corresponds to the old behaviour, though it is off by
default now to speed up shutdowns.
13 years ago
Timothy Redaelli
5e9dc15360
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
13 years ago
Jeff Garzik
735a60698c
Change signed->unsigned at 3 code sites
...
This resolves signed/unsigned comparison warnings.
13 years ago
Jeff Garzik
5aa0b23825
CBlock::WriteToDisk() properly checks ftell(3) for error return
...
Rather than storing ftell(3)'s return value -- a long -- in an
unsigned int, we store and check a properly typed temp. Then, assured a
non-negative value, we store in nBlockPosRet.
13 years ago
Jeff Garzik
1d8c7a9557
Add casts for unavoidable signed/unsigned comparisons
...
At these code sites, it is preferable to cast rather than change
a variable's type.
13 years ago
Jeff Garzik
c0a0a93d02
Test ScriptSigArgsExpected() for error, before accumulating return value
13 years ago
Jeff Garzik
7bd9c3a3cf
SigOp and orphan-tx constants and counts are always unsigned.
...
Fixes several sign-comparison warnings.
13 years ago
Jeff Garzik
faf705a42a
Prefer 'unsigned int' for loop index variables tested against ::size()
...
C++ STL ::size() generally returns unsigned, which implies that "int idx"
style of loop variable will generate a signed-vs-unsigned comparison warning
when testing the loop exit condition "idx < blah.size()"
Update areas of the bitcoin code where loop variables may be more properly and
correctly defined as unsigned.
13 years ago
Philip Kaufmann
a2d0fcbe38
change button tooltip on sign message page for copy to clipboard as it was missleading
13 years ago
Pieter Wuille
f4203de302
Make GetDataDir return absolute paths
13 years ago
Pieter Wuille
1d740055da
-loadblock to load from an external blk000?.dat file
13 years ago
Gavin Andresen
8449a8788a
Data-drive script evaluation unit tests.
13 years ago
Wladimir J. van der Laan
88dc2d6c6a
Integrate @JoelKatz's optimized ToHex ( #562 ) into current HexStr function
13 years ago
Wladimir J. van der Laan
b6c837cbe1
Remove no-longer used UI hints in bitcoin core
...
The Qt UI has its own associated structures for temporary transaction state / cache.
13 years ago
Wladimir J. van der Laan
cdcc319c2d
change type of various bare chars to bool that are only used as bool (and never serialized)
13 years ago
Wladimir J. van der Laan
7be8b2ff9c
Add explicit numeric constant value for all opcodes
...
- Easier for debugging (what opcode was 0x... again?)
- Clarifies that the opcodes are set in stone in the protocol, and signals that it is impossible to insert opcodes in between.
13 years ago
Pieter Wuille
e46704dd90
Expose CRPCTable via bitcoinrpc.h for testing
13 years ago
Pieter Wuille
9862229d4d
Encapsulate mapCommands in class CRPCTable
13 years ago
Jeff Garzik
dc42bf52c1
Encapsulate RPC command dispatch in an array of CRPCCommand's
13 years ago