// Config is a struct enumerating the possible command line flags that are used
// to activate specific hodl modes.
//
// NOTE: THESE FLAGS ARE INTENDED FOR TESTING PURPOSES ONLY. ACTIVATING THESE
// FLAGS IN PRODUCTION WILL VIOLATE CRITICAL ASSUMPTIONS MADE BY THIS SOFTWARE.
typeConfigstruct{
ExitSettlebool`long:"exit-settle" description:"Instructs the node to drop ADDs for which it is the exit node, and to not settle back to the sender"`
AddIncomingbool`long:"add-incoming" description:"Instructs the node to drop incoming ADDs before processing them in the incoming link"`
SettleIncomingbool`long:"settle-incoming" description:"Instructs the node to drop incoming SETTLEs before processing them in the incoming link"`
FailIncomingbool`long:"fail-incoming" description:"Instructs the node to drop incoming FAILs before processing them in the incoming link"`
AddOutgoingbool`long:"add-outgoing" description:"Instructs the node to drop outgoing ADDs before applying them to the channel state"`
SettleOutgoingbool`long:"settle-outgoing" description:"Instructs the node to drop outgoing SETTLEs before applying them to the channel state"`
FailOutgoingbool`long:"fail-outgoing" description:"Instructs the node to drop outgoing FAILs before applying them to the channel state"`
Commitbool`long:"commit" description:"Instructs the node to add HTLCs to its local commitment state and to open circuits for any ADDs, but abort before committing the changes"`