Skip to content

Commit

Permalink
update port for cosmos server
Browse files Browse the repository at this point in the history
  • Loading branch information
cbonoz committed Apr 8, 2018
1 parent b43370c commit 840aa4c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
cryptogateway/node_modules/
server/node_modules/
server/db.json
server/cosmos.json
6 changes: 3 additions & 3 deletions server/demo_run_once.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ app.use(coins({
'bSQK5GzNyWFJn7s1U5CpcNUZqQpen3BA': 20,
'cSQK5GzNyWFJn7s1U5CpcNUZqQpen3BA':30
}
}))
}));

//If you listen on the port for tendermint and then hit slash, you can get a list of everything you can query from tendermint
app.listen(3000).then(function(appInfo) {
app.listen(3002).then(function(appInfo) {
console.log(appInfo)
fs.writeFileSync('gci_demo.txt',getGCI(appInfo),'utf8')
})
});


//This returns the Glboal Chain Index for the current run
Expand Down
1 change: 1 addition & 0 deletions server/gci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6368bee0078469cf0649950680efbacef6e4f1cdc842bf04b7850a00707a33c3
1 change: 1 addition & 0 deletions server/gci_demo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5af5c2b7bd6d6f4eb59c50a5bbc754bb283068f0a0ed84a8f9e8a5edb66027b6
2 changes: 1 addition & 1 deletion server/test_coin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ app.use(coins({


//If you listen on the port for tendermint and then hit slash, you can get a list of everything you can query from tendermint
app.listen(3000).then(function(appInfo) {
app.listen(3002).then(function(appInfo) {
console.log(appInfo)
fs.writeFileSync('gci.txt',getGCI(appInfo),'utf8')
})
Expand Down
16 changes: 12 additions & 4 deletions server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,17 @@ code-point-at@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"

coins@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/coins/-/coins-2.4.0.tgz#7658dc37dd422ed1cf9d4079ad5ce7c180dd5423"
coins@^2.6.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/coins/-/coins-2.7.0.tgz#e9639f425e87a539df0c41b604794e2f99353fbb"
dependencies:
bs58check "^2.1.1"
clauses "^1.1.2"
json-stable-stringify "^1.0.1"
mkdirp "^0.5.1"
secp256k1 "^3.3.1"
supercop.js "^2.0.1"
user-home "^2.0.0"

combined-stream@1.0.6, combined-stream@~1.0.5:
version "1.0.6"
Expand Down Expand Up @@ -1916,7 +1918,7 @@ options@>=0.0.5:
version "0.0.6"
resolved "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f"

os-homedir@^1.0.1:
os-homedir@^1.0.0, os-homedir@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"

Expand Down Expand Up @@ -2711,6 +2713,12 @@ unzip@^0.1.11:
readable-stream "~1.0.31"
setimmediate ">= 1.0.1 < 2"

user-home@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f"
dependencies:
os-homedir "^1.0.0"

util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
Expand Down

0 comments on commit 840aa4c

Please sign in to comment.