Skip to content

Latest commit

 

History

History
169 lines (89 loc) · 3.29 KB

peculium_core_config.md

File metadata and controls

169 lines (89 loc) · 3.29 KB

Module peculium_core_config

Behaviours: gen_server.

Authors: Alexander Færøy (ahf@0x90.dk).

Description


Data Types

Function Index

block_chain_dir/0Get the block chain directory.
block_index_dir/0Get the block index directory.
block_store_dir/0Get the block store directory.
bootstrap/0Bootstrap methods.
cache_size/0Get the cache size in bytes.
data_dir/0Get the configuration directory.
mnesia_dir/0Get the Mnesia directory.
network/0Get the network.
start_link/0Start the configuration server.
use_upnp/0Use UPnP.

Function Details

block_chain_dir/0


block_chain_dir() -> string()



Get the block chain directory.

block_index_dir/0


block_index_dir() -> string()



Get the block index directory.

block_store_dir/0


block_store_dir() -> string()



Get the block store directory.

bootstrap/0


bootstrap() -> [term()]



Bootstrap methods.

cache_size/0


cache_size() -> non_neg_integer()



Get the cache size in bytes.

data_dir/0


data_dir() -> string()



Get the configuration directory.

mnesia_dir/0


mnesia_dir() -> string()



Get the Mnesia directory.

network/0


network() -> network()



Get the network.

start_link/0

start_link() -> any()

Start the configuration server.

use_upnp/0


use_upnp() -> boolean()



Use UPnP.