Built-in stratum server

This commit is contained in:
Duke Leto
2021-07-09 18:47:15 -04:00
parent 98fbd2c0f4
commit 30a6ca4447
6 changed files with 2175 additions and 1 deletions

21
src/stratum.h Normal file
View File

@@ -0,0 +1,21 @@
// Copyright (c) 2021-2021 The Hush developers
// Copyright (c) 2020-2021 The Freicoin Developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef HUSH_STRATUM_H
#define HUSH_STRATUM_H
/** Configure the stratum server. */
bool InitStratumServer();
/** Interrupt the stratum server connections. */
void InterruptStratumServer();
/** Cleanup stratum server network connections and free resources. */
void StopStratumServer();
#endif // HUSH_STRATUM_H
// End of File