@@ -5,13 +5,14 @@ module Main where
5
5
import Data.List ((!!) )
6
6
import Data.Maybe (fromJust )
7
7
import Mockable (Production )
8
+ import Node (hoistSendActions )
8
9
import Serokell.Util (sec )
9
10
import System.Wlog (LoggerName , logInfo )
10
11
import Universum
11
12
12
13
import Pos.Binary ()
13
14
import qualified Pos.CLI as CLI
14
- import Pos.Communication (ActionSpec (.. ))
15
+ import Pos.Communication (ActionSpec (.. ), OutSpecs , WorkerSpec , worker )
15
16
import Pos.Constants (isDevelopment , staticSysStart )
16
17
import Pos.Context (getNodeContext , ncUpdateSemaphore )
17
18
import Pos.Crypto (SecretKey , VssKeyPair , keyGen , vssKeyGen )
@@ -27,20 +28,18 @@ import Pos.Ssc.GodTossing (GtParams (..), SscGodTossing,
27
28
genesisDevVssKeyPairs )
28
29
import Pos.Ssc.NistBeacon (SscNistBeacon )
29
30
import Pos.Ssc.SscAlgo (SscAlgo (.. ))
31
+ import Pos.Statistics (getNoStatsT , getStatsMap , runStatsT' )
30
32
import Pos.Types (Timestamp (Timestamp ))
31
33
import Pos.Util (inAssertMode , mappendPair )
32
34
import Pos.Util.BackupPhrase (keysFromPhrase )
33
35
import Pos.Util.UserSecret (UserSecret , peekUserSecret , usPrimKey , usVss ,
34
36
writeUserSecret )
37
+ import Pos.WorkMode (ProductionMode , RawRealMode , StatsMode )
35
38
#ifdef WITH_WEB
36
39
import Pos.Web (serveWebBase , serveWebGT )
37
40
import Pos.WorkMode (WorkMode )
38
41
#ifdef WITH_WALLET
39
- import Node (hoistSendActions )
40
- import Pos.Communication (OutSpecs , WorkerSpec , worker )
41
- import Pos.Statistics (getNoStatsT , getStatsMap , runStatsT' )
42
42
import Pos.Wallet.Web (walletServeWebFull , walletServerOuts )
43
- import Pos.WorkMode (ProductionMode , RawRealMode , StatsMode )
44
43
#endif
45
44
#endif
46
45
0 commit comments