You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* Copyright 2014-2016 Con Kolivas
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
|
|
* Software Foundation; either version 3 of the License, or (at your option)
|
|
|
|
* any later version. See COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef STRATIFIER_H
|
|
|
|
#define STRATIFIER_H
|
|
|
|
|
|
|
|
void parse_remote_txns(ckpool_t *ckp, const json_t *val);
|
|
|
|
#define parse_upstream_txns(ckp, val) parse_remote_txns(ckp, val)
|
|
|
|
void parse_upstream_auth(ckpool_t *ckp, json_t *val);
|
|
|
|
char *stratifier_stats(ckpool_t *ckp, void *data);
|
|
|
|
void stratifier_add_recv(ckpool_t *ckp, json_t *val);
|
|
|
|
void *stratifier(void *arg);
|
|
|
|
|
|
|
|
#endif /* STRATIFIER_H */
|