add socks_decoder, stratum_decoder and session_flags
This commit is contained in:
18
include/stellar/stratum_decoder.h
Normal file
18
include/stellar/stratum_decoder.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <sys/uio.h>
|
||||
|
||||
#define STRATUM_MESSAGE_TOPIC "TOPIC_STRATUM"
|
||||
|
||||
enum cryptocurrency_type
|
||||
{
|
||||
ETH=1,
|
||||
OTHER=2
|
||||
};
|
||||
|
||||
struct stratum_field
|
||||
{
|
||||
enum cryptocurrency_type type;
|
||||
struct iovec mining_pools;
|
||||
struct iovec mining_program;
|
||||
struct iovec mining_subscribe;
|
||||
|
||||
};//message data
|
||||
Reference in New Issue
Block a user