Commit graph

160 commits

Author SHA1 Message Date
Pieter Wuille
a39d7916d0 Avoid strlen; use strnlen 2021-01-14 19:07:52 -08:00
Pieter Wuille
0df0e521f1
Merge #55: Fix Warnings
2cfc903cb9 Fix -Wvarargs warnings (Lucas Betschart)
ff5564e4ce Fix -Wreturn-type warnings (Lucas Betschart)
1065303ecb Fix -Wuninitialized warnings (Lucas Betschart)

Pull request description:

  Fixes what my clang said he doesn't like.

ACKs for top commit:
  Sjors:
    Pure zen, thanks! ACK 2cfc903 (still works when rebased on master)
  sipa:
    utACK 2cfc903cb9

Tree-SHA512: 600fe532cb58c95968afabec38745c2a7c4a60603685c154538eae253ebfd492bce4110a99bcd37ec198150d85e2a1d41f1a491b2cf1d832a84363e913d7c550
2020-12-17 12:36:29 -08:00
Pieter Wuille
00542a6800
Merge #77: [doc] add hex equivalent for flags
f81b533bb5 [doc] add hex equivalent for flags (Sjors Provoost)

Pull request description:

  Handy for those who do not natively think in binary and hex.

ACKs for top commit:
  sipa:
    ACK f81b533bb5

Tree-SHA512: 92ec7604d5a302fabfa68e72c250ea6f69e8715d50b9724cf9af6eb88beff7837d898b60ff1d5b663f473f5e3d6fed41067fb803ec2dffe31c63171d8afa1357
2020-12-17 11:04:31 -08:00
Pieter Wuille
c52f3dbcc8
Merge #84: Add --address, bind to specific address
bf40486011 Add --address, bind to specific address (uhliksk)

Pull request description:

  - Fix #83 (will reply from same address as provided)
  - Fix #59 (will work if you bind to specific IPv4 address)
  - Fix #51 (will work with systemd-resolved service if you bind to specific address)

ACKs for top commit:
  sipa:
    ACK bf40486011

Tree-SHA512: 1924533a31f4e1b1149e1863454c28b5860eea6bd90e4d54fea761b608ad47ad8e15e6e2a745c91717658466cdd6c2cdc221f2587968f94c798d09774e4ddca0
2020-12-17 10:58:03 -08:00
Pieter Wuille
c80dfca92d
Merge #88: Add setcap hint to readme
5586af8ff2 Add setcap hint to readme (Jonas Schnelli)

Pull request description:

ACKs for top commit:
  sipa:
    ACK 5586af8ff2

Tree-SHA512: 1449ba2419bfb4a14b6dfff1683e13b0a6f469d69c8ebf9026ae9b51bba684538e3e89ed714163b83becdf13572174826579dcec2ac2abfc84ce94693935461f
2020-12-17 10:52:02 -08:00
Jonas Schnelli
5586af8ff2 Add setcap hint to readme 2020-12-16 20:25:09 +01:00
Pieter Wuille
b1cf356ff2 Fix stack overflow in write_record_aaaa 2020-10-19 16:32:08 -07:00
Pieter Wuille
63ff7e40c9 Don't merge in re-rumours' nServices 2020-10-10 10:20:26 -07:00
Pieter Wuille
24e1cac582 Avoid strncpy for commands 2020-10-09 19:51:19 -07:00
Pieter Wuille
89929dab5c Use distinct read and except sets in select() 2020-10-09 19:44:29 -07:00
Pieter Wuille
a1e9394284 Overwrite db services with version message results 2020-10-09 19:37:28 -07:00
uhliksk
bf40486011
Add --address, bind to specific address 2020-08-06 03:29:56 +02:00
Pieter Wuille
529a667f30 Convert dns.c to C++ 2019-12-02 15:16:26 -08:00
Sjors Provoost
f81b533bb5
[doc] add hex equivalent for flags 2019-08-22 17:35:13 +02:00
Pieter Wuille
d098ad9a1f Add support for NODE_COMPACT_FILTERS by default 2019-08-09 17:04:12 -07:00
Pieter Wuille
36bd7f9a0f Send BIP37 fRelay as false 2019-08-09 16:56:23 -07:00
Pieter Wuille
180eb62bd2 Delete unused TestUint256AdHoc 2019-08-09 16:53:30 -07:00
Pieter Wuille
002bc0bbd5 Support NODE_NETWORK_LIMITED by default 2019-08-09 16:52:18 -07:00
Lucas Betschart
2cfc903cb9 Fix -Wvarargs warnings 2017-12-29 00:04:40 +01:00
Lucas Betschart
ff5564e4ce Fix -Wreturn-type warnings 2017-12-28 23:58:10 +01:00
Lucas Betschart
1065303ecb Fix -Wuninitialized warnings 2017-12-28 23:45:38 +01:00
Pieter Wuille
d54f39a1ee
Merge #42: thisflag should be declared as FlagSpecificData reference
9e4e634 thisflag should be declared as FlagSpecificData reference (Andrea Suisani)
2017-01-12 21:06:13 -08:00
Andrea Suisani
9e4e6342b7
thisflag should be declared as FlagSpecificData reference
With the current code there's now way that the seeder
returns peers addresses upon dns requests.

Thanks to @gandrewstone for good catch.
2017-01-13 00:04:09 +01:00
Pieter Wuille
d5764c9149 Fix per-flag-cache size tracking 2016-10-29 12:15:18 -07:00
Pieter Wuille
0ec6e14c17
Merge #41: Fix -w option
0984cac Fix -w option (Peter Todd)
2016-06-23 21:51:38 +02:00
Peter Todd
0984caca2a
Fix -w option 2016-06-14 23:53:20 -04:00
Pieter Wuille
43388c3c3e
Merge #40: Improve filter whitelist
fa2aa34 Improve filter whitelist (Pieter Wuille)
2016-06-07 18:58:45 +02:00
Pieter Wuille
fa2aa348c8 Improve filter whitelist 2016-06-07 18:55:16 +02:00
Pieter Wuille
ab0ac73e5f
Merge #36: Add support to filter nodes by node flags
c9679dc Add whitelist for service filter, use a map for cacheTime (Jonas Schnelli)
5c8b9e3 IP-Query: Use a vector instead a set and random pick an IP (Jonas Schnelli)
839db15 Add support to filter nodes by node flags (Jonas Schnelli)
2016-06-07 17:57:12 +02:00
Jonas Schnelli
c9679dc98e
Add whitelist for service filter, use a map for cacheTime 2016-06-03 17:53:03 +02:00
Pieter Wuille
9c32351efd
Merge #38: Wait for more than a single addr to come back
e27d6c5 Adjust protocol timeouts (Pieter Wuille)
a9e960a Wait until we have more than a single addr response (Pieter Wuille)
2016-06-01 12:43:54 +02:00
Pieter Wuille
e27d6c5b3d Adjust protocol timeouts 2016-05-31 22:07:07 +02:00
Pieter Wuille
a9e960a4dd Wait until we have more than a single addr response 2016-05-31 22:06:58 +02:00
Jonas Schnelli
5c8b9e392b
IP-Query: Use a vector instead a set and random pick an IP 2016-05-31 10:40:44 +02:00
Jonas Schnelli
839db157f9
Add support to filter nodes by node flags 2016-05-27 16:22:42 +02:00
Pieter Wuille
c36ed80739
Merge #35: fix typos
3efbe20 fix typos (Carsten Otto)
2016-05-26 15:52:30 +02:00
Pieter Wuille
e7ab039041
Merge #31: Longer TTL
1763253 Longer TTL (Pieter Wuille)
2016-05-26 15:51:27 +02:00
Carsten Otto
3efbe20217 fix typos 2016-02-06 22:32:40 +01:00
Pieter Wuille
1a33b78801
Merge pull request #33
f0c8b87 require e-mail address if dns is enabled (Pavel Vasin)
2015-08-04 18:57:05 +02:00
Pavel Vasin
f0c8b87a07 require e-mail address if dns is enabled
Writing SOA record will cause nullptr dereference if it's not specified.
2015-08-03 22:04:20 +03:00
Pieter Wuille
a59329d936
Merge pull request #19
bb53306 dns: listen on ipv6 (Pavel Vasin)
34fd288 remove option to build without ipv6 support (Pavel Vasin)
2015-07-29 15:55:49 +02:00
Pieter Wuille
69436e5f4b
Merge pull request #32
5be5b37 Fixup (Pieter Wuille)
2015-07-29 15:35:35 +02:00
Pieter Wuille
5be5b37a83 Fixup 2015-07-29 15:34:23 +02:00
Pieter Wuille
17632535ca Longer TTL 2015-07-29 15:19:21 +02:00
Pieter Wuille
5b5a942b1f
Merge pull request #30
98f98c2 Update version/height requirements (Pieter Wuille)
2015-07-29 15:17:46 +02:00
Pieter Wuille
98f98c2a3a Update version/height requirements 2015-07-29 15:16:26 +02:00
Pieter Wuille
75f2662406
Merge pull request #13
c11d7ed Add size specifier to BITCOIN_SEED_NONCE (Wladimir J. van der Laan)
2015-07-29 15:09:51 +02:00
Pieter Wuille
8ca655cd78
Merge pull request #23
9b49b9f Add compilation instructions. (Eric Martindale)
2015-07-29 14:58:06 +02:00
Pieter Wuille
5b36c248f5
Merge pull request #27
5eca8e2 Fix negative responses (Peter Todd)
2015-07-29 14:57:11 +02:00
Pieter Wuille
589fcd6ee2
Merge pull request #29
23aa36a indicate that IPv4/IPv6 proxy use SOCKS5 protocol (Jonas Schnelli)
134a393 add support for IPV6 proxy (Jonas Schnelli)
1d9d182 add support for IPV4 proxy (Jonas Schnelli)
6e5a391 avoid connecting to non valid ipv4 ranges (>=240.0.0.0) (Jonas Schnelli)
2015-07-29 14:54:37 +02:00