aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--ContainerFile4
-rw-r--r--Doxyfile2840
-rw-r--r--INSTALL2
-rwxr-xr-xLICENSE4
-rw-r--r--NETWORKING72
-rw-r--r--README363
-rw-r--r--REQUIREMENTS1
-rw-r--r--SUPPORT16
-rw-r--r--api/config.js2
-rwxr-xr-xapi/index.js19
-rw-r--r--api/lib/akLogMessage/index.js12
-rw-r--r--api/lib/checkIfAllowedIP/index.js9
-rw-r--r--api/lib/storeIncomingIP/index.js8
-rwxr-xr-xapi/make_cache.sh2
-rw-r--r--api/routes/announceZBlock/index.js4
-rw-r--r--api/routes/announceZChain/index.js4
-rw-r--r--api/routes/default/index.js38
-rw-r--r--api/routes/getChunk/index.js16
-rw-r--r--api/routes/getIPFSHash/index.js76
-rw-r--r--api/routes/getInnerIPFSContent/index.js4
-rw-r--r--api/routes/getLeaf/index.js15
-rw-r--r--api/routes/getMap/index.js16
-rw-r--r--api/routes/getNodeInfo/index.js7
-rw-r--r--api/routes/getPeers/index.js4
-rw-r--r--api/routes/getRemoteNodeInfo/index.js45
-rw-r--r--api/routes/getRemotePeers/index.js53
-rw-r--r--api/routes/getSBlock/index.js8
-rw-r--r--api/routes/getZChain/index.js5
-rw-r--r--api/routes/getZblock/index.js66
-rw-r--r--api/routes/showEntriesFile/index.js6
-rw-r--r--api/routes/showNSEntriesFile/index.js6
-rwxr-xr-xapi/tests/announce_zblock.sh8
-rwxr-xr-xapi/tests/announce_zchain_link.sh10
-rwxr-xr-xapi/tests/default_route.sh4
-rwxr-xr-xapi/tests/gathered_zblocks.sh6
-rwxr-xr-xapi/tests/gathered_zchain_zlatest_pairs.sh4
-rwxr-xr-xapi/tests/get_peers.sh3
-rwxr-xr-xapi/tests/latest_known_mined_block.sh4
-rwxr-xr-xapi/tests/node_local_chain.sh4
-rwxr-xr-xapi/tests/node_local_info.sh15
-rwxr-xr-xapi/tests/node_local_zlatest.sh4
-rwxr-xr-xapi/tests/show_mined_block.sh4
-rwxr-xr-xapi/tests/test_all_routes.sh2
-rw-r--r--api/validators/ZblockValidator/index.js4
-rw-r--r--api/validators/ZchainValidator/index.js5
-rwxr-xr-xbin/ak59
-rwxr-xr-xbin/ak-cjdns27
-rwxr-xr-xbin/ak-clean25
-rwxr-xr-xbin/ak-coin27
-rwxr-xr-xbin/ak-config27
-rwxr-xr-xbin/ak-fs45
-rwxr-xr-xbin/ak-get-balances53
-rwxr-xr-xbin/ak-gpg31
-rwxr-xr-xbin/ak-ipfs48
-rwxr-xr-xbin/ak-ipfs-daemon27
-rwxr-xr-xbin/ak-ipfs-starter25
-rwxr-xr-xbin/ak-irc52
-rwxr-xr-xbin/ak-json2bash20
-rwxr-xr-xbin/ak-log26
-rwxr-xr-xbin/ak-maintainance53
-rwxr-xr-xbin/ak-mempool32
-rwxr-xr-xbin/ak-mine28
-rwxr-xr-xbin/ak-network35
-rwxr-xr-xbin/ak-node-info27
-rwxr-xr-xbin/ak-ns61
-rwxr-xr-xbin/ak-pkg59
-rwxr-xr-xbin/ak-profile48
-rwxr-xr-xbin/ak-sblock27
-rwxr-xr-xbin/ak-schain27
-rwxr-xr-xbin/ak-settings27
-rwxr-xr-xbin/ak-sh46
-rwxr-xr-xbin/ak-startup31
-rwxr-xr-xbin/ak-template25
-rwxr-xr-xbin/ak-transactions60
-rwxr-xr-xbin/ak-update20
-rwxr-xr-xbin/ak-wallet48
-rwxr-xr-xbin/ak-yggdrasil55
-rwxr-xr-xbin/ak-zblock27
-rwxr-xr-xbin/ak-zchain30
-rw-r--r--c_implementation/Makefile.am67
-rwxr-xr-xc_implementation/build.sh10
-rwxr-xr-xc_implementation/build_tree/ak_fs_build.sh16
-rwxr-xr-xc_implementation/build_tree/ak_log_build.sh13
-rwxr-xr-xc_implementation/build_tree/ak_logcatter_build.sh7
-rwxr-xr-xc_implementation/build_tree/ak_settings_build.sh11
-rwxr-xr-xc_implementation/build_tree/ak_utils_build.sh7
-rwxr-xr-xc_implementation/build_tree/libsodium_test_build.sh1
-rw-r--r--c_implementation/configure.ac12
-rw-r--r--c_implementation/include/libakdatetime.h14
-rw-r--r--c_implementation/include/libakfs.h434
-rw-r--r--c_implementation/include/libaklog.h27
-rw-r--r--c_implementation/include/libaklogcatter.h6
-rw-r--r--c_implementation/include/libaksettings.h26
-rw-r--r--c_implementation/include/libakutils.h24
-rw-r--r--c_implementation/src/ak_datetime.c70
-rw-r--r--c_implementation/src/ak_fs.c383
-rw-r--r--c_implementation/src/ak_fs_defuse.c98
-rw-r--r--c_implementation/src/ak_fs_main.c51
-rw-r--r--c_implementation/src/ak_fs_map_v3.c213
-rw-r--r--c_implementation/src/ak_fs_map_v4.c8
-rw-r--r--c_implementation/src/ak_fs_maps_v3.c98
-rw-r--r--c_implementation/src/ak_fs_mt.c52
-rw-r--r--c_implementation/src/ak_fs_sha512sum.c221
-rw-r--r--c_implementation/src/ak_log.c246
-rw-r--r--c_implementation/src/ak_log_main.c32
-rw-r--r--c_implementation/src/ak_logcatter.c36
-rw-r--r--c_implementation/src/ak_settings.c153
-rw-r--r--c_implementation/src/ak_utils.c8
-rw-r--r--c_implementation/tests/test_akfs.c307
-rw-r--r--c_implementation/tests/test_akfs_mkdir.c42
-rw-r--r--c_implementation/tests/test_aklog.c78
-rw-r--r--c_implementation/tests/test_aklogcatter.c7
-rw-r--r--c_implementation/tests/test_aklogwrite.c16
-rw-r--r--c_implementation/tests/test_aksettings.c122
-rw-r--r--c_implementation/tests/test_aksettings_read.c23
-rw-r--r--c_implementation/tests/test_akutils.c7
-rw-r--r--c_implementation/tests/test_sha512_string.c70
-rwxr-xr-xconfig.sh11
-rwxr-xr-xfull_test_with_podman.sh2
-rwxr-xr-xgen-changelog.sh2
-rwxr-xr-xinit.sh13
-rwxr-xr-xinstall.sh250
-rwxr-xr-xipfs-check-install-setup-init-update44
-rwxr-xr-xlib/_ak_checks45
-rwxr-xr-xlib/_ak_cjdns64
-rwxr-xr-xlib/_ak_coin24
-rwxr-xr-xlib/_ak_config41
-rwxr-xr-xlib/_ak_datetime46
-rwxr-xr-xlib/_ak_fm31
-rwxr-xr-xlib/_ak_fs653
-rwxr-xr-xlib/_ak_gpg106
-rwxr-xr-xlib/_ak_hash_exchange79
-rwxr-xr-xlib/_ak_html30
-rwxr-xr-xlib/_ak_ipfs176
-rwxr-xr-xlib/_ak_irc10