From fdf8888b6f0c63e8a4cb1459752625e642d6a4dd Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 2 Apr 2019 13:41:12 -0400 Subject: [build] Move CheckTransaction from lib_server to lib_consensus CheckTransaction is a context-free function that does not require access to the blockchain or mempool. Move it from src/consensus/tx_verify in lib_server to a new unit src/consensus/tx_check in lib_consensus so that it can be called by non-server libraries. --- src/validation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/validation.cpp') diff --git a/src/validation.cpp b/src/validation.cpp index ae3985485..88a7ba9fd 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3