diff --git a/doc/database.md b/doc/database.md index 82a385503999efde42105c36a649565883589639..ca899684d4c984b73dd05f928ceaf979f65ca3e5 100644 --- a/doc/database.md +++ b/doc/database.md @@ -5,7 +5,7 @@ Duniter exploits an SQLite database to store the blockchain and newcoming data. You can easily set it up and explore it with the following steps: 1. [Install your node](./install-a-node.md) -2. Launch Duniter and connect it to an existing currency (for example on `duniter.org` port `8999`) +2. Launch Duniter and connect it to an existing currency (for example on `duniter.org` port `10901`) 3. Shut down Duniter 4. Use your favorite SQLite browser (for example [Sqliteman](http://sqliteman.yarpen.cz/)) and open the file under `~/.config/duniter/duniter_default/duniter.db` diff --git a/docker/Dockerfile b/docker/Dockerfile index 6218444e3dc6c27cd61463a109d1e6f703bf8e62..abdd518c5209033e47dbbbb34e598b0c2ddb961e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /home/duser RUN curl -kL https://raw.githubusercontent.com/duniter/duniter/master/install.sh | bash -EXPOSE 8999 +EXPOSE 10901 ADD go /home/duser/go diff --git a/docker/README.md b/docker/README.md index 6aecbc41eb8b6e527f8ee080afe54afea41d6f22..e9f53fb19127550a9214aa2a50b4e7445021a9f8 100644 --- a/docker/README.md +++ b/docker/README.md @@ -13,7 +13,7 @@ docker build -t="duniter" . Without your indentity ```sh -docker run -p 8999:8999 \ +docker run -p 10901:10901 \ -e "DUNITER_URL=cgeek.fr" -e "DUNITER_PORT=9330" \ -dt duniter ```` @@ -21,7 +21,7 @@ docker run -p 8999:8999 \ With your indentity ```sh -docker run -p 8999:8999 \ +docker run -p 10901:10901 \ -e "DUNITER_URL=cgeek.fr" -e "DUNITER_PORT=9330" \ -e "DUNITER_SALT=<your_key_salt>" -e "DUNITER_PASSWD=<your_passwd>" \ -dt duniter diff --git a/test/integration/documents-currency.js b/test/integration/documents-currency.js index 65c7cf05c508cb00ebb8915f80c5e5483f598bf9..4324a8d1e15556875a6ccc89b1051a9b75089d11 100644 --- a/test/integration/documents-currency.js +++ b/test/integration/documents-currency.js @@ -161,7 +161,7 @@ describe("Document pool currency", function() { it('Peer with wrong currency should be rejected', () => co(function*() { try { - const peer = yield toc2.makePeer(['BASIC_MERKLED_API localhost 8999'], { + const peer = yield toc2.makePeer(['BASIC_MERKLED_API localhost 10901'], { currency: "wrong_currency" }); yield s2.postPeer(peer); diff --git a/test/integration/tools/node.js b/test/integration/tools/node.js index 3d90d172d652d4ebc795cba2b3a9f1ee092e5366..545293678af696d41bf239fab3cc9b0474339e39 100644 --- a/test/integration/tools/node.js +++ b/test/integration/tools/node.js @@ -149,13 +149,13 @@ function Node (dbName, options) { duniter: { config: { onLoading: (conf, program) => co(function*() { - options.port = options.port || 8999; + options.port = options.port || 10901; options.ipv4 = options.ipv4 || "127.0.0.1"; options.ipv6 = options.ipv6 || null; options.remotehost = options.remotehost || null; options.remoteipv4 = options.remoteipv4 || null; options.remoteipv6 = options.remoteipv6 || null; - options.remoteport = options.remoteport || 8999; + options.remoteport = options.remoteport || 10901; const overConf = Configuration.statics.complete(options); _.extend(conf, overConf); })