aboutsummaryrefslogtreecommitdiff
path: root/config.sh
blob: 3691fc579d1b0ef68705088ee70fbffcb66b0251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export AK_IPFS="$(which ipfs)"
export AK_ROOT=$HOME
export AK_WORKDIR="$AK_ROOT/.arching-kaos"
export AK_CONFIGDIR="$AK_WORKDIR/config"
export AK_BINDIR="$AK_WORKDIR/bin"
export AK_ZBLOCKDIR="$AK_WORKDIR/zblocks"
export AK_BLOCKDIR="$AK_WORKDIR/blocks"
export AK_DATADIR="$AK_WORKDIR/data"
export AK_ARCHIVESDIR="$AK_WORKDIR/archives"
export AK_GENESIS="$AK_CONFIGDIR/genesis"
export AK_GENESISASC="$AK_CONFIGDIR/genesis.asc"
export AK_ZGENESIS="$AK_CONFIGDIR/zgenesis"
export AK_ZGENESISASC="$AK_CONFIGDIR/zgenesisasc"
export AK_ZCHAIN="$AK_CONFIGDIR/zchain"
export AK_ZCHAINASC="$AK_CONFIGDIR/zchain.asc"
export AK_ZZCHAIN="$AK_CONFIGDIR/zzchain"
export AK_ZLIST="$AK_WORKDIR/zlist"
export AK_ZLATEST="$AK_WORKDIR/zlatest"
export AK_LOGSFILE="$AK_WORKDIR/logs"
export AK_GPGHOME="$AK_WORKDIR/keyring"
export AK_FINGERPRINT="$(gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos.kaos -1 | head -n1 | awk '{print $1}')"
export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks"
export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile"
export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile"
export AK_ZPEERSFILE="$AK_WORKDIR/peersFile"
export AK_CACHEDIR="$AK_WORKDIR/cache"