Skip to content

Commit

Permalink
Move SockMan to common
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Sep 27, 2024
1 parent 03f6cc2 commit 4dd51b2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ add_library(bitcoin_common STATIC EXCLUDE_FROM_ALL
common/run_command.cpp
common/settings.cpp
common/signmessage.cpp
common/sockman.cpp
common/system.cpp
common/url.cpp
compressor.cpp
Expand Down Expand Up @@ -270,7 +271,6 @@ add_library(bitcoin_node STATIC EXCLUDE_FROM_ALL
rpc/txoutproof.cpp
script/sigcache.cpp
signet.cpp
sockman.cpp
torcontrol.cpp
txdb.cpp
txmempool.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/sockman.cpp → src/common/sockman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

#include <config/bitcoin-config.h> // IWYU pragma: keep

#include <common/sockman.h>
#include <netbase.h>
#include <logging.h>
#include <sockman.h>
#include <util/sock.h>
#include <util/thread.h>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <bip324.h>
#include <chainparams.h>
#include <common/bloom.h>
#include <common/sockman.h>
#include <compat/compat.h>
#include <consensus/amount.h>
#include <crypto/siphash.h>
Expand All @@ -24,7 +25,6 @@
#include <policy/feerate.h>
#include <protocol.h>
#include <random.h>
#include <sockman.h>
#include <span.h>
#include <streams.h>
#include <sync.h>
Expand Down

0 comments on commit 4dd51b2

Please sign in to comment.