Browse Source

wipe out KVX

Namdak Tonpa 6 years ago
parent
commit
705c9ee9d8
9 changed files with 17 additions and 17 deletions
  1. 1 1
      LICENSE
  2. 7 7
      README.md
  3. 3 3
      index.html
  4. 1 1
      src/kvs.erl
  5. 1 1
      src/layers/kvs_stream.erl
  6. 1 1
      src/stores/kvs_fs.erl
  7. 1 1
      src/stores/kvs_mnesia.erl
  8. 1 1
      src/stores/kvs_rocks.erl
  9. 1 1
      src/stores/kvs_st.erl

+ 1 - 1
LICENSE

@@ -1,4 +1,4 @@
-Copyright (c) 2014-2018 Maxim Sokhatsky <maxim@synrc.com>
+Copyright (c) 2014-2019 Maxim Sokhatsky <maxim@synrc.com>
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above

+ 7 - 7
README.md

@@ -1,6 +1,6 @@
-KVX: Abstract Chain Database
+KVS: Abstract Chain Database
 ============================
-[![Build Status](https://travis-ci.org/synrc/kvx.svg?branch=master)](https://travis-ci.org/synrc/kvx)
+[![Build Status](https://travis-ci.org/synrc/kvs.svg?branch=master)](https://travis-ci.org/synrc/kvs)
 
 Features
 --------
@@ -14,17 +14,17 @@ Usage
 -----
 
 ```
-$ git clone https://github.com/synrc/kvx && cd kvx
-$ open man/kvx.htm
+$ git clone https://github.com/synrc/kvs && cd kvs
+$ open man/kvs.htm
 $ mad com pla rep
-> kvx:join().
+> kvs:join().
 ```
 
 Release Notes
 -------------
 
-[1]. <a href="https://tonpa.guru/stream/2018/2018-11-13%20Новая%20версия%20KVX.htm">2018-11-13 Новая версия KVX 5.11</a><br>
-[2]. <a href="https://tonpa.guru/stream/2019/2019-04-13%20Новая%20версия%20KVX.htm">2019-04-13 Новая версия KVX 6.4</a>
+[1]. <a href="https://tonpa.guru/stream/2018/2018-11-13%20Новая%20версия%20KVS.htm">2018-11-13 Новая версия KVS 5.11</a><br>
+[2]. <a href="https://tonpa.guru/stream/2019/2019-04-13%20Новая%20версия%20KVS.htm">2019-04-13 Новая версия KVS 6.4</a>
 
 Credits
 -------

+ 3 - 3
index.html

@@ -11,7 +11,7 @@
 <body>
 <nav>
     <a href='https://n2o.dev'>DEV</a>
-    <a href='https://kvs.n2o.space' style="background:#ededed;">KVX</a>
+    <a href='https://kvs.n2o.space' style="background:#ededed;">KVS</a>
 </nav>
 <header>
     <a href="https://github.com/synrc/kvx"><img src="https://synrc.space/images/Synrc Neo.svg?v=1"></a>
@@ -31,10 +31,10 @@
                  <li>Extremely compact and battle-tested: 500 LOC.</li>
                  </ul>
             </div>
-            <div>This is an essence and fruit of KVX; the abstract term interface
+            <div>This is an essence and fruit of KVS; the abstract term interface
                  with naive yet productive stream implementation. Useful for simple
                  blockchains, messaging, storage, processing systems, and banking industry.
-                 KVX is used in BPE and BANK applications.</div>
+                 KVS is used in BPE and BANK applications.</div>
         </section>
         <section>
             <h3>MODULES</h3>

+ 1 - 1
src/kvs.erl

@@ -1,7 +1,7 @@
 -module(kvs).
 -behaviour(application).
 -behaviour(supervisor).
--description('KVX Abstract Chain Store').
+-description('KVS Abstract Chain Store').
 -include_lib("stdlib/include/assert.hrl").
 -include("api.hrl").
 -include("metainfo.hrl").

+ 1 - 1
src/layers/kvs_stream.erl

@@ -1,5 +1,5 @@
 -module(kvs_stream).
--description('KVX STREAM LAYER').
+-description('KVS STREAM LAYER').
 -include("kvs.hrl").
 -include("stream.hrl").
 -include("metainfo.hrl").

+ 1 - 1
src/stores/kvs_fs.erl

@@ -7,7 +7,7 @@
 start()    -> ok.
 stop()     -> ok.
 destroy()  -> ok.
-version()  -> {version,"KVX FS"}.
+version()  -> {version,"KVS FS"}.
 dir()      -> [ {table,F} || F <- filelib:wildcard("data/*"), filelib:is_dir(F) ].
 join(_Node) -> filelib:ensure_dir("data/"), initialize(). % should be rsync or smth
 initialize() ->

+ 1 - 1
src/stores/kvs_mnesia.erl

@@ -9,7 +9,7 @@
 start()    -> mnesia:start().
 stop()     -> mnesia:stop().
 destroy()  -> [mnesia:delete_table(T)||{_,T}<-kvs:dir()], mnesia:delete_schema([node()]), ok.
-version()  -> {version,"KVX MNESIA"}.
+version()  -> {version,"KVS MNESIA"}.
 dir()      -> [{table,T}||T<-mnesia:system_info(local_tables)].
 join([])   -> mnesia:start(), mnesia:change_table_copy_type(schema, node(), disc_copies), initialize();
 join(Node) ->

+ 1 - 1
src/stores/kvs_rocks.erl

@@ -9,7 +9,7 @@
 start()    -> ok.
 stop()     -> ok.
 destroy()  -> ok.
-version()  -> {version,"KVX ROCKSDB"}.
+version()  -> {version,"KVS ROCKSDB"}.
 dir()      -> [].
 leave() -> case ref() of [] -> skip; X -> rocksdb:close(X) end.
 join(_) -> application:start(rocksdb),

+ 1 - 1
src/stores/kvs_st.erl

@@ -1,5 +1,5 @@
 -module(kvs_st).
--description('KVX STREAM NATIVE ROCKS').
+-description('KVS STREAM NATIVE ROCKS').
 -include("kvs.hrl").
 -include("stream.hrl").
 -include("metainfo.hrl").