-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from nguyenphuminh/big-rewrite
Big rewrite
- Loading branch information
Showing
25 changed files
with
1,553 additions
and
1,335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"PORT": 5000, | ||
"RPC_PORT": 3000, | ||
"PEERS": [], | ||
"MY_ADDRESS": "ws://localhost:5000", | ||
"PRIVATE_KEY": "", | ||
"ENABLE_MINING": false, | ||
"ENABLE_LOGGING": false, | ||
"ENABLE_RPC": false, | ||
"SYNC_FROM": "", | ||
"ENABLE_CHAIN_REQUEST": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const { startServer } = require("./src/node/server"); | ||
const config = require("./config.json"); | ||
|
||
(async () => { | ||
await startServer(config); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.