core-lightning/common/tx_roles.h
niftynei 2618ef10c3 tx_roles: pull up roles, rename
We're going to use these elsewhere/more widely so having them in common
and using a more generic name is a obvious place to start.
2020-10-20 12:50:31 +10:30

13 lines
222 B
C

#ifndef LIGHTNING_COMMON_TX_ROLES_H
#define LIGHTNING_COMMON_TX_ROLES_H
#include "config.h"
#define NUM_TX_ROLES (TX_ACCEPTER + 1)
enum tx_role {
TX_INITIATOR,
TX_ACCEPTER,
};
#endif /* LIGHTNING_COMMON_TX_ROLES_H */