dogecoin/src
Pieter Wuille 6f86ee9cae Introduce whitelisted peers.
This adds a -whitelist option to specify subnet ranges from which peers
that connect are whitelisted. In addition, there is a -whitebind option
which works like -bind, except peers connecting to it are also
whitelisted (allowing a separate listen port for trusted connections).

Being whitelisted has two effects (for now):
* They are immune to DoS disconnection/banning.
* Transactions they broadcast (which are valid) are always relayed,
  even if they were already in the mempool. This means that a node
  can function as a gateway for a local network, and that rebroadcasts
  from the local network will work as expected.

Whitelisting replaces the magic exemption localhost had for DoS
disconnection (local addresses are still never banned, though), which
implied hidden service connects (from a localhost Tor node) were
incorrectly immune to DoS disconnection as well. This old
behaviour is removed for that reason, but can be restored using
-whitelist=127.0.0.1 or -whitelist=::1 can be specified. -whitebind
is safer to use in case non-trusted localhost connections are expected
(like hidden services).
2015-06-27 14:11:36 +00:00
..
compat libc-compat: add new symbol that's now needed 2014-09-11 20:39:42 -06:00
json switch from boost int types to <stdint.h> 2014-07-09 17:02:13 +02:00
leveldb Squashed 'src/leveldb/' changes from 9094c7f..7924331 2014-06-29 15:38:45 +02:00
m4 Updating the library name of QWindowsPrinterSupport 2014-08-31 23:43:46 -04:00
obj
obj-test
qt remove SOCKS4 support from core and GUI 2015-06-27 13:45:18 +00:00
test Stricter handling of orphan transactions 2014-10-04 01:25:58 +01:00
addrman.cpp Remove redundant .c_str()s 2014-01-23 16:05:01 +01:00
addrman.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
alert.cpp Fixed compile error on Debian jessie (gcc version 4.8.2 (Debian 4.8.2-16)) 2014-05-18 22:27:58 +01:00
alert.h Add a way to limit deserialized string lengths 2014-08-29 21:09:27 -06:00
allocators.cpp
allocators.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
auxpow.cpp Remove unreachable code. 2014-11-21 11:22:28 +01:00
auxpow.h Import Vince Durham's aux proof of work implementation. 2014-08-01 13:41:21 +02:00
base58.cpp base58: add paranoid return value checks 2014-08-28 23:13:27 +01:00
base58.h Move base58.h implementation code to base58.cpp 2014-07-09 16:36:24 +02:00
bignum.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
bloom.cpp Fix bloom filter not to use bit_mask 2014-05-24 18:42:01 +02:00
bloom.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
chainparams.cpp Merge pull request #549 from leofidus/1.7-rpctests 2014-06-07 16:27:59 +02:00
chainparams.h Make rewards in regtest mode less random 2014-06-02 21:51:04 +02:00
checkpoints.cpp Add checkpoints for 371,337 and 400,000 blocks, as well as intermediary blocks. 2014-10-04 19:12:52 +01:00
checkpoints.h [Qt] rescan progress 2014-05-26 20:02:44 +02:00
checkqueue.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
clientversion.h Update release type and copyright year 2015-01-17 19:22:19 +01:00
coincontrol.h Coincontrol cleanup (e.g. add missing license) 2013-11-18 08:16:12 +01:00
coins.cpp Add verbose boolean to getrawmempool 2013-11-30 15:42:10 +10:00
coins.h Replaced occurrences of "bitcoin" with "dogecoin" or "Dogecoin" as appropriate 2014-03-28 23:40:56 +00:00
compat.h reorder includes to compile on OpenBSD 2014-06-29 15:38:31 +02:00
core.cpp extracted auxpow consts 2014-08-03 17:05:49 +02:00
core.h Set AuxPoW switchover block to 371337 2014-08-18 20:14:16 +01:00
crypter.cpp Move CCryptoKeyStore to crypter.cpp 2013-12-04 12:46:13 +01:00
crypter.h Lets get at least dogecoind building 2014-04-05 00:17:09 -07:00
db.cpp unified and better log/error messages for CDBEnv/CDB 2014-05-26 19:49:21 +02:00
db.h Move CAddrDB frrom db to net 2013-12-04 12:46:13 +01:00
dogecoin-cli-res.rc Update .rc files to reflect Dogecoin 2014-03-31 21:07:35 +02:00
dogecoin-cli.cpp SetupEnvironment() - clean commit 2014-07-09 17:01:36 +02:00
dogecoind-res.rc Update .rc files to reflect Dogecoin 2014-03-31 21:07:35 +02:00
dogecoind.cpp SetupEnvironment() - clean commit 2014-07-09 17:01:36 +02:00
hash.cpp
hash.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
init.cpp Introduce whitelisted peers. 2015-06-27 14:11:36 +00:00
init.h Allow -noserver with bitcoind 2013-12-20 16:07:33 +01:00
key.cpp Improve robustness of DER recoding code 2015-01-12 20:20:01 +00:00
key.h key.cpp: fail with a friendlier message on missing ssl EC support 2014-09-18 20:29:35 +01:00
keystore.cpp Check redeemScript size does not exceed 520 byte limit 2014-06-29 15:38:39 +02:00
keystore.h Update moved and dead links 2014-05-25 18:02:48 +02:00
leveldbwrapper.cpp Wrap create_directory calls in try catch-blocks 2014-05-26 19:34:50 +02:00
leveldbwrapper.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
limitedmap.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
main.cpp Introduce whitelisted peers. 2015-06-27 14:11:36 +00:00
main.h Store fewer orphan tx by default, add -maxorphantx option 2014-09-27 14:33:07 -06:00
Makefile.am Support auxillary proof of work. 2014-08-01 16:42:50 +02:00
Makefile.include Don't use ded -i to stay POSIX compliant 2014-06-29 15:38:31 +02:00
miner.cpp Removed unused ScanHash_CryptoPP() method. 2014-08-07 20:00:03 +01:00
miner.h Enable RPC commands for mining aux proof of work blocks. 2014-08-01 16:43:05 +02:00
mruset.h Limit number of known addresses per peer 2014-07-09 17:19:32 +02:00
net.cpp Introduce whitelisted peers. 2015-06-27 14:11:36 +00:00
net.h Introduce whitelisted peers. 2015-06-27 14:11:36 +00:00
netbase.cpp remove SOCKS4 support from core and GUI 2015-06-27 13:45:18 +00:00
netbase.h remove SOCKS4 support from core and GUI 2015-06-27 13:45:18 +00:00
noui.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
noui.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
protocol.cpp Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. 2014-02-09 21:06:06 -05:00
protocol.h credit where credit is due 2014-03-22 22:13:28 +01:00
rpcblockchain.cpp Avoid a segfault on getblock if it can't read a block from disk. 2014-08-29 19:01:11 +01:00
rpcclient.cpp switch from boost int types to <stdint.h> 2014-07-09 17:02:13 +02:00
rpcclient.h Replaced occurrences of "bitcoin" with "dogecoin" or "Dogecoin" as appropriate 2014-03-28 23:40:56 +00:00
rpcdump.cpp [Qt] importwallet progress 2014-05-29 20:06:24 +02:00
rpcmining.cpp Merge pull request #620 from rnicoll/1.8-dev-rpc 2014-08-18 21:17:00 +02:00
rpcmisc.cpp remove SOCKS4 support from core and GUI 2015-06-27 13:45:18 +00:00
rpcnet.cpp Introduce whitelisted peers. 2015-06-27 14:11:36 +00:00
rpcprotocol.cpp Replace non-threadsafe gmtime and setlocale 2014-07-09 17:12:18 +02:00
rpcprotocol.h 'sendrawtransaction' improvements 2014-05-25 18:57:45 +02:00
rpcrawtransaction.cpp Clarify that redeemScript is often optional 2014-08-28 20:56:20 +01:00
rpcserver.cpp New issue Don't reveal whether password is <20 or >20 characters in RPC 2014-08-29 17:07:59 -07:00
rpcserver.h Enable RPC commands for mining aux proof of work blocks. 2014-08-01 16:43:05 +02:00
rpcwallet.cpp No references to centralized databases in help text. 2014-07-09 17:18:40 +02:00
script.cpp Also switch the (unused) verification code to low-s instead of even-s. 2014-06-29 15:38:41 +02:00
script.h Also switch the (unused) verification code to low-s instead of even-s. 2014-06-29 15:38:41 +02:00
scrypt-sse2.cpp Protocol changes for Dogecoin 1.5 2014-03-22 22:13:27 +01:00
scrypt.cpp Protocol changes for Dogecoin 1.5 2014-03-22 22:13:27 +01:00
scrypt.h Protocol changes for Dogecoin 1.5 2014-03-22 22:13:27 +01:00
serialize.h Add a way to limit deserialized string lengths 2014-08-29 21:09:27 -06:00
sync.cpp Wallet locking fixes for -DDEBUG_LOCKORDER 2014-02-18 12:11:46 -05:00
sync.h Use mutex pointer instead of name for AssertLockHeld 2013-12-19 09:46:11 +01:00
threadsafety.h Cleanup code using forward declarations. 2013-11-10 09:36:28 -06:00
tinyformat.h Make tinyformat errors raise an exception instead of assert()ing 2014-02-28 09:25:00 +01:00
txdb.cpp Merge pull request #601 from rnicoll/1.8-dev-leveldb 2014-08-09 18:19:25 +02:00
txdb.h Support auxillary proof of work. 2014-08-01 16:42:50 +02:00
txmempool.cpp Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
txmempool.h Remove CWalletTx::vfSpent 2014-02-26 11:53:51 -05:00
ui_interface.h [Qt] rescan progress 2014-05-26 20:02:44 +02:00
uint256.h Add multiplication and division to uint160/uint256 2014-06-29 15:38:42 +02:00
util.cpp rename fNoListen to fListen and move to net 2015-06-27 13:44:14 +00:00
util.h rename fNoListen to fListen and move to net 2015-06-27 13:44:14 +00:00
version.cpp VERSION obtained from source instead of the previous git tag. 2014-05-26 21:34:40 +02:00
version.h Set minimum protocol version to 70003 so connections to pre-1.8 clients are rejected. 2014-08-25 01:27:32 +01:00
wallet.cpp Merge pull request #684 from rnicoll/1.8.1-dev-available-coins 2014-08-30 16:20:38 +02:00
wallet.h Merge pull request #695 from michilumin/1.8.1-dev-string-length 2014-09-18 17:36:24 +02:00
walletdb.cpp AddToWallet implies BindWallet 2014-05-29 19:52:30 +02:00
walletdb.h Add -zapwallettxes cli/config option, used for wallet recovery 2014-02-14 11:33:07 -05:00