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
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 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
 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
 $ mad com pla rep
-> kvx:join().
+> kvs:join().
 ```
 ```
 
 
 Release Notes
 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
 Credits
 -------
 -------

+ 3 - 3
index.html

@@ -11,7 +11,7 @@
 <body>
 <body>
 <nav>
 <nav>
     <a href='https://n2o.dev'>DEV</a>
     <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>
 </nav>
 <header>
 <header>
     <a href="https://github.com/synrc/kvx"><img src="https://synrc.space/images/Synrc Neo.svg?v=1"></a>
     <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>
                  <li>Extremely compact and battle-tested: 500 LOC.</li>
                  </ul>
                  </ul>
             </div>
             </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
                  with naive yet productive stream implementation. Useful for simple
                  blockchains, messaging, storage, processing systems, and banking industry.
                  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>
         <section>
         <section>
             <h3>MODULES</h3>
             <h3>MODULES</h3>

+ 1 - 1
src/kvs.erl

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

+ 1 - 1
src/layers/kvs_stream.erl

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

+ 1 - 1
src/stores/kvs_fs.erl

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

+ 1 - 1
src/stores/kvs_mnesia.erl

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

+ 1 - 1
src/stores/kvs_rocks.erl

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

+ 1 - 1
src/stores/kvs_st.erl

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