orb.lnd.lnd_conf module

Class to parse and manipulate the lnd.conf file

class orb.lnd.lnd_conf.Comment(line)

Bases: object

class orb.lnd.lnd_conf.LNDConf

Bases: object

get(section, key)
get_section(section)
read_file(path)
read_string(st)
to_string()
class orb.lnd.lnd_conf.Section(name)

Bases: object

add(key, value)
add_value(line)
get(key)
set(key, value)
class orb.lnd.lnd_conf.Value(line)

Bases: object

orb.lnd.lnd_conf.is_blank_line(line)
orb.lnd.lnd_conf.is_comment(line)
orb.lnd.lnd_conf.is_section(line)
orb.lnd.lnd_conf.is_value(line)