Commit Graph

  • c808450d87 http: Force-exit event loop after predefined time Wladimir J. van der Laan 2015-09-25 15:35:37 +02:00
  • d57bd81ce6 http: Restrict maximum size of request line + headers Wladimir J. van der Laan 2015-10-20 11:35:10 +02:00
  • 84a208b9d2 net: Have LookupNumeric return a CService directly Cory Fields 2016-08-04 16:37:49 -04:00
  • 327528fbf1 httpserver: replace boost threads with std Cory Fields 2016-07-28 18:31:25 -04:00
  • 75050e103d httpserver: explicitly detach worker threads Cory Fields 2016-07-28 18:21:00 -04:00
  • 09d5672a7d httpserver: use a future rather than relying on boost's try_join_for Cory Fields 2016-07-28 17:52:51 -04:00
  • 3f1e8b16e4 http: use std::move to move HTTPRequest into HTTPWorkItem Wladimir J. van der Laan 2016-05-04 16:05:17 +02:00
  • 8e657ffec9 http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest Wladimir J. van der Laan 2016-05-04 15:55:23 +02:00
  • 9c27beef9d http: Add log message when work queue is full Wladimir J. van der Laan 2016-05-04 15:37:26 +02:00
  • 2e29b6003c http: Do a pending c++11 simplification Wladimir J. van der Laan 2016-04-28 19:03:05 +02:00
  • 4b61ea916b Update banning functions from Core 0.13 Pieter Wuille 2016-06-24 16:35:21 +02:00
  • 620e64b25f net: narrow include scope after moving to netaddress Cory Fields 2016-05-31 17:42:38 -04:00
  • 4de79a2a14 net: Split resolving out of CService Cory Fields 2016-05-31 13:51:11 -04:00
  • e5dba2d293 net: Split resolving out of CNetAddr Cory Fields 2016-05-31 13:05:52 -04:00
  • fbc3049bd3 Add extra message to avoid a long 'Loading banlist' Pieter Wuille 2016-07-22 16:01:12 +02:00
  • 8bfb3ffc96 Use Socks5ErrorString() to decode error responses from socks proxy. Warren Togami 2016-05-19 14:19:08 +09:00
  • 3368cd6cd0 Make Socks5() InterruptibleRecv() timeout/failures informative. Warren Togami 2016-05-17 16:43:23 +09:00
  • f8318d8e02 SOCKS5 connecting and connected messages with -debug=net. Warren Togami 2016-05-09 17:35:14 -07:00
  • 79cecb3125 Make failures to connect via Socks5() more informative and less unnecessarily scary. Warren Togami 2016-05-09 17:01:33 -07:00
  • 2e694c450d Randomize name lookup result in ConnectSocketByName Pieter Wuille 2016-05-28 16:44:08 +02:00
  • aaedfba6ee net: disable resolving from storage structures Cory Fields 2016-04-12 20:48:29 -04:00
  • d50d2bbded net: resolve outside of storage structures Cory Fields 2016-04-12 20:41:39 -04:00
  • ef6e708ded Combine common error strings for different options so translations can be shared and reused Luke Dashjr 2015-12-26 08:01:55 +00:00
  • 4b310cec5d Allow disconnecting a netgroup with only one member in eviction. Gregory Maxwell 2016-06-10 03:02:01 +00:00
  • 35c0e679b7 Add recently accepted blocks and txn to AttemptToEvictConnection. Gregory Maxwell 2016-05-22 05:55:15 +00:00
  • 8f3520e4c5 Do not set extra flags for unfiltered DNS seed results Pieter Wuille 2016-06-15 19:31:28 +02:00
  • 098b500849 Prevent duplicate connections where one is by name and another by ip Pieter Wuille 2016-05-28 16:22:02 +02:00
  • 0fc3b89fa1 Rework addnode behaviour Pieter Wuille 2016-05-28 15:32:30 +02:00
  • cb47af78cc Introduce REQUIRED_SERVICES constant Pieter Wuille 2016-06-13 16:01:21 +02:00
  • c043d2fedc Introduce enum ServiceFlags for service flags Pieter Wuille 2016-06-08 19:12:22 +02:00
  • 645f26f52b Don't require services in -addnode Pieter Wuille 2016-05-25 17:18:37 +02:00
  • 4661755f32 Increase test coverage for addrman and addrinfo Ethan Heilman 2015-12-12 22:34:08 -05:00
  • be365a0d15 Only store and connect to NODE_NETWORK nodes Pieter Wuille 2016-03-26 13:31:25 +01:00
  • 0c7d5a8af8 Verify that outbound connections have expected services Pieter Wuille 2016-03-26 19:09:22 +01:00
  • f1d80ea69b Keep addrman's nService bits consistent with outbound observations Pieter Wuille 2016-03-26 18:58:00 +01:00
  • 1ee8436348 net: Add and document network messages in protocol.h Wladimir J. van der Laan 2015-12-07 15:31:32 +01:00
  • 0b00741a03 net: Account for sendheaders verack messages Wladimir J. van der Laan 2015-12-07 15:15:12 +01:00
  • 68a0b905a7 log bytes recv/sent per command Jonas Schnelli 2015-08-25 16:30:31 +02:00
  • 6a4c64355e rename mapAddrCount to mapNetGroupNodes instagibbs 2016-06-10 10:09:06 -04:00
  • 0c6f5bd006 test: Add more test vectors for siphash Wladimir J. van der Laan 2016-06-08 15:49:27 +02:00
  • bcac49d880 Support SipHash with arbitrary byte writes Pieter Wuille 2016-05-22 11:06:18 +02:00
  • 3a1602b31d Use C++11 thread-safe static initializers Pieter Wuille 2016-06-07 16:29:03 +02:00
  • a1d4facb14 Use 64-bit SipHash of netgroups in eviction Pieter Wuille 2016-05-25 15:38:32 +02:00
  • 02cfe3c9e8 Avoid recalculating vchKeyedNetGroup in eviction logic. Patrick Strateman 2016-05-23 00:21:05 -07:00
  • f0d583e847 Use global ::fRelayTxes instead of CNode one Pieter Wuille 2016-05-26 18:44:14 +02:00
  • 798fb2f972 Do not increment nAttempts by more than one for every Good connection. Gregory Maxwell 2015-04-19 13:39:38 -07:00
  • d3002718b5 Avoid counting failed connect attempts when probably offline. Gregory Maxwell 2015-04-19 12:34:43 -07:00
  • 0dd7c98e63 Add support for dnsseeds with option to filter by servicebits Jonas Schnelli 2016-05-21 23:55:22 +02:00
  • be75754cd7 net: No need to export DumpBanlist Cory Fields 2016-04-18 17:59:31 -04:00
  • 48f9c0e8b4 net: make Ban/Unban/ClearBan functionality consistent Cory Fields 2016-04-18 17:02:43 -04:00
  • e8222a467f don't run ThreadMessageHandler at lowered priority Kaz Wesley 2016-05-05 11:55:46 -07:00
  • 5c11a7c29b net: Drop CNodeRef for AttemptToEvictConnection Cory Fields 2016-04-18 15:58:19 -04:00
  • 9d1831b929 net: use the exposed GetNodeSignals() rather than g_signals directly Cory Fields 2016-04-15 20:03:18 -04:00
  • e70188eb93 net: remove unused set Cory Fields 2016-04-15 20:01:40 -04:00
  • 91584b2ab0 net: don't import std namespace Cory Fields 2016-04-15 19:53:45 -04:00
  • d8ebc0d4fc fix race that could fail to persist a ban Kaz Wesley 2016-04-27 09:26:33 -07:00
  • 51c23024eb Fix de-serialization bug where AddrMan is corrupted after exception EthanHeilman 2016-03-16 12:54:30 -04:00
  • 350a2d9b50 More comments on the design of AttemptToEvictConnection. Gregory Maxwell 2016-04-29 14:23:51 +00:00
  • b6a9d6dba7 Comment connectionsControl for now lateminer 2018-10-17 22:29:26 +03:00
  • 6c6ed197af net: manually resolve dns seed sources Cory Fields 2016-04-12 20:38:06 -04:00
  • 52147e1b80 net: require lookup functions to specify all arguments Cory Fields 2016-04-12 20:23:16 -04:00
  • e577b5c7e1 Only send one GetAddr response per connection. Gregory Maxwell 2016-04-11 01:09:34 +00:00
  • ea8bac6c36 Typo fixes in comments Chris Wheeler 2016-01-17 11:03:56 +00:00
  • fcc23c5c63 Double semicolon cleanup. 21E14 2015-12-29 22:42:27 -05:00
  • b72d6e77e8 qt: Prevent thread/memory leak on exiting RPCConsole Wladimir J. van der Laan 2016-11-18 16:35:14 +01:00
  • e059dd192b [Qt] Clean up and fix coincontrol tree widget handling Wladimir J. van der Laan 2016-11-18 14:33:34 +01:00
  • ce51b7401d [Qt] fix coincontrol sort issue Jonas Schnelli 2016-11-18 10:26:38 +01:00
  • 786436baef Make it compile lateminer 2018-10-17 21:37:53 +03:00
  • 834db9539b Get rid of CTxMempool::lookup() entirely Pieter Wuille 2016-06-07 13:44:56 +02:00
  • 2737ac3d7f Optimization: use usec in expiration and reuse nNow Pieter Wuille 2016-05-31 20:35:44 +02:00
  • 594213c60d Optimization: don't check the mempool at all if no mempool req ever Pieter Wuille 2016-05-31 20:34:27 +02:00
  • d4e4acd906 Optimize the relay map to use shared_ptr's Pieter Wuille 2016-05-31 19:51:45 +02:00
  • ea21ee91da Fix typo lateminer 2018-10-17 20:36:32 +03:00
  • 5e9497ce5b Add support for unique_ptr and shared_ptr to memusage Pieter Wuille 2016-05-30 16:50:14 +02:00
  • ab86d7e4ff Switch CTransaction storage in mempool to std::shared_ptr Pieter Wuille 2016-05-30 17:06:24 +02:00
  • 0814da4e9d Only use AddInventoryKnown for transactions Suhas Daftuar 2016-04-27 09:57:02 -04:00
  • b3992a38d4 Defer inserting into maprelay until just before relaying. Gregory Maxwell 2016-05-21 09:45:32 +00:00
  • c41e3c69aa UpdateTip: log only one line at most per block Wladimir J. van der Laan 2016-04-03 12:08:14 +02:00
  • 89655c3a1e Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool. Gregory Maxwell 2016-04-20 19:38:19 +00:00
  • 16b0e12385 Do not use mempool for GETDATA for tx accepted after the last mempoolreq Gregory Maxwell 2016-05-20 16:19:26 +00:00
  • c41eb3a831 Move bloom and feerate filtering to just prior to tx sending. Gregory Maxwell 2016-04-20 07:05:23 +00:00
  • 80803b1de0 Return mempool queries in dependency order Pieter Wuille 2016-04-10 15:33:05 +02:00
  • eeded98dce Handle mempool requests in send loop, subject to trickle Pieter Wuille 2016-04-08 16:26:41 +02:00
  • 16e9766115 Split up and optimize transaction and block inv queues Pieter Wuille 2016-04-07 13:57:36 +02:00
  • ad0ec643b7 [trivial] Add missing const qualifiers. Daniel Kraft 2016-04-30 19:25:00 +02:00
  • 05c3d2e290 Eliminate TX trickle bypass, sort TX invs for privacy and priority. Gregory Maxwell 2016-04-04 02:36:47 +00:00
  • 705fe53e49 Fix some minor compact block issues that came up in review Matt Corallo 2016-06-21 16:09:46 -07:00
  • 49c0e28d70 Use vTxHashes to optimize InitData significantly Matt Corallo 2016-06-19 01:31:52 -07:00
  • 346175e76c Elaborate bucket size math Pieter Wuille 2016-06-18 01:36:23 +02:00
  • b88d342f2c Provide a flat list of txid/terators to txn in CTxMemPool Matt Corallo 2016-06-14 23:59:03 -07:00
  • 3f6cddb53e Add reconstruction debug logging Matt Corallo 2016-06-08 15:43:50 -07:00
  • 4e55d9962c Get our "best three" peers to announce blocks using cmpctblocks Matt Corallo 2016-05-06 18:33:46 -04:00
  • 1ce3308431 Add ability to fetch CNode by NodeId Matt Corallo 2016-05-06 11:50:24 -07:00
  • 0fcad61796 Add receiver-side protocol implementation for CMPCTBLOCK stuff Matt Corallo 2016-04-14 17:45:49 -07:00
  • c94ec58bcf Add sender-side protocol implementation for CMPCTBLOCK stuff Matt Corallo 2016-04-11 01:00:17 -07:00
  • c12555699b Add protocol messages for short-ids blocks Matt Corallo 2016-06-06 01:26:52 -07:00
  • c46749cd7b Add COMPACTSIZE wrapper similar to VARINT for serialization Matt Corallo 2016-05-18 13:11:42 -07:00
  • 19421ceb48 Add TestMemPoolEntryHelper::FromTx version for CTransaction Matt Corallo 2016-04-25 17:04:13 -07:00
  • 37fff1268d Add some blockencodings tests Matt Corallo 2016-04-25 15:51:08 -07:00
  • 1af775cf68 Add partial-block block encodings API Matt Corallo 2016-04-15 12:23:57 -07:00